1 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com>
3 * MAINTAINERS: Add Vladimir Prus as MI maintainer.
5 2008-02-19 Joel Brobecker <brobecker@adacore.com>
7 * NEWS: Add entry describing Add support improvements.
9 2008-02-18 Markus Deuling <deuling@de.ibm.com>
11 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
14 2008-02-18 Markus Deuling <deuling@de.ibm.com>
16 * sentinel-frame.c (sentinel_frame_prev_register): Do not call
17 register_offset_hack anymore.
19 * regcache.{c,h} (register_offset_hack): Remove.
21 2008-02-18 Markus Deuling <deuling@de.ibm.com>
23 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
25 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
26 current_gdbarch by gdbarch.
27 (hppa64_hpux_find_global_pointer): Likewise.
28 * hppa-tdep.c (hppa_find_global_pointer): Likewise.
29 (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
32 * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
34 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
36 * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
39 * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
40 replace current_gdbarch by gdbarch.
41 (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
43 2008-02-18 Markus Deuling <deuling@de.ibm.com>
45 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
46 and replace current_gdbarch by gdbarch.
48 (store_register): Update call for exec_one_dummy_insn.
49 (fetch_register, store_register): Update call of regmap.
51 * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
52 parameter and replace current_gdbarch by gdbarch.
54 (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
55 the current architecture. Update call for getregs_supplies and
57 (ppcnbsd_fetch_inferior_registers): Likewise.
59 * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
60 replace current_gdbarch by gdbarch.
61 (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
62 get_regcache_arch to get at the current architecture. Update call for
65 2008-02-18 Markus Deuling <deuling@de.ibm.com>
67 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
70 2008-02-15 Markus Deuling <deuling@de.ibm.com>
72 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
74 2008-02-14 Vladimir Prus <vladimir@codesourcery.com>
76 * NEWS: Mention pending breakpints in MI.
78 2008-02-14 Markus Deuling <deuling@de.ibm.com>
80 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
82 2008-02-13 Markus Deuling <deuling@de.ibm.com>
84 Add script to build and test GDB using enable-targets=all.
86 * gdb_buildall.sh: New file.
88 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
90 * NEWS (New native configurations): Xtensa GNU/Linux.
91 (New targets): Xtensa GNU/Linux.
92 * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
94 (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
95 (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
96 * configure.tgt (xtensa*-*-linux*): New entry.
97 * xtensa-config.c (xtensa_tdep): New variable.
98 (xtensa_config_byte_order, xtensa_config_tdep): Removed.
99 (rmap): Change format based on new macro XTREG.
100 (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
101 * xtensa-linux-nat.c: New.
102 * xtensa-linux-tdep.c: New.
103 * xtensa-xtregs.c: New.
104 * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
105 (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
106 (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
107 (xtensa_register_t): New field coprocessor.
108 (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
109 * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
110 (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
111 Update to handle privileged registers.
112 (xtensa_supply_gregset) Remove exccause and excvaddr registers.
113 (xtensa_push_dummy_call): Set windowstart register correctly.
114 (call0_analyze_prologue): Initialize xtensa_default_isa.
115 (xtensa_derive_tdep): New.
116 (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
117 xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
118 Call xtensa_derive_tdep().
119 * config/xtensa/linux.mh: New.
120 * regformats/reg-xtensa.dat: New.
122 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
124 * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
125 (filenames.h): New include.
126 * Makefile.in (corelow.o): Add dependency for filenames.h.
128 2008-02-08 Doug Evans <dje@google.com>
130 * source.c (find_and_open_source): Always rewrite absolute filenames.
132 2008-02-07 Doug Evans <dje@google.com>
134 * breakpoint.c: #include "hashtab.h".
135 (ambiguous_names_p): New fn.
136 (update_breakpoint_locations): When restoring bp enable status, don't
137 compare function names if any functions have same name.
138 * Makefile.in (breakpoint.o): Add hashtab.h dependency.
140 2008-02-07 Joel Brobecker <brobecker@adacore.com>
142 * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
143 instead of just a VEC*. Update use of SV.
144 (ada_make_symbol_completion_list): Update symbol_completion_add calls.
146 2007-02-07 Joel Brobecker <brobecker@adacore.com>
148 * NEWS: Put all new commands since gdb-6.7 together.
150 2007-02-07 Joel Brobecker <brobecker@adacore.com>
152 * ada-lang.c: #include "vec.h".
153 (struct string_vector, new_string_vector, string_vector_append):
155 (char_ptr): New typedef.
156 (DEF_VEC_P (char_ptr)): New VEC type.
157 (symbol_completion_add): Update profile to take the new VEC type
158 instead of the old string_vector structure. Update code accordingly.
159 (ada_make_symbol_completion_list): Use the new VEC type instead of
160 the old string_vector structure, and update the code accordingly.
161 * Makefile.in (ada-lang.o): Add dependency on vec.h.
163 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
165 * p-exp.y: Set current_type in missing places.
166 (leftdiv_is_integer): New static variable.
167 Typecast right operand of BINOP_DIV to long_double if both operands
170 2008-02-06 Maciej W. Rozycki <macro@mips.com>
172 * remote-mips.c (set_breakpoint): Rename to...
173 (mips_set_breakpoint): ... this.
174 (clear_breakpoint): Rename to...
175 (mips_clear_breakpoint): ... this.
176 (common_breakpoint): Rename to...
177 (mips_common_breakpoint): ... this.
178 (check_lsi_error): Rename to...
179 (mips_check_lsi_error): ... this.
181 2007-02-05 Joel Brobecker <brobecker@adacore.com>
183 * language.h (struct language_defn): Add new field
184 la_make_symbol_completion_list.
185 * symtab.c (default_make_symbol_completion_list): Renames
186 make_symbol_completion_list.
187 (make_symbol_completion_list): New function.
188 * symtab.h (default_make_symbol_completion_list): Add declaration.
189 * langauge.c (unknown_language): Set la_make_symbol_completion_list.
190 (auto_language, local_language): Likewise.
191 * objc-lang.c (objc_language_defn): Likewise.
192 * scm-lang.c (scm_language_defn): Likewise.
193 * m2-lang.c (m2_language_defn): Likewise.
194 * f-lang.c (f_language_defn): Likewise.
195 * jv-lang.c (java_language_defn): Likewise.
196 * p-lang.c (pascal_language_defn): Likewise.
197 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
198 (minimal_language_defn): Likewise.
199 * ada-lang.c (struct string_vector): New structure.
200 (new_string_vector, string_vector_append, ada_unqualified_name)
201 (add_angle_brackets, symbol_completion_match, symbol_completion_add)
202 (ada_make_symbol_completion_list): New functions.
203 (ada_language_defn): Set la_make_symbol_completion_list.
204 * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
205 this function is static.
207 2008-02-05 Kevin Buettner <kevinb@redhat.com>
209 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
210 to account for call site optimizations.
212 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
214 * tracepoint.c (read_actions): Handle end-of-text indicator
215 in action list properly. (Committed by Jim Blandy)
217 2008-02-05 Jim Blandy <jimb@red-bean.com>
219 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
220 pseudoregister, not an internal error.
221 Reported by: Andrzej Zaborowski
223 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
225 * varobj.c (c_value_of_variable): Use xstrdup.
227 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
229 Update stored rendition of varobj value when format changes.
230 * varobj.c (varobj_set_display_format): Recomputed
232 (c_value_of_variable): Return print_value.
234 2008-02-03 Doug Evans <dje@google.com>
236 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
237 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
238 * valops.c (value_one): New function.
239 * value.h (value_one): Declare.
241 Fix argument promotion for binary arithmetic ops for C.
242 * valarith.c (unop_result_type): New fn.
243 (binop_result_type): New fn.
244 (value_binop): Move result type computation to binop_result_type.
245 (value_pos, value_neg, value_complement): Move result type
246 computation to unop_result_type.
249 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
250 Return basetype, fieldno if found. All callers updated.
251 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
253 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
254 * symfile.h (fill_in_vptr_fieldno): Delete.
256 2008-02-02 Doug Evans <dje@google.com>
258 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
260 * typeprint.c (*): Whitespace cleanup.
262 2008-02-02 Mark Kettenis <kettenis@gnu.org>
263 Luis Machado <luisgpm@br.ibm.com>
264 Thiago Jung Bauermann <bauerman@br.ibm.com>
266 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
267 don't fit into registerson the stack the way GCC does.
269 2008-02-01 Joel Brobecker <brobecker@adacore.com>
271 * symtab.c (symbol_set_names): Do not add an entry in the demangling
272 hash table for Ada symbols. Just store the linkage name as is,
273 and leave the demangled_name as NULL.
275 2007-02-01 Joel Brobecker <brobecker@adacore.com>
277 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
279 (new_symbol): Likewise.
281 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
283 * breakpoint.c (break_command_1): Return void.
284 (break_command_really): Return void. Rethrow
285 exceptions instead of returning.
286 (gdb_breakpoint): Remove the error_message parameter.
287 Return void. Rename to set_breakpoint.
288 * gdb.h (gdb_breakpoint): Rename and move to...
289 * breakpoint.h (set_breakpoint): ...here.
290 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
291 event hooks even if exception is thrown. Adjust to
292 gdb_breakpoint interface changes.
295 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
297 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
298 float in both first and second word in the doubleword, to support
301 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
303 Properly rethrow exception. This fixes errors
304 about non-existent functions for -break-insert.
305 * breakpoint.c (break_command_really): Use throw_exception
306 for rethrowing. If rethrowing, don't print the exception.
308 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
310 * NEWS: Mention Decimal Floating Point support.
312 2008-01-31 Joel Brobecker <brobecker@adacore.com>
314 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
315 value type to builtin_type_void_func_ptr.
317 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
319 * s390-tdep.c (is_float_singleton, is_float_like,
320 alignment_of, s390_return_value): Make checks for
321 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
323 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
324 Thiago Jung Bauermann <bauerman@br.ibm.com>
326 * infcmd.c (default_print_registers_info): Also print hex
327 raw contents for TYPE_CODE_DECFLOAT registers.
328 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
329 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
330 (rs6000_register_name): Add support for DFP pseudo-registers.
331 (rs6000_pseudo_register_type): Likewise.
332 rs6000_pseudo_register_reggroup_p): Likewise.
333 (ppc_pseudo_register_read): New function.
334 (ppc_pseudo_register_write): Likewise.
335 (rs6000_pseudo_register_read): Likewise.
336 (rs6000_pseudo_register_write): Likewise.
337 (e500_pseudo_register_read): Move checks to
338 rs6000_pseudo_register_read.
339 (e500_pseudo_register_write): Move checks to
340 rs6000_pseudo_register_write.
341 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
342 rs6000_pseudo_register_read and rs6000_pseudo_register_write
343 in gdbarch if SPE or DFP is available. Adjust gdbarch's
344 num_pseudo_regs to account for DFP pseudo regs.
346 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
348 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
349 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
350 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
351 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
352 e500_pseudo_register_read, e500_pseudo_register_write): Use
353 IS_SPE_PSEUDOREG macro.
354 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
355 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
356 Remove initialization of tdep->ppc_ev31_regnum.
358 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
360 * printcmd.c (print_formatted): Handle references as for unformatted
363 2008-01-30 Joel Brobecker <brobecker@adacore.com>
365 * eval.c (evaluate_subexp_standard): Add handling of user
366 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
368 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
370 * eval.c (evaluate_subexp_standard): Support
373 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
375 * valarith.c (value_binop): Add floating-point BINOP_MIN and
377 For BINOP_EXP, use length and signedness of left operand only for
378 result, as for shifts.
379 For integral operands to BINOP_EXP, use new integer_pow and
380 uinteger_pow functions so as to get full range of results.
381 (integer_pow): New function.
382 (uinteger_pow): New function.
384 2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
386 Use vector for varobj_list_children interface.
387 * gdb/varobj.c (varobj_list_children): Return vector
389 * gdb/varobj.h (varobj_list_children): Adjust
391 (varobj_p): Declare. Declare vector thereof.
392 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
393 for varobj_list_children change.
394 * Makefile.in (varobj_h): Update dependencies.
396 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
398 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
399 TYPE_CODE_DECFLOAT arguments.
400 (ppc64_sysv_abi_push_dummy_call) Likewise.
401 (get_decimal_float_return_value): New function.
402 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
403 values by calling get_decimal_float_return_value.
404 (ppc64_sysv_abi_return_value): Likewise.
406 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
408 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
409 for preprocessor macro information. Formatting changes.
411 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
413 * remote.c (struct remote_state): Add cached_wait_status.
414 (remote_exec_file): New variable.
415 (PACKET_vAttach, PACKET_vRun): New constants.
416 (extended_remote_restart): Do not query for status.
417 (struct start_remote_args): New.
418 (remote_start_remote): Take it as a second argument. Check
419 whether the target is running. Issue an error for non-running
420 non-extended targets. Cache the wait status. Set inferior_ptid
422 (remote_open_1): Prompt to disconnect non-running targets. Make
423 sure the target is marked running. Do not set inferior_ptid here.
424 Update call to remote_start_remote. Do not call remote_check_symbols
425 if the target is not running.
426 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
427 argument. Handle a non-running target.
428 (remote_detach): Use it.
429 (extended_remote_detach): New.
430 (remote_disconnect): Fix typo. Use remoute_mourn_1.
431 (extended_remote_attach_1, extended_remote_attach)
432 (extended_async_remote_attach): New.
433 (remote_vcont_resume): Remove unused variable.
434 (remote_wait, remote_async_wait): Use any cached wait status.
435 (putpkt_binary, getpkt): Clear any cached wait status.
436 (extended_remoute_mourn_1): New.
437 (extended_remote_mourn): Use it.
438 (extended_async_remote_mourn, extended_remote_run): New.
439 (extended_remote_create_inferior_1): New.
440 (extended_remote_create_inferior): Use it.
441 (extended_remote_async_create_inferior): Likewise.
442 (remote_xfer_partial): Skip for non-executing targets.
443 (init_extended_remote_ops): Set to_detach and to_attach.
444 (init_extended_async_remote_ops): Likewise. Use
445 extended_async_remote_mourn.
446 (_initialize_remote): Register vAttach, vRun, and
447 set remote exec-file.
448 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
450 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
452 * Makefile.in (symfile.o): Update.
453 * NEWS: Mention exec tracing support.
454 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
456 * infcmd.c (kill_if_already_running, detach_command)
457 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
458 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
459 (follow_exec): Do not check may_follow_exec. Do not mourn and push
460 targets. Apply the sysroot path to the loaded executable. Use
462 * linux-nat.c (linux_child_follow_fork): Print fork following
464 (kill_wait_callback): Kill again before waiting a second time.
465 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
468 2008-01-29 Joel Brobecker <brobecker@adacore.com>
470 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
472 2008-01-29 Joel Brobecker <brobecker@adacore.com>
474 * nto-tdep.h: Remove #include "defs.h".
475 * nto-tdep.c: Add #include "defs.h".
476 * Makefile.in (nto_tdep_h): Update dependencies.
477 (nto-tdep.o): Likewise.
479 2008-01-29 Joel Brobecker <brobecker@adacore.com>
481 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
483 (proceed, start_remote): Update call to wait_for_inferior.
484 * inferior.h (wait_for_inferior): Update declaration.
485 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
486 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
487 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
488 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
490 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
492 * varobj (adjust_value_for_child_access): Added checking for
493 returned value from gdb_value_ind.
494 (c_describe_child): Likewise.
495 (cplus_describe_child): Fixed a typo.
497 2008-01-29 Jim Blandy <jimb@red-bean.com>
499 * MAINTAINERS: Update my info.
501 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
503 Use multiple locations for hardware watchpoints.
504 This eliminates the need to traverse value chain, doing
505 various checks, in three different places.
507 * breakpoint.h (struct bp_location): New fields
508 lengths and watchpoint_type.
509 (struct breakpoint): Remove the val_chain field.
510 * breakpoint.c (is_hardware_watchpoint): New.
511 (free_valchain): Remove.
512 (update_watchpoint): New.
513 (insert_bp_location): For hardware watchpoint, just
515 (insert_breakpoints): Call update_watchpoint_locations
516 on all watchpoints. If we have failed to insert
517 any location of a hardware watchpoint, remove all inserted
519 (remove_breakpoint): For hardware watchpoints, directly
521 (watchpoints_triggered): Iterate over locations.
522 (bpstat_stop_status): Use only first location of
523 a resource watchpoint.
524 (delete_breakpoint): Don't call free_valchain.
525 (print_one_breakpoint): Don't print all
526 locations for watchpoints.
527 (breakpoint_re_set_one): Use update_watchpoint for
530 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
532 Don't reset watchpoint block on solib load.
534 * breakpoint.c (insert_bp_location): For watchpoints,
536 (breakpoint_re_set_one): Instead of recomputing value
537 and condition for watchpoints, just reset value and
538 let insert_breakpoints/insert_bp_location recompute it.
539 Don't do anything about disabled watchpoint.
541 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
543 * valarith.c (value_binop): Handle unsigned integer
546 2008-01-28 Kevin Buettner <kevinb@redhat.com>
548 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
549 instruction pattern that appears frequently in position
550 independent code. Fix bug in code which looks for "fmov" and
551 backtracks if no "fmov" is found.
553 2008-01-28 Doug Evans <dje@google.com>
555 * dbxread.c (read_dbx_symtab): Fix indentation.
556 Reformat comments to 80 columns.
557 Move local var def closer to only use.
559 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
561 * fork-child.c (SHELL_FILE): Remove #ifndef.
562 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
564 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
566 * i386-tdep.c (i386_skip_noop): New function.
567 (i386_analyze_prologue): Call i386_skip_noop function.
569 2008-01-24 Michael Snyder <msnyder@specifix.com>
571 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
572 * win32-nat.c (win32_xfer_partial): Ditto.
573 * target.c (default_xfer_partial): Minor whitespace adjustment.
575 2008-01-24 Pedro Alves <pedro@codesourcery.com>
577 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
578 strip bit 1 even if pc doesn't point to thumb code.
580 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
582 * remote.c (remote_wait): Handle SIGINT between packets.
583 (remote_async_wait): Likewise.
585 2008-01-23 Vladimir Prus <vladimir@codesourcery.com>
586 Chris Demetriou <cgd@google.com>
588 * thread.c (add_thread_silent): Renamed
590 (print_thread_events): New variable definition.
591 (show_print_thread_events): New function.
592 (_initialize_thread): Add "set print thread-events" and
593 "show print thread-events" commands.
594 (add_thread): Announce new thread.
595 * gdbthread.h (add_thread_silent): Declare.
596 (print_thread_events): New variable declaration.
597 * inf-ttrace.c (inf_ttrace_wait): Don't
598 inform about new thread, as add_thread is always
599 called too, and will take care of that.
600 * infrun.c (handle_inferior_event): Likewise.
601 * procfs.c (procfs_wait): Likewise.
602 * remote.c (remote_currthread): Likewise.
603 * sol-thread.c (sol_thread_wait): Likewise.
604 * win32-nat.c (get_win32_debug_event): Likewise.
605 * linux-thread-db.c (attach_thread): Likewise.
606 Remove the verbose parameter.
607 (check_event): Make detach_thread be verbose
608 only if print_thread_events is set.
609 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
610 about new thread. This is called only from
611 linux-thread-db.c:attach_thread, which will take care.
612 Remove the verbose parameter.
613 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
615 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
617 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
619 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
621 * breakpoint.c (break_command_really): New parameter
623 (break_command_1): Pass 0 as
624 ignore_count to break_command_really.
625 (gdb_breakpoint): Pass ignore_count to
626 break_command_really.
628 2008-01-21 Kevin Buettner <kevinb@redhat.com>
630 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
631 sigcontext struct via pointer.
632 (struct sigframe comment): Update to show new field `psc'.
634 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
636 * infrun.c (handle_inferior_event): If
637 we failed to remove breakpoints, error,
638 don't try to increment PC by hand.
640 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
642 Add NetBSD/hppa target and host support.
644 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
645 (hppabsd_gregset): Move to ...
646 (hppabsd_regset_from_core_section): Rename
647 hppaobsd_regset_from_core_section and move to ...
648 (hppabsd_find_global_pointer): Update comment.
649 (hppabsd_init_abi): Make global. Do not register
650 hppabsd_regset_from_core_section.
651 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
653 (_initialize_hppabsd_tdep): Move to ...
654 * hppaobsd-tdep.c: ... here. New file.
655 * hppnbsd-tdep.c: New file.
656 * hppnbsd-nat.c: New file.
657 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
658 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
659 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
660 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
661 * configure.host (hppa*-*-netbsd*): New entry.
662 * configure.tgt (hppa*-*-netbsd*): New entry.
663 (hppa*-*-openbsd*): Update.
664 * NEWS (New native configuration): Mention NetBSD/hppa.
665 (New targets): Mention NetBSD/hppa.
667 2008-01-18 Markus Deuling <deuling@de.ibm.com>
669 * gdbarch.sh (function_list): Add new property bits_big_endian to
671 * gdbarch.{c,h}: Regenerate.
673 * value.c (struct value): Replace BITS_BIG_ENDIAN by
674 gdbarch_bits_big_endian (comment).
675 (unpack_field_as_long, modify_field): Likewise.
676 * value.h: Likewise (comment).
677 * valops.c (value_slice): Likewise.
678 * valarith.c (value_subscript, value_bit_index): Likewise.
679 * gdbtypes.h (field): Likewise (comment).
680 * eval.c (evaluate_subexp_standard): Likewise.
681 * dwarf2read.c (dwarf2_add_field): Likewise.
682 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
683 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
685 * defs.h (BITS_BIG_ENDIAN): Remove.
687 2008-01-18 Markus Deuling <deuling@de.ibm.com>
689 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
691 * m2-exp.y (yylex): Likewise.
692 * objc-exp.y (yylex): Likewise.
694 * defs.h (DEPRECATED_STREQN): Remove.
696 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
698 * MAINTAINERS: Update my email address.
700 2008-01-17 Jim Blandy <jimb@codesourcery.com>
702 * README: Mention gdbserver/README.
704 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
706 * valarith.c (value_binop): Handle BINOP_INTDIV
707 for unsigned and signed integers.
709 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
711 * s390-tdep.c (s390_gdbarch_init): Set default long double
712 type to 128-bit IEEE quad.
714 2008-01-17 Joel Brobecker <brobecker@adacore.com>
716 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
718 2008-01-16 Mark Kettenis <kettenis@gnu.org>
720 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
722 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
723 * value.c: All callers changed.
725 2008-01-16 Markus Deuling <deuling@de.ibm.com>
727 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
728 DEPRECATED_STREQ by its expression.
729 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
730 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
731 (scan_xcoff_symtab): Likewise.
732 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
733 * f-lang.c (find_common_for_function): Likewise.
734 * objc-exp.y (parse_number): Likewise.
736 * defs.h (DEPRECATED_STREQ): Remove.
738 2008-01-16 Markus Deuling <deuling@de.ibm.com>
740 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
741 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
742 get_frame_arch to get at the current_architecture. Update AM33_MODE
744 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
745 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
747 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
749 2008-01-16 Markus Deuling <deuling@de.ibm.com>
751 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
753 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
755 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
756 current_gdbarch by gdbarch. Update caller.
758 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
759 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
760 the current architecture. Update calls of
761 amd64_native_gregset_supplies_p.
762 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
763 (amd64bsd_store_inferior_registers): Likewise.
765 2008-01-16 Markus Deuling <deuling@de.ibm.com>
767 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
768 Replace current_gdbarch by gdbarch. Update caller.
770 2008-01-16 Markus Deuling <deuling@de.ibm.com>
772 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
773 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
774 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
775 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
776 (stabsect_build_psymtabs): Fix indentation.
778 2008-01-15 Michael Snyder <msnyder@specifix.com>
780 * corelow.c (core_xfer_partial): Comment, cut/paste error.
782 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
784 * win32-nat.c (win32_create_inferior): Restore code calling
785 CloseHandle on ProcessInformation structure.
787 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
789 * configure.ac: Check for void * as 3 argument of ptrace.
790 * configure: regenerate.
792 2008-01-11 Markus Deuling <deuling@de.ibm.com>
794 * alpha-tdep.c (alpha_heuristic_proc_start)
795 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
796 current_gdbarch by gdbarch.
798 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
799 current architecture by frame_info. Update alpha_heuristic_proc_start
802 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
803 get_frame_arch to get at the current architecture by frame_info. Update
804 alpha_sigtramp_register_address call.
806 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
807 current_gdbarch by gdbarch. Update caller.
808 (convert_to_extended, convert_from_extended): Add endianess parameter
809 for comparison. Update caller.
810 (arm_extract_return_value, arm_store_return_value): Use
811 get_regcache_arch to get at the current architecture.
813 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
814 current_gdbarch by gdbarch. Update caller.
815 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
816 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
818 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
819 gdbarch as parameter. Update caller.
820 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
821 current_gdbarch by gdbarch. Update caller.
823 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
824 update caller. Replace current_gdbarch by gdbarch.
826 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
827 the current architecture. Replace current_gdbarch by gdbarch.
828 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
829 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
830 expression. Add gdbarch as parameter and replace current_gdbarch with
832 (M6811_TDEP): Remove.
833 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
835 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
836 current_gdbarch by gdbarch. Update caller.
838 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
840 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
843 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
844 caller. Relace current_gdbarch by gdbarch.
845 (altivec_register_p, spe_register_p): Likewise.
846 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
848 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
849 altivec_register_p and spe_register_p.
851 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
852 caller. Replace current_gdbarch by gdbarch.
853 (score_analyze_prologue): use get_frame_arch to get at the current
856 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
857 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
858 current_gdbarch by gdbarch. Update caller.
859 (sparc_frame_cache): Use get_frame_arch to get at the current
861 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
862 sparc_analyze_prologue.
864 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
867 2008-01-11 Markus Deuling <deuling@de.ibm.com>
869 * exec.c: #include "arch-utils.h"
870 (print_section_info): Use gdbarch_from_bfd to get at the
871 current architecture. Replace current_gdbarch. Fix indention. Replace
872 deprecated_print_address_numeric by paddress.
873 * Makefile.in (exec.o) Add dependency to arch-utils.h.
875 * valprint.c (val_print_string): Replace
876 deprecated_print_address_numeric.
877 * tracepoint.c (trace_mention, scope_info): Likewise.
878 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
879 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
880 (maintenance_check_symtabs): Likewise.
881 * symfile.c (list_overlays_command): Likewise.
882 * stack.c (frame_info, print_block_frame_labels): Likewise.
883 * printcmd.c (print_address, print_address_demangle)
884 (address_info): Likewise.
885 * corefile.c (memory_error): Likewise.
886 * infcmd.c (jump_command): Likewise.
887 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
888 (mention, delete_breakpoint): Likewise.
889 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
890 * dwarf2read.c (dump_die): Likewise.
891 * ada-valprint.c (ada_val_print_1): Likewise.
892 * f-valprint.c (f_val_print): Likewise.
893 * linux-fork.c (info_forks_command): Likewise.
894 * m32r-com.c (m32r_load_section, m32r_load)
895 (m32r_upload_command): Likewise.
897 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
899 2008-01-11 Markus Deuling <deuling@de.ibm.com>
901 * gdbarch.sh (skip_prologue): Add gdbarch
903 * gdbarch.{c,h}: Regenerate.
905 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
906 * amd64-tdep.c (amd64_skip_prologue): Likewise.
907 * avr-tdep.c (avr_skip_prologue): Likewise.
908 * cris-tdep.c (cris_skip_prologue): Likewise.
909 * frv-tdep.c (frv_skip_prologue): Likewise.
910 * h8300-tdep.c (h8300_skip_prologue): Likewise.
911 * hppa-tdep.c (hppa_skip_prologue): Likewise.
912 * i386-tdep.c (i386_skip_prologue): Likewise.
913 * ia64-tdep.c (ia64_skip_prologue): Likewise.
914 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
915 * m32r-tdep.c (m32r_skip_prologue): Likewise.
916 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
917 * m68k-tdep.c (m68k_skip_prologue): Likewise.
918 * m88k-tdep.c (m88k_skip_prologue): Likewise.
919 * mep-tdep.c (mep_skip_prologue): Likewise.
920 * mips-tdep.c (mips_skip_prologue): Likewise.
921 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
922 * mt-tdep.c (mt_skip_prologue): Likewise.
923 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
924 * score-tdep.c (score_skip_prologue): Likewise.
925 * sh64-tdep.c (sh64_skip_prologue): Likewise.
926 * sh-tdep.c (sh_skip_prologue): Likewise.
927 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
928 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
929 * spu-tdep.c (spu_skip_prologue): Likewise.
930 * v850-tdep.c (v850_skip_prologue): Likewise.
931 * vax-tdep.c (vax_skip_prologue): Likewise.
932 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
933 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
935 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
936 current_gdbarch by gdbarch.
937 * m32c-tdep.c (m32c_skip_prologue): Likewise.
938 * s390-tdep.c (s390_skip_prologue): Likewise.
940 2008-01-10 Doug Evans <dje@google.com>
942 * defs.h (struct continuation_arg): Fix typo in comment.
943 * target.c (target_translate_tls_address): Fix comment spelling error.
945 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
947 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
948 (DOUBLEST_SCAN_FORMAT): Likewise.
949 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
950 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
951 * c-exp.y (parse_number): Likewise.
952 * jv-exp.y (parse_number): Likewise.
953 * objc-exp.y (parse_number): Likewise.
954 * p-exp.y (parse_number): Likewise.
956 2008-01-09 Joel Brobecker <brobecker@adacore.com>
958 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
959 (check_typedef): Likewise.
961 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
963 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
964 seen_double_big_d, treat the new H, D, and DD modifiers as length
967 2008-01-08 Joel Brobecker <brobecker@adacore.com>
969 * dwarf2read.c (read_enumeration_type): Add comment.
971 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
973 * config.in: Regenerate.
975 2008-01-08 Joel Brobecker <brobecker@adacore.com>
977 * ada-lang.c (ada_convert_actual): Renames convert_actual.
979 (ada_convert_actuals): Delete.
980 * ada-lang.h (ada_convert_actual): Add declaration.
981 (ada_convert_actuals): Remove declaration.
982 * infcall.c: #include "ada-lang.h".
983 (value_arg_coerce): Add new parameter sp. Update function
984 documetnation. Add handling of Ada function call parameters.
985 * Makefile.in (infcall.o): Update dependencies.
987 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
989 * ada-lang.c (ensure_lval): Fix value lval kind.
990 (convert_actual): Add handling for arguments passed by reference.
992 2008-01-08 Doug Evans <dje@google.com>
994 * dbxread.c (read_dbx_symtab): Fix indentation.
996 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
998 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
999 (valarith.o): Depend on dfp.h.
1000 (valops.o): Likewise.
1001 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1002 (set_decnumber_context): New function.
1003 (decimal_check_errors): Likewise.
1004 (decimal_from_number): Likewise.
1005 (decimal_to_number): Likewise.
1006 (decimal_from_string): Use set_decnumber_context and
1007 decimal_check_errors.
1008 (decimal_from_integral): New function.
1009 (decimal_from_floating): Likewise.
1010 (decimal_to_double): Likewise.
1011 (promote_decimal): Likewise.
1012 (decimal_binop): Likewise.
1013 (decimal_is_zero): Likewise.
1014 (decimal_compare): Likewise.
1015 (decimal_convert): Likewise.
1016 * dfp.h (decimal_from_integral): New prototype.
1017 (decimal_from_floating): Likewise.
1018 (decimal_to_double): Likewise.
1019 (decimal_binop): Likewise.
1020 (decimal_is_zero): Likewise.
1021 (decimal_compare): Likewise.
1022 (decimal_convert): Likewise.
1023 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1024 call to value_from_decfloat.
1025 * valarith.c: Include dfp.h.
1026 (value_args_as_decimal): New function.
1027 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1028 (value_logical_not): Likewise.
1029 (value_equal): Likewise.
1030 (value_less): Likewise.
1031 (value_pos): Likewise.
1032 (value_neg): Formatting fix.
1033 * valops.c: Include dfp.h.
1034 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1035 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1036 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1037 (value_from_decfloat): Remove expect_type argument.
1038 * value.h (value_from_decfloat): Update prototype.
1040 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
1042 Ignore change in name of dynamic linker during
1043 execution on Solaris. This also unbreaks pending breakpoints.
1045 * solist.h (struct target_so_ops): New field same.
1046 * solib-svr4.c (svr4_same): New.
1047 (_initialize_svr4_solib): Register svr4_same.
1048 * solib.c (update_solib_list): Use ops->same, if available.
1050 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
1052 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1053 when using MS-DOS paths.
1055 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1057 * NEWS: Mention --pid and --core command line behaviour changes.
1059 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1061 * main.c (captured_main): Remove 'count' varible and the
1062 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
1063 --pid options were issued simultaneously. If an explicit pid
1064 option was passed, don't fallback to core file. Detect extra
1065 arguments better in the presence of explicit pid or core
1068 2008-01-05 Joel Brobecker <brobecker@adacore.com>
1070 * ada-lang.c (ada_which_variant_applies): Correctly compute
1071 the value of the discriminant when the variant record is packed.
1073 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1075 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1076 that are used to differentiate homonyms.
1078 2008-01-04 Jerome Guitton <guitton@adacore.com>
1080 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1081 when the type is an anonymous pointer type.
1082 (ada_check_typedef): Avoid a seg fault when the type is null.
1083 * ada-typeprint.c (print_array_type): Add support for pointer
1086 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
1088 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1090 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1092 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1093 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1095 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1097 * ada-exp.y (chop_separator): New function.
1098 (write_selectors): Rewrite to re-use chop_separator.
1099 (ada_nget_field_index, get_symbol_field_type): New functions.
1100 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1103 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
1105 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1106 of SYMBOL_VALUE when working with function symbols.
1108 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1110 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1111 expressions. These expressions do not need to be rewriten.
1113 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1115 * dwarf2read.c (read_enumeration_type): Flag type as stub if
1116 the given die is a declaration.
1118 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1120 * ada-lang.c (ada_array_bound_from_type): Make non-static.
1121 Handle properly the case when the index type is an enumerated type.
1122 Do not return the subtype of the bounds type, just return the
1123 bounds type directly - this is not needed and is more consistent
1124 with what we do for arrays when no XA parallel type exists.
1126 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1128 * ada-lang.c (static_unwrap_type): Add forward declaration.
1129 (template_to_static_fixed_type): Fields of dynamic types sometimes
1130 also need to be unwrapped. Take this into account.
1131 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1132 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1133 * ada-typeprint.c (ada_print_type): Get the typename from
1134 the original type, not the base type.
1136 2008-01-03 Jerome Guitton <guitton@adacore.com>
1138 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1139 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1140 Update calls to ada_to_fixed_type.
1141 (ada_template_to_fixed_record_type_1): Ditto, but without looking
1143 (ada_to_fixed_type): Add check_tag parameter; do not look for
1144 tag if null. When looking for a tag, use a fixed record type.
1145 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1146 * ada-valprint.c (printable_val_type, ada_value_print): Update
1147 calls to ada_to_fixed_type.
1149 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
1151 * doublest.c (convert_floatformat_to_doublest): Call
1152 floatformat_to_doublest instead of floatformat_to_double and use
1154 (convert_doublest_to_floatformat): Call floatformat_from_doublest
1155 instead of floatformat_from_double and use DOUBLEST variables.
1157 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
1159 * MAINTAINERS (Write After Approval): Add self.
1161 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1163 * symfile.c (set_initial_language): Make non-static.
1164 * symfile.h (set_initial_language): Add declaration.
1165 * language.c: #include "symfile.h".
1166 (set_language): Call set_initial_language if the frame language
1167 could not be determined.
1169 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
1171 * eval.c (evaluate_subexp_for_address): Provide frame address to
1172 locate_var_value only if it will be needed.
1174 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1178 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1180 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1181 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1182 This is needed to make sure that any other treatment applied
1183 to the resulting value does not fail for spurious reason,
1184 such as trying to take the address of this value.
1186 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1188 * ada-lang.c (ada_value_equal): Dereference reference types when
1191 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
1193 Updated copyright notices for most files.
1195 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
1197 * win32-nat.c (psapi_module_handle): Remove static.
1198 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
1199 return first module found if base_address is zero. Don't initialize
1200 psapi function pointers here. Convert to cygwin paths when
1202 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1203 executable name. Use get_module_name when that fails or when
1205 (_initialize_psapi): New function. Initialize psapi stuff before it is
1206 needed or issue a warning if it is not found. Move psapi_module_handle
1209 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1211 * ada-lang.c (ada_remove_trailing_digits): New function.
1212 (ada_remove_po_subprogram_suffix): New function.
1213 (ada_decode): Improve. Move the description of the algorithm
1214 directly inside the code, instead of in the function global
1217 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1219 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1220 and always print the dereferenced value.
1222 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1224 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1225 of the case where the first argument is a reference.
1226 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1228 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1230 Implement support for Ada interface types.
1232 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1233 (ada_is_ignored_field): Ignore fields that are a dispatch table
1236 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1238 * top.c (print_gdb_version): Update copyright year.
1240 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1242 * ChangeLog-2007: New ChangeLog rotation.
1243 * ChangeLog: Reset for 2008.
1244 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1247 For older changes see ChangeLog-2007.
1253 version-control: never