* gdb.texinfo (Multi-Process Mode for gdbserver): Use @kbd for
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
2
3 * eval.c (evaluate_subexp_standard): Support
4 BINOP_INTDIV opcode.
5
6 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7
8 * valarith.c (value_binop): Add floating-point BINOP_MIN and
9 BINOP_MAX cases.
10 For BINOP_EXP, use length and signedness of left operand only for
11 result, as for shifts.
12 For integral operands to BINOP_EXP, use new integer_pow and
13 uinteger_pow functions so as to get full range of results.
14 (integer_pow): New function.
15 (uinteger_pow): New function.
16
17 2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
18
19 Use vector for varobj_list_children interface.
20 * gdb/varobj.c (varobj_list_children): Return vector
21 of varobjs.
22 * gdb/varobj.h (varobj_list_children): Adjust
23 prototype.
24 (varobj_p): Declare. Declare vector thereof.
25 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
26 for varobj_list_children change.
27 * Makefile.in (varobj_h): Update dependencies.
28
29 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
30
31 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
32 TYPE_CODE_DECFLOAT arguments.
33 (ppc64_sysv_abi_push_dummy_call) Likewise.
34 (get_decimal_float_return_value): New function.
35 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
36 values by calling get_decimal_float_return_value.
37 (ppc64_sysv_abi_return_value): Likewise.
38
39 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
40
41 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
42 for preprocessor macro information. Formatting changes.
43
44 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
45
46 * remote.c (struct remote_state): Add cached_wait_status.
47 (remote_exec_file): New variable.
48 (PACKET_vAttach, PACKET_vRun): New constants.
49 (extended_remote_restart): Do not query for status.
50 (struct start_remote_args): New.
51 (remote_start_remote): Take it as a second argument. Check
52 whether the target is running. Issue an error for non-running
53 non-extended targets. Cache the wait status. Set inferior_ptid
54 here.
55 (remote_open_1): Prompt to disconnect non-running targets. Make
56 sure the target is marked running. Do not set inferior_ptid here.
57 Update call to remote_start_remote. Do not call remote_check_symbols
58 if the target is not running.
59 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
60 argument. Handle a non-running target.
61 (remote_detach): Use it.
62 (extended_remote_detach): New.
63 (remote_disconnect): Fix typo. Use remoute_mourn_1.
64 (extended_remote_attach_1, extended_remote_attach)
65 (extended_async_remote_attach): New.
66 (remote_vcont_resume): Remove unused variable.
67 (remote_wait, remote_async_wait): Use any cached wait status.
68 (putpkt_binary, getpkt): Clear any cached wait status.
69 (extended_remoute_mourn_1): New.
70 (extended_remote_mourn): Use it.
71 (extended_async_remote_mourn, extended_remote_run): New.
72 (extended_remote_create_inferior_1): New.
73 (extended_remote_create_inferior): Use it.
74 (extended_remote_async_create_inferior): Likewise.
75 (remote_xfer_partial): Skip for non-executing targets.
76 (init_extended_remote_ops): Set to_detach and to_attach.
77 (init_extended_async_remote_ops): Likewise. Use
78 extended_async_remote_mourn.
79 (_initialize_remote): Register vAttach, vRun, and
80 set remote exec-file.
81 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
82
83 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
84
85 * Makefile.in (symfile.o): Update.
86 * NEWS: Mention exec tracing support.
87 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
88 exec events.
89 * infcmd.c (kill_if_already_running, detach_command)
90 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
91 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
92 (follow_exec): Do not check may_follow_exec. Do not mourn and push
93 targets. Apply the sysroot path to the loaded executable. Use
94 no_shared_libraries.
95 * linux-nat.c (linux_child_follow_fork): Print fork following
96 messages if verbose.
97 (kill_wait_callback): Kill again before waiting a second time.
98 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
99 no_shared_libraries.
100
101 2008-01-29 Joel Brobecker <brobecker@adacore.com>
102
103 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
104
105 2008-01-29 Joel Brobecker <brobecker@adacore.com>
106
107 * nto-tdep.h: Remove #include "defs.h".
108 * nto-tdep.c: Add #include "defs.h".
109 * Makefile.in (nto_tdep_h): Update dependencies.
110 (nto-tdep.o): Likewise.
111
112 2008-01-29 Joel Brobecker <brobecker@adacore.com>
113
114 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
115 and use it.
116 (proceed, start_remote): Update call to wait_for_inferior.
117 * inferior.h (wait_for_inferior): Update declaration.
118 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
119 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
120 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
121 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
122
123 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
124
125 * varobj (adjust_value_for_child_access): Added checking for
126 returned value from gdb_value_ind.
127 (c_describe_child): Likewise.
128 (cplus_describe_child): Fixed a typo.
129
130 2008-01-29 Jim Blandy <jimb@red-bean.com>
131
132 * MAINTAINERS: Update my info.
133
134 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
135
136 Use multiple locations for hardware watchpoints.
137 This eliminates the need to traverse value chain, doing
138 various checks, in three different places.
139
140 * breakpoint.h (struct bp_location): New fields
141 lengths and watchpoint_type.
142 (struct breakpoint): Remove the val_chain field.
143 * breakpoint.c (is_hardware_watchpoint): New.
144 (free_valchain): Remove.
145 (update_watchpoint): New.
146 (insert_bp_location): For hardware watchpoint, just
147 directly insert it.
148 (insert_breakpoints): Call update_watchpoint_locations
149 on all watchpoints. If we have failed to insert
150 any location of a hardware watchpoint, remove all inserted
151 locations.
152 (remove_breakpoint): For hardware watchpoints, directly
153 remove location.
154 (watchpoints_triggered): Iterate over locations.
155 (bpstat_stop_status): Use only first location of
156 a resource watchpoint.
157 (delete_breakpoint): Don't call free_valchain.
158 (print_one_breakpoint): Don't print all
159 locations for watchpoints.
160 (breakpoint_re_set_one): Use update_watchpoint for
161 watchpoints.
162
163 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
164
165 Don't reset watchpoint block on solib load.
166
167 * breakpoint.c (insert_bp_location): For watchpoints,
168 recompute condition.
169 (breakpoint_re_set_one): Instead of recomputing value
170 and condition for watchpoints, just reset value and
171 let insert_breakpoints/insert_bp_location recompute it.
172 Don't do anything about disabled watchpoint.
173
174 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
175
176 * valarith.c (value_binop): Handle unsigned integer
177 division by zero.
178
179 2008-01-28 Kevin Buettner <kevinb@redhat.com>
180
181 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
182 instruction pattern that appears frequently in position
183 independent code. Fix bug in code which looks for "fmov" and
184 backtracks if no "fmov" is found.
185
186 2008-01-28 Doug Evans <dje@google.com>
187
188 * dbxread.c (read_dbx_symtab): Fix indentation.
189 Reformat comments to 80 columns.
190 Move local var def closer to only use.
191
192 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
193
194 * fork-child.c (SHELL_FILE): Remove #ifndef.
195 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
196
197 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
198
199 * i386-tdep.c (i386_skip_noop): New function.
200 (i386_analyze_prologue): Call i386_skip_noop function.
201
202 2008-01-24 Michael Snyder <msnyder@specifix.com>
203
204 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
205 * win32-nat.c (win32_xfer_partial): Ditto.
206 * target.c (default_xfer_partial): Minor whitespace adjustment.
207
208 2008-01-24 Pedro Alves <pedro@codesourcery.com>
209
210 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
211 strip bit 1 even if pc doesn't point to thumb code.
212
213 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
214
215 * remote.c (remote_wait): Handle SIGINT between packets.
216 (remote_async_wait): Likewise.
217
218 2008-01-23 Vladimir Prus <vladimir@codesourcery.com>
219 Chris Demetriou <cgd@google.com>
220
221 * thread.c (add_thread_silent): Renamed
222 from add_thread.
223 (print_thread_events): New variable definition.
224 (show_print_thread_events): New function.
225 (_initialize_thread): Add "set print thread-events" and
226 "show print thread-events" commands.
227 (add_thread): Announce new thread.
228 * gdbthread.h (add_thread_silent): Declare.
229 (print_thread_events): New variable declaration.
230 * inf-ttrace.c (inf_ttrace_wait): Don't
231 inform about new thread, as add_thread is always
232 called too, and will take care of that.
233 * infrun.c (handle_inferior_event): Likewise.
234 * procfs.c (procfs_wait): Likewise.
235 * remote.c (remote_currthread): Likewise.
236 * sol-thread.c (sol_thread_wait): Likewise.
237 * win32-nat.c (get_win32_debug_event): Likewise.
238 * linux-thread-db.c (attach_thread): Likewise.
239 Remove the verbose parameter.
240 (check_event): Make detach_thread be verbose
241 only if print_thread_events is set.
242 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
243 about new thread. This is called only from
244 linux-thread-db.c:attach_thread, which will take care.
245 Remove the verbose parameter.
246 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
247
248 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
249
250 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
251
252 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
253
254 * breakpoint.c (break_command_really): New parameter
255 ignore_count.
256 (break_command_1): Pass 0 as
257 ignore_count to break_command_really.
258 (gdb_breakpoint): Pass ignore_count to
259 break_command_really.
260
261 2008-01-21 Kevin Buettner <kevinb@redhat.com>
262
263 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
264 sigcontext struct via pointer.
265 (struct sigframe comment): Update to show new field `psc'.
266
267 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
268
269 * infrun.c (handle_inferior_event): If
270 we failed to remove breakpoints, error,
271 don't try to increment PC by hand.
272
273 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
274
275 Add NetBSD/hppa target and host support.
276
277 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
278 (hppabsd_gregset): Move to ...
279 (hppabsd_regset_from_core_section): Rename
280 hppaobsd_regset_from_core_section and move to ...
281 (hppabsd_find_global_pointer): Update comment.
282 (hppabsd_init_abi): Make global. Do not register
283 hppabsd_regset_from_core_section.
284 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
285 move to ...
286 (_initialize_hppabsd_tdep): Move to ...
287 * hppaobsd-tdep.c: ... here. New file.
288 * hppnbsd-tdep.c: New file.
289 * hppnbsd-nat.c: New file.
290 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
291 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
292 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
293 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
294 * configure.host (hppa*-*-netbsd*): New entry.
295 * configure.tgt (hppa*-*-netbsd*): New entry.
296 (hppa*-*-openbsd*): Update.
297 * NEWS (New native configuration): Mention NetBSD/hppa.
298 (New targets): Mention NetBSD/hppa.
299
300 2008-01-18 Markus Deuling <deuling@de.ibm.com>
301
302 * gdbarch.sh (function_list): Add new property bits_big_endian to
303 gdbarch structure.
304 * gdbarch.{c,h}: Regenerate.
305
306 * value.c (struct value): Replace BITS_BIG_ENDIAN by
307 gdbarch_bits_big_endian (comment).
308 (unpack_field_as_long, modify_field): Likewise.
309 * value.h: Likewise (comment).
310 * valops.c (value_slice): Likewise.
311 * valarith.c (value_subscript, value_bit_index): Likewise.
312 * gdbtypes.h (field): Likewise (comment).
313 * eval.c (evaluate_subexp_standard): Likewise.
314 * dwarf2read.c (dwarf2_add_field): Likewise.
315 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
316 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
317
318 * defs.h (BITS_BIG_ENDIAN): Remove.
319
320 2008-01-18 Markus Deuling <deuling@de.ibm.com>
321
322 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
323 function calls.
324 * m2-exp.y (yylex): Likewise.
325 * objc-exp.y (yylex): Likewise.
326
327 * defs.h (DEPRECATED_STREQN): Remove.
328
329 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
330
331 * MAINTAINERS: Update my email address.
332
333 2008-01-17 Jim Blandy <jimb@codesourcery.com>
334
335 * README: Mention gdbserver/README.
336
337 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
338
339 * valarith.c (value_binop): Handle BINOP_INTDIV
340 for unsigned and signed integers.
341
342 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
343
344 * s390-tdep.c (s390_gdbarch_init): Set default long double
345 type to 128-bit IEEE quad.
346
347 2008-01-17 Joel Brobecker <brobecker@adacore.com>
348
349 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
350
351 2008-01-16 Mark Kettenis <kettenis@gnu.org>
352
353 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
354
355 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
356 * value.c: All callers changed.
357
358 2008-01-16 Markus Deuling <deuling@de.ibm.com>
359
360 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
361 DEPRECATED_STREQ by its expression.
362 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
363 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
364 (scan_xcoff_symtab): Likewise.
365 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
366 * f-lang.c (find_common_for_function): Likewise.
367 * objc-exp.y (parse_number): Likewise.
368
369 * defs.h (DEPRECATED_STREQ): Remove.
370
371 2008-01-16 Markus Deuling <deuling@de.ibm.com>
372
373 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
374 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
375 get_frame_arch to get at the current_architecture. Update AM33_MODE
376 call.
377 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
378 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
379 architecture.
380 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
381
382 2008-01-16 Markus Deuling <deuling@de.ibm.com>
383
384 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
385 parameter.
386 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
387
388 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
389 current_gdbarch by gdbarch. Update caller.
390
391 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
392 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
393 the current architecture. Update calls of
394 amd64_native_gregset_supplies_p.
395 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
396 (amd64bsd_store_inferior_registers): Likewise.
397
398 2008-01-16 Markus Deuling <deuling@de.ibm.com>
399
400 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
401 Replace current_gdbarch by gdbarch. Update caller.
402
403 2008-01-16 Markus Deuling <deuling@de.ibm.com>
404
405 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
406 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
407 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
408 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
409 (stabsect_build_psymtabs): Fix indentation.
410
411 2008-01-15 Michael Snyder <msnyder@specifix.com>
412
413 * corelow.c (core_xfer_partial): Comment, cut/paste error.
414
415 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
416
417 * win32-nat.c (win32_create_inferior): Restore code calling
418 CloseHandle on ProcessInformation structure.
419
420 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
421
422 * configure.ac: Check for void * as 3 argument of ptrace.
423 * configure: regenerate.
424
425 2008-01-11 Markus Deuling <deuling@de.ibm.com>
426
427 * alpha-tdep.c (alpha_heuristic_proc_start)
428 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
429 current_gdbarch by gdbarch.
430
431 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
432 current architecture by frame_info. Update alpha_heuristic_proc_start
433 call.
434
435 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
436 get_frame_arch to get at the current architecture by frame_info. Update
437 alpha_sigtramp_register_address call.
438
439 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
440 current_gdbarch by gdbarch. Update caller.
441 (convert_to_extended, convert_from_extended): Add endianess parameter
442 for comparison. Update caller.
443 (arm_extract_return_value, arm_store_return_value): Use
444 get_regcache_arch to get at the current architecture.
445
446 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
447 current_gdbarch by gdbarch. Update caller.
448 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
449 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
450
451 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
452 gdbarch as parameter. Update caller.
453 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
454 current_gdbarch by gdbarch. Update caller.
455
456 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
457 update caller. Replace current_gdbarch by gdbarch.
458
459 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
460 the current architecture. Replace current_gdbarch by gdbarch.
461 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
462 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
463 expression. Add gdbarch as parameter and replace current_gdbarch with
464 it. Update caller.
465 (M6811_TDEP): Remove.
466 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
467 architecture.
468 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
469 current_gdbarch by gdbarch. Update caller.
470
471 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
472 update caller.
473 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
474 by gdbarch.
475
476 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
477 caller. Relace current_gdbarch by gdbarch.
478 (altivec_register_p, spe_register_p): Likewise.
479 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
480 parameter.
481 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
482 altivec_register_p and spe_register_p.
483
484 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
485 caller. Replace current_gdbarch by gdbarch.
486 (score_analyze_prologue): use get_frame_arch to get at the current
487 architecture.
488
489 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
490 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
491 current_gdbarch by gdbarch. Update caller.
492 (sparc_frame_cache): Use get_frame_arch to get at the current
493 architecture.
494 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
495 sparc_analyze_prologue.
496
497 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
498 parameter.
499
500 2008-01-11 Markus Deuling <deuling@de.ibm.com>
501
502 * exec.c: #include "arch-utils.h"
503 (print_section_info): Use gdbarch_from_bfd to get at the
504 current architecture. Replace current_gdbarch. Fix indention. Replace
505 deprecated_print_address_numeric by paddress.
506 * Makefile.in (exec.o) Add dependency to arch-utils.h.
507
508 * valprint.c (val_print_string): Replace
509 deprecated_print_address_numeric.
510 * tracepoint.c (trace_mention, scope_info): Likewise.
511 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
512 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
513 (maintenance_check_symtabs): Likewise.
514 * symfile.c (list_overlays_command): Likewise.
515 * stack.c (frame_info, print_block_frame_labels): Likewise.
516 * printcmd.c (print_address, print_address_demangle)
517 (address_info): Likewise.
518 * corefile.c (memory_error): Likewise.
519 * infcmd.c (jump_command): Likewise.
520 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
521 (mention, delete_breakpoint): Likewise.
522 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
523 * dwarf2read.c (dump_die): Likewise.
524 * ada-valprint.c (ada_val_print_1): Likewise.
525 * f-valprint.c (f_val_print): Likewise.
526 * linux-fork.c (info_forks_command): Likewise.
527 * m32r-com.c (m32r_load_section, m32r_load)
528 (m32r_upload_command): Likewise.
529
530 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
531
532 2008-01-11 Markus Deuling <deuling@de.ibm.com>
533
534 * gdbarch.sh (skip_prologue): Add gdbarch
535 as parameter.
536 * gdbarch.{c,h}: Regenerate.
537
538 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
539 * amd64-tdep.c (amd64_skip_prologue): Likewise.
540 * avr-tdep.c (avr_skip_prologue): Likewise.
541 * cris-tdep.c (cris_skip_prologue): Likewise.
542 * frv-tdep.c (frv_skip_prologue): Likewise.
543 * h8300-tdep.c (h8300_skip_prologue): Likewise.
544 * hppa-tdep.c (hppa_skip_prologue): Likewise.
545 * i386-tdep.c (i386_skip_prologue): Likewise.
546 * ia64-tdep.c (ia64_skip_prologue): Likewise.
547 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
548 * m32r-tdep.c (m32r_skip_prologue): Likewise.
549 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
550 * m68k-tdep.c (m68k_skip_prologue): Likewise.
551 * m88k-tdep.c (m88k_skip_prologue): Likewise.
552 * mep-tdep.c (mep_skip_prologue): Likewise.
553 * mips-tdep.c (mips_skip_prologue): Likewise.
554 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
555 * mt-tdep.c (mt_skip_prologue): Likewise.
556 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
557 * score-tdep.c (score_skip_prologue): Likewise.
558 * sh64-tdep.c (sh64_skip_prologue): Likewise.
559 * sh-tdep.c (sh_skip_prologue): Likewise.
560 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
561 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
562 * spu-tdep.c (spu_skip_prologue): Likewise.
563 * v850-tdep.c (v850_skip_prologue): Likewise.
564 * vax-tdep.c (vax_skip_prologue): Likewise.
565 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
566 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
567
568 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
569 current_gdbarch by gdbarch.
570 * m32c-tdep.c (m32c_skip_prologue): Likewise.
571 * s390-tdep.c (s390_skip_prologue): Likewise.
572
573 2008-01-10 Doug Evans <dje@google.com>
574
575 * defs.h (struct continuation_arg): Fix typo in comment.
576 * target.c (target_translate_tls_address): Fix comment spelling error.
577
578 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
579
580 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
581 (DOUBLEST_SCAN_FORMAT): Likewise.
582 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
583 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
584 * c-exp.y (parse_number): Likewise.
585 * jv-exp.y (parse_number): Likewise.
586 * objc-exp.y (parse_number): Likewise.
587 * p-exp.y (parse_number): Likewise.
588
589 2008-01-09 Joel Brobecker <brobecker@adacore.com>
590
591 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
592 (check_typedef): Likewise.
593
594 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
595
596 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
597 seen_double_big_d, treat the new H, D, and DD modifiers as length
598 modifiers.
599
600 2008-01-08 Joel Brobecker <brobecker@adacore.com>
601
602 * dwarf2read.c (read_enumeration_type): Add comment.
603
604 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
605
606 * config.in: Regenerate.
607
608 2008-01-08 Joel Brobecker <brobecker@adacore.com>
609
610 * ada-lang.c (ada_convert_actual): Renames convert_actual.
611 Make non-static.
612 (ada_convert_actuals): Delete.
613 * ada-lang.h (ada_convert_actual): Add declaration.
614 (ada_convert_actuals): Remove declaration.
615 * infcall.c: #include "ada-lang.h".
616 (value_arg_coerce): Add new parameter sp. Update function
617 documetnation. Add handling of Ada function call parameters.
618 * Makefile.in (infcall.o): Update dependencies.
619
620 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
621
622 * ada-lang.c (ensure_lval): Fix value lval kind.
623 (convert_actual): Add handling for arguments passed by reference.
624
625 2008-01-08 Doug Evans <dje@google.com>
626
627 * dbxread.c (read_dbx_symtab): Fix indentation.
628
629 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
630
631 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
632 (valarith.o): Depend on dfp.h.
633 (valops.o): Likewise.
634 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
635 (set_decnumber_context): New function.
636 (decimal_check_errors): Likewise.
637 (decimal_from_number): Likewise.
638 (decimal_to_number): Likewise.
639 (decimal_from_string): Use set_decnumber_context and
640 decimal_check_errors.
641 (decimal_from_integral): New function.
642 (decimal_from_floating): Likewise.
643 (decimal_to_double): Likewise.
644 (promote_decimal): Likewise.
645 (decimal_binop): Likewise.
646 (decimal_is_zero): Likewise.
647 (decimal_compare): Likewise.
648 (decimal_convert): Likewise.
649 * dfp.h (decimal_from_integral): New prototype.
650 (decimal_from_floating): Likewise.
651 (decimal_to_double): Likewise.
652 (decimal_binop): Likewise.
653 (decimal_is_zero): Likewise.
654 (decimal_compare): Likewise.
655 (decimal_convert): Likewise.
656 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
657 call to value_from_decfloat.
658 * valarith.c: Include dfp.h.
659 (value_args_as_decimal): New function.
660 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
661 (value_logical_not): Likewise.
662 (value_equal): Likewise.
663 (value_less): Likewise.
664 (value_pos): Likewise.
665 (value_neg): Formatting fix.
666 * valops.c: Include dfp.h.
667 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
668 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
669 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
670 (value_from_decfloat): Remove expect_type argument.
671 * value.h (value_from_decfloat): Update prototype.
672
673 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
674
675 Ignore change in name of dynamic linker during
676 execution on Solaris. This also unbreaks pending breakpoints.
677
678 * solist.h (struct target_so_ops): New field same.
679 * solib-svr4.c (svr4_same): New.
680 (_initialize_svr4_solib): Register svr4_same.
681 * solib.c (update_solib_list): Use ops->same, if available.
682
683 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
684
685 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
686 when using MS-DOS paths.
687
688 2008-01-05 Pedro Alves <pedro@codesourcery.com>
689
690 * NEWS: Mention --pid and --core command line behaviour changes.
691
692 2008-01-05 Pedro Alves <pedro@codesourcery.com>
693
694 * main.c (captured_main): Remove 'count' varible and the
695 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
696 --pid options were issued simultaneously. If an explicit pid
697 option was passed, don't fallback to core file. Detect extra
698 arguments better in the presence of explicit pid or core
699 arguments.
700
701 2008-01-05 Joel Brobecker <brobecker@adacore.com>
702
703 * ada-lang.c (ada_which_variant_applies): Correctly compute
704 the value of the discriminant when the variant record is packed.
705
706 2008-01-04 Joel Brobecker <brobecker@adacore.com>
707
708 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
709 that are used to differentiate homonyms.
710
711 2008-01-04 Jerome Guitton <guitton@adacore.com>
712
713 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
714 when the type is an anonymous pointer type.
715 (ada_check_typedef): Avoid a seg fault when the type is null.
716 * ada-typeprint.c (print_array_type): Add support for pointer
717 to packed arrays.
718
719 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
720
721 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
722
723 2008-01-04 Joel Brobecker <brobecker@adacore.com>
724
725 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
726 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
727
728 2008-01-04 Joel Brobecker <brobecker@adacore.com>
729
730 * ada-exp.y (chop_separator): New function.
731 (write_selectors): Rewrite to re-use chop_separator.
732 (ada_nget_field_index, get_symbol_field_type): New functions.
733 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
734 expressions.
735
736 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
737
738 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
739 of SYMBOL_VALUE when working with function symbols.
740
741 2008-01-03 Joel Brobecker <brobecker@adacore.com>
742
743 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
744 expressions. These expressions do not need to be rewriten.
745
746 2008-01-03 Joel Brobecker <brobecker@adacore.com>
747
748 * dwarf2read.c (read_enumeration_type): Flag type as stub if
749 the given die is a declaration.
750
751 2008-01-03 Joel Brobecker <brobecker@adacore.com>
752
753 * ada-lang.c (ada_array_bound_from_type): Make non-static.
754 Handle properly the case when the index type is an enumerated type.
755 Do not return the subtype of the bounds type, just return the
756 bounds type directly - this is not needed and is more consistent
757 with what we do for arrays when no XA parallel type exists.
758
759 2008-01-03 Joel Brobecker <brobecker@adacore.com>
760
761 * ada-lang.c (static_unwrap_type): Add forward declaration.
762 (template_to_static_fixed_type): Fields of dynamic types sometimes
763 also need to be unwrapped. Take this into account.
764 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
765 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
766 * ada-typeprint.c (ada_print_type): Get the typename from
767 the original type, not the base type.
768
769 2008-01-03 Jerome Guitton <guitton@adacore.com>
770
771 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
772 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
773 Update calls to ada_to_fixed_type.
774 (ada_template_to_fixed_record_type_1): Ditto, but without looking
775 for the tag.
776 (ada_to_fixed_type): Add check_tag parameter; do not look for
777 tag if null. When looking for a tag, use a fixed record type.
778 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
779 * ada-valprint.c (printable_val_type, ada_value_print): Update
780 calls to ada_to_fixed_type.
781
782 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
783
784 * doublest.c (convert_floatformat_to_doublest): Call
785 floatformat_to_doublest instead of floatformat_to_double and use
786 DOUBLEST variables.
787 (convert_doublest_to_floatformat): Call floatformat_from_doublest
788 instead of floatformat_from_double and use DOUBLEST variables.
789
790 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
791
792 * MAINTAINERS (Write After Approval): Add self.
793
794 2008-01-03 Joel Brobecker <brobecker@adacore.com>
795
796 * symfile.c (set_initial_language): Make non-static.
797 * symfile.h (set_initial_language): Add declaration.
798 * language.c: #include "symfile.h".
799 (set_language): Call set_initial_language if the frame language
800 could not be determined.
801
802 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
803
804 * eval.c (evaluate_subexp_for_address): Provide frame address to
805 locate_var_value only if it will be needed.
806
807 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
808
809 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
810
811 2008-01-02 Joel Brobecker <brobecker@adacore.com>
812
813 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
814 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
815 This is needed to make sure that any other treatment applied
816 to the resulting value does not fail for spurious reason,
817 such as trying to take the address of this value.
818
819 2008-01-02 Joel Brobecker <brobecker@adacore.com>
820
821 * ada-lang.c (ada_value_equal): Dereference reference types when
822 comparing arrays.
823
824 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
825
826 Updated copyright notices for most files.
827
828 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
829
830 * win32-nat.c (psapi_module_handle): Remove static.
831 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
832 return first module found if base_address is zero. Don't initialize
833 psapi function pointers here. Convert to cygwin paths when
834 appropriate.
835 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
836 executable name. Use get_module_name when that fails or when
837 !__CYGWIN__.
838 (_initialize_psapi): New function. Initialize psapi stuff before it is
839 needed or issue a warning if it is not found. Move psapi_module_handle
840 here.
841
842 2008-01-01 Joel Brobecker <brobecker@adacore.com>
843
844 * ada-lang.c (ada_remove_trailing_digits): New function.
845 (ada_remove_po_subprogram_suffix): New function.
846 (ada_decode): Improve. Move the description of the algorithm
847 directly inside the code, instead of in the function global
848 description.
849
850 2008-01-01 Joel Brobecker <brobecker@adacore.com>
851
852 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
853 and always print the dereferenced value.
854
855 2008-01-01 Joel Brobecker <brobecker@adacore.com>
856
857 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
858 of the case where the first argument is a reference.
859 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
860
861 2008-01-01 Joel Brobecker <brobecker@adacore.com>
862
863 Implement support for Ada interface types.
864
865 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
866 (ada_is_ignored_field): Ignore fields that are a dispatch table
867 of a tagged type.
868
869 2008-01-01 Joel Brobecker <brobecker@adacore.com>
870
871 * top.c (print_gdb_version): Update copyright year.
872
873 2008-01-01 Joel Brobecker <brobecker@adacore.com>
874
875 * ChangeLog-2007: New ChangeLog rotation.
876 * ChangeLog: Reset for 2008.
877 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
878 ChangeLog-2007.
879
880 For older changes see ChangeLog-2007.
881 \f
882 Local Variables:
883 mode: change-log
884 left-margin: 8
885 fill-column: 74
886 version-control: never
887 coding: utf-8
888 End:
This page took 0.047014 seconds and 4 git commands to generate.