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