1 2008-02-14 Markus Deuling <deuling@de.ibm.com>
3 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
5 2008-02-13 Markus Deuling <deuling@de.ibm.com>
7 Add script to build and test GDB using enable-targets=all.
9 * gdb_buildall.sh: New file.
11 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
13 * NEWS (New native configurations): Xtensa GNU/Linux.
14 (New targets): Xtensa GNU/Linux.
15 * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
17 (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
18 (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
19 * configure.tgt (xtensa*-*-linux*): New entry.
20 * xtensa-config.c (xtensa_tdep): New variable.
21 (xtensa_config_byte_order, xtensa_config_tdep): Removed.
22 (rmap): Change format based on new macro XTREG.
23 (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
24 * xtensa-linux-nat.c: New.
25 * xtensa-linux-tdep.c: New.
26 * xtensa-xtregs.c: New.
27 * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
28 (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
29 (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
30 (xtensa_register_t): New field coprocessor.
31 (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
32 * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
33 (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
34 Update to handle privileged registers.
35 (xtensa_supply_gregset) Remove exccause and excvaddr registers.
36 (xtensa_push_dummy_call): Set windowstart register correctly.
37 (call0_analyze_prologue): Initialize xtensa_default_isa.
38 (xtensa_derive_tdep): New.
39 (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
40 xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
41 Call xtensa_derive_tdep().
42 * config/xtensa/linux.mh: New.
43 * regformats/reg-xtensa.dat: New.
45 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
47 * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
48 (filenames.h): New include.
49 * Makefile.in (corelow.o): Add dependency for filenames.h.
51 2008-02-08 Doug Evans <dje@google.com>
53 * source.c (find_and_open_source): Always rewrite absolute filenames.
55 2008-02-07 Doug Evans <dje@google.com>
57 * breakpoint.c: #include "hashtab.h".
58 (ambiguous_names_p): New fn.
59 (update_breakpoint_locations): When restoring bp enable status, don't
60 compare function names if any functions have same name.
61 * Makefile.in (breakpoint.o): Add hashtab.h dependency.
63 2008-02-07 Joel Brobecker <brobecker@adacore.com>
65 * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
66 instead of just a VEC*. Update use of SV.
67 (ada_make_symbol_completion_list): Update symbol_completion_add calls.
69 2007-02-07 Joel Brobecker <brobecker@adacore.com>
71 * NEWS: Put all new commands since gdb-6.7 together.
73 2007-02-07 Joel Brobecker <brobecker@adacore.com>
75 * ada-lang.c: #include "vec.h".
76 (struct string_vector, new_string_vector, string_vector_append):
78 (char_ptr): New typedef.
79 (DEF_VEC_P (char_ptr)): New VEC type.
80 (symbol_completion_add): Update profile to take the new VEC type
81 instead of the old string_vector structure. Update code accordingly.
82 (ada_make_symbol_completion_list): Use the new VEC type instead of
83 the old string_vector structure, and update the code accordingly.
84 * Makefile.in (ada-lang.o): Add dependency on vec.h.
86 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
88 * p-exp.y: Set current_type in missing places.
89 (leftdiv_is_integer): New static variable.
90 Typecast right operand of BINOP_DIV to long_double if both operands
93 2008-02-06 Maciej W. Rozycki <macro@mips.com>
95 * remote-mips.c (set_breakpoint): Rename to...
96 (mips_set_breakpoint): ... this.
97 (clear_breakpoint): Rename to...
98 (mips_clear_breakpoint): ... this.
99 (common_breakpoint): Rename to...
100 (mips_common_breakpoint): ... this.
101 (check_lsi_error): Rename to...
102 (mips_check_lsi_error): ... this.
104 2007-02-05 Joel Brobecker <brobecker@adacore.com>
106 * language.h (struct language_defn): Add new field
107 la_make_symbol_completion_list.
108 * symtab.c (default_make_symbol_completion_list): Renames
109 make_symbol_completion_list.
110 (make_symbol_completion_list): New function.
111 * symtab.h (default_make_symbol_completion_list): Add declaration.
112 * langauge.c (unknown_language): Set la_make_symbol_completion_list.
113 (auto_language, local_language): Likewise.
114 * objc-lang.c (objc_language_defn): Likewise.
115 * scm-lang.c (scm_language_defn): Likewise.
116 * m2-lang.c (m2_language_defn): Likewise.
117 * f-lang.c (f_language_defn): Likewise.
118 * jv-lang.c (java_language_defn): Likewise.
119 * p-lang.c (pascal_language_defn): Likewise.
120 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
121 (minimal_language_defn): Likewise.
122 * ada-lang.c (struct string_vector): New structure.
123 (new_string_vector, string_vector_append, ada_unqualified_name)
124 (add_angle_brackets, symbol_completion_match, symbol_completion_add)
125 (ada_make_symbol_completion_list): New functions.
126 (ada_language_defn): Set la_make_symbol_completion_list.
127 * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
128 this function is static.
130 2008-02-05 Kevin Buettner <kevinb@redhat.com>
132 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
133 to account for call site optimizations.
135 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
137 * tracepoint.c (read_actions): Handle end-of-text indicator
138 in action list properly. (Committed by Jim Blandy)
140 2008-02-05 Jim Blandy <jimb@red-bean.com>
142 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
143 pseudoregister, not an internal error.
144 Reported by: Andrzej Zaborowski
146 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
148 * varobj.c (c_value_of_variable): Use xstrdup.
150 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
152 Update stored rendition of varobj value when format changes.
153 * varobj.c (varobj_set_display_format): Recomputed
155 (c_value_of_variable): Return print_value.
157 2008-02-03 Doug Evans <dje@google.com>
159 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
160 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
161 * valops.c (value_one): New function.
162 * value.h (value_one): Declare.
164 Fix argument promotion for binary arithmetic ops for C.
165 * valarith.c (unop_result_type): New fn.
166 (binop_result_type): New fn.
167 (value_binop): Move result type computation to binop_result_type.
168 (value_pos, value_neg, value_complement): Move result type
169 computation to unop_result_type.
172 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
173 Return basetype, fieldno if found. All callers updated.
174 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
176 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
177 * symfile.h (fill_in_vptr_fieldno): Delete.
179 2008-02-02 Doug Evans <dje@google.com>
181 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
183 * typeprint.c (*): Whitespace cleanup.
185 2008-02-02 Mark Kettenis <kettenis@gnu.org>
186 Luis Machado <luisgpm@br.ibm.com>
187 Thiago Jung Bauermann <bauerman@br.ibm.com>
189 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
190 don't fit into registerson the stack the way GCC does.
192 2008-02-01 Joel Brobecker <brobecker@adacore.com>
194 * symtab.c (symbol_set_names): Do not add an entry in the demangling
195 hash table for Ada symbols. Just store the linkage name as is,
196 and leave the demangled_name as NULL.
198 2007-02-01 Joel Brobecker <brobecker@adacore.com>
200 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
202 (new_symbol): Likewise.
204 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
206 * breakpoint.c (break_command_1): Return void.
207 (break_command_really): Return void. Rethrow
208 exceptions instead of returning.
209 (gdb_breakpoint): Remove the error_message parameter.
210 Return void. Rename to set_breakpoint.
211 * gdb.h (gdb_breakpoint): Rename and move to...
212 * breakpoint.h (set_breakpoint): ...here.
213 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
214 event hooks even if exception is thrown. Adjust to
215 gdb_breakpoint interface changes.
218 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
220 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
221 float in both first and second word in the doubleword, to support
224 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
226 Properly rethrow exception. This fixes errors
227 about non-existent functions for -break-insert.
228 * breakpoint.c (break_command_really): Use throw_exception
229 for rethrowing. If rethrowing, don't print the exception.
231 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
233 * NEWS: Mention Decimal Floating Point support.
235 2008-01-31 Joel Brobecker <brobecker@adacore.com>
237 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
238 value type to builtin_type_void_func_ptr.
240 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
242 * s390-tdep.c (is_float_singleton, is_float_like,
243 alignment_of, s390_return_value): Make checks for
244 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
246 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
247 Thiago Jung Bauermann <bauerman@br.ibm.com>
249 * infcmd.c (default_print_registers_info): Also print hex
250 raw contents for TYPE_CODE_DECFLOAT registers.
251 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
252 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
253 (rs6000_register_name): Add support for DFP pseudo-registers.
254 (rs6000_pseudo_register_type): Likewise.
255 rs6000_pseudo_register_reggroup_p): Likewise.
256 (ppc_pseudo_register_read): New function.
257 (ppc_pseudo_register_write): Likewise.
258 (rs6000_pseudo_register_read): Likewise.
259 (rs6000_pseudo_register_write): Likewise.
260 (e500_pseudo_register_read): Move checks to
261 rs6000_pseudo_register_read.
262 (e500_pseudo_register_write): Move checks to
263 rs6000_pseudo_register_write.
264 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
265 rs6000_pseudo_register_read and rs6000_pseudo_register_write
266 in gdbarch if SPE or DFP is available. Adjust gdbarch's
267 num_pseudo_regs to account for DFP pseudo regs.
269 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
271 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
272 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
273 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
274 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
275 e500_pseudo_register_read, e500_pseudo_register_write): Use
276 IS_SPE_PSEUDOREG macro.
277 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
278 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
279 Remove initialization of tdep->ppc_ev31_regnum.
281 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
283 * printcmd.c (print_formatted): Handle references as for unformatted
286 2008-01-30 Joel Brobecker <brobecker@adacore.com>
288 * eval.c (evaluate_subexp_standard): Add handling of user
289 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
291 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
293 * eval.c (evaluate_subexp_standard): Support
296 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
298 * valarith.c (value_binop): Add floating-point BINOP_MIN and
300 For BINOP_EXP, use length and signedness of left operand only for
301 result, as for shifts.
302 For integral operands to BINOP_EXP, use new integer_pow and
303 uinteger_pow functions so as to get full range of results.
304 (integer_pow): New function.
305 (uinteger_pow): New function.
307 2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
309 Use vector for varobj_list_children interface.
310 * gdb/varobj.c (varobj_list_children): Return vector
312 * gdb/varobj.h (varobj_list_children): Adjust
314 (varobj_p): Declare. Declare vector thereof.
315 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
316 for varobj_list_children change.
317 * Makefile.in (varobj_h): Update dependencies.
319 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
321 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
322 TYPE_CODE_DECFLOAT arguments.
323 (ppc64_sysv_abi_push_dummy_call) Likewise.
324 (get_decimal_float_return_value): New function.
325 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
326 values by calling get_decimal_float_return_value.
327 (ppc64_sysv_abi_return_value): Likewise.
329 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
331 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
332 for preprocessor macro information. Formatting changes.
334 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
336 * remote.c (struct remote_state): Add cached_wait_status.
337 (remote_exec_file): New variable.
338 (PACKET_vAttach, PACKET_vRun): New constants.
339 (extended_remote_restart): Do not query for status.
340 (struct start_remote_args): New.
341 (remote_start_remote): Take it as a second argument. Check
342 whether the target is running. Issue an error for non-running
343 non-extended targets. Cache the wait status. Set inferior_ptid
345 (remote_open_1): Prompt to disconnect non-running targets. Make
346 sure the target is marked running. Do not set inferior_ptid here.
347 Update call to remote_start_remote. Do not call remote_check_symbols
348 if the target is not running.
349 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
350 argument. Handle a non-running target.
351 (remote_detach): Use it.
352 (extended_remote_detach): New.
353 (remote_disconnect): Fix typo. Use remoute_mourn_1.
354 (extended_remote_attach_1, extended_remote_attach)
355 (extended_async_remote_attach): New.
356 (remote_vcont_resume): Remove unused variable.
357 (remote_wait, remote_async_wait): Use any cached wait status.
358 (putpkt_binary, getpkt): Clear any cached wait status.
359 (extended_remoute_mourn_1): New.
360 (extended_remote_mourn): Use it.
361 (extended_async_remote_mourn, extended_remote_run): New.
362 (extended_remote_create_inferior_1): New.
363 (extended_remote_create_inferior): Use it.
364 (extended_remote_async_create_inferior): Likewise.
365 (remote_xfer_partial): Skip for non-executing targets.
366 (init_extended_remote_ops): Set to_detach and to_attach.
367 (init_extended_async_remote_ops): Likewise. Use
368 extended_async_remote_mourn.
369 (_initialize_remote): Register vAttach, vRun, and
370 set remote exec-file.
371 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
373 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
375 * Makefile.in (symfile.o): Update.
376 * NEWS: Mention exec tracing support.
377 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
379 * infcmd.c (kill_if_already_running, detach_command)
380 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
381 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
382 (follow_exec): Do not check may_follow_exec. Do not mourn and push
383 targets. Apply the sysroot path to the loaded executable. Use
385 * linux-nat.c (linux_child_follow_fork): Print fork following
387 (kill_wait_callback): Kill again before waiting a second time.
388 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
391 2008-01-29 Joel Brobecker <brobecker@adacore.com>
393 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
395 2008-01-29 Joel Brobecker <brobecker@adacore.com>
397 * nto-tdep.h: Remove #include "defs.h".
398 * nto-tdep.c: Add #include "defs.h".
399 * Makefile.in (nto_tdep_h): Update dependencies.
400 (nto-tdep.o): Likewise.
402 2008-01-29 Joel Brobecker <brobecker@adacore.com>
404 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
406 (proceed, start_remote): Update call to wait_for_inferior.
407 * inferior.h (wait_for_inferior): Update declaration.
408 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
409 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
410 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
411 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
413 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
415 * varobj (adjust_value_for_child_access): Added checking for
416 returned value from gdb_value_ind.
417 (c_describe_child): Likewise.
418 (cplus_describe_child): Fixed a typo.
420 2008-01-29 Jim Blandy <jimb@red-bean.com>
422 * MAINTAINERS: Update my info.
424 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
426 Use multiple locations for hardware watchpoints.
427 This eliminates the need to traverse value chain, doing
428 various checks, in three different places.
430 * breakpoint.h (struct bp_location): New fields
431 lengths and watchpoint_type.
432 (struct breakpoint): Remove the val_chain field.
433 * breakpoint.c (is_hardware_watchpoint): New.
434 (free_valchain): Remove.
435 (update_watchpoint): New.
436 (insert_bp_location): For hardware watchpoint, just
438 (insert_breakpoints): Call update_watchpoint_locations
439 on all watchpoints. If we have failed to insert
440 any location of a hardware watchpoint, remove all inserted
442 (remove_breakpoint): For hardware watchpoints, directly
444 (watchpoints_triggered): Iterate over locations.
445 (bpstat_stop_status): Use only first location of
446 a resource watchpoint.
447 (delete_breakpoint): Don't call free_valchain.
448 (print_one_breakpoint): Don't print all
449 locations for watchpoints.
450 (breakpoint_re_set_one): Use update_watchpoint for
453 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
455 Don't reset watchpoint block on solib load.
457 * breakpoint.c (insert_bp_location): For watchpoints,
459 (breakpoint_re_set_one): Instead of recomputing value
460 and condition for watchpoints, just reset value and
461 let insert_breakpoints/insert_bp_location recompute it.
462 Don't do anything about disabled watchpoint.
464 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
466 * valarith.c (value_binop): Handle unsigned integer
469 2008-01-28 Kevin Buettner <kevinb@redhat.com>
471 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
472 instruction pattern that appears frequently in position
473 independent code. Fix bug in code which looks for "fmov" and
474 backtracks if no "fmov" is found.
476 2008-01-28 Doug Evans <dje@google.com>
478 * dbxread.c (read_dbx_symtab): Fix indentation.
479 Reformat comments to 80 columns.
480 Move local var def closer to only use.
482 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
484 * fork-child.c (SHELL_FILE): Remove #ifndef.
485 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
487 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
489 * i386-tdep.c (i386_skip_noop): New function.
490 (i386_analyze_prologue): Call i386_skip_noop function.
492 2008-01-24 Michael Snyder <msnyder@specifix.com>
494 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
495 * win32-nat.c (win32_xfer_partial): Ditto.
496 * target.c (default_xfer_partial): Minor whitespace adjustment.
498 2008-01-24 Pedro Alves <pedro@codesourcery.com>
500 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
501 strip bit 1 even if pc doesn't point to thumb code.
503 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
505 * remote.c (remote_wait): Handle SIGINT between packets.
506 (remote_async_wait): Likewise.
508 2008-01-23 Vladimir Prus <vladimir@codesourcery.com>
509 Chris Demetriou <cgd@google.com>
511 * thread.c (add_thread_silent): Renamed
513 (print_thread_events): New variable definition.
514 (show_print_thread_events): New function.
515 (_initialize_thread): Add "set print thread-events" and
516 "show print thread-events" commands.
517 (add_thread): Announce new thread.
518 * gdbthread.h (add_thread_silent): Declare.
519 (print_thread_events): New variable declaration.
520 * inf-ttrace.c (inf_ttrace_wait): Don't
521 inform about new thread, as add_thread is always
522 called too, and will take care of that.
523 * infrun.c (handle_inferior_event): Likewise.
524 * procfs.c (procfs_wait): Likewise.
525 * remote.c (remote_currthread): Likewise.
526 * sol-thread.c (sol_thread_wait): Likewise.
527 * win32-nat.c (get_win32_debug_event): Likewise.
528 * linux-thread-db.c (attach_thread): Likewise.
529 Remove the verbose parameter.
530 (check_event): Make detach_thread be verbose
531 only if print_thread_events is set.
532 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
533 about new thread. This is called only from
534 linux-thread-db.c:attach_thread, which will take care.
535 Remove the verbose parameter.
536 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
538 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
540 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
542 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
544 * breakpoint.c (break_command_really): New parameter
546 (break_command_1): Pass 0 as
547 ignore_count to break_command_really.
548 (gdb_breakpoint): Pass ignore_count to
549 break_command_really.
551 2008-01-21 Kevin Buettner <kevinb@redhat.com>
553 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
554 sigcontext struct via pointer.
555 (struct sigframe comment): Update to show new field `psc'.
557 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
559 * infrun.c (handle_inferior_event): If
560 we failed to remove breakpoints, error,
561 don't try to increment PC by hand.
563 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
565 Add NetBSD/hppa target and host support.
567 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
568 (hppabsd_gregset): Move to ...
569 (hppabsd_regset_from_core_section): Rename
570 hppaobsd_regset_from_core_section and move to ...
571 (hppabsd_find_global_pointer): Update comment.
572 (hppabsd_init_abi): Make global. Do not register
573 hppabsd_regset_from_core_section.
574 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
576 (_initialize_hppabsd_tdep): Move to ...
577 * hppaobsd-tdep.c: ... here. New file.
578 * hppnbsd-tdep.c: New file.
579 * hppnbsd-nat.c: New file.
580 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
581 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
582 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
583 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
584 * configure.host (hppa*-*-netbsd*): New entry.
585 * configure.tgt (hppa*-*-netbsd*): New entry.
586 (hppa*-*-openbsd*): Update.
587 * NEWS (New native configuration): Mention NetBSD/hppa.
588 (New targets): Mention NetBSD/hppa.
590 2008-01-18 Markus Deuling <deuling@de.ibm.com>
592 * gdbarch.sh (function_list): Add new property bits_big_endian to
594 * gdbarch.{c,h}: Regenerate.
596 * value.c (struct value): Replace BITS_BIG_ENDIAN by
597 gdbarch_bits_big_endian (comment).
598 (unpack_field_as_long, modify_field): Likewise.
599 * value.h: Likewise (comment).
600 * valops.c (value_slice): Likewise.
601 * valarith.c (value_subscript, value_bit_index): Likewise.
602 * gdbtypes.h (field): Likewise (comment).
603 * eval.c (evaluate_subexp_standard): Likewise.
604 * dwarf2read.c (dwarf2_add_field): Likewise.
605 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
606 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
608 * defs.h (BITS_BIG_ENDIAN): Remove.
610 2008-01-18 Markus Deuling <deuling@de.ibm.com>
612 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
614 * m2-exp.y (yylex): Likewise.
615 * objc-exp.y (yylex): Likewise.
617 * defs.h (DEPRECATED_STREQN): Remove.
619 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
621 * MAINTAINERS: Update my email address.
623 2008-01-17 Jim Blandy <jimb@codesourcery.com>
625 * README: Mention gdbserver/README.
627 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
629 * valarith.c (value_binop): Handle BINOP_INTDIV
630 for unsigned and signed integers.
632 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
634 * s390-tdep.c (s390_gdbarch_init): Set default long double
635 type to 128-bit IEEE quad.
637 2008-01-17 Joel Brobecker <brobecker@adacore.com>
639 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
641 2008-01-16 Mark Kettenis <kettenis@gnu.org>
643 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
645 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
646 * value.c: All callers changed.
648 2008-01-16 Markus Deuling <deuling@de.ibm.com>
650 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
651 DEPRECATED_STREQ by its expression.
652 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
653 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
654 (scan_xcoff_symtab): Likewise.
655 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
656 * f-lang.c (find_common_for_function): Likewise.
657 * objc-exp.y (parse_number): Likewise.
659 * defs.h (DEPRECATED_STREQ): Remove.
661 2008-01-16 Markus Deuling <deuling@de.ibm.com>
663 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
664 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
665 get_frame_arch to get at the current_architecture. Update AM33_MODE
667 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
668 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
670 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
672 2008-01-16 Markus Deuling <deuling@de.ibm.com>
674 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
676 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
678 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
679 current_gdbarch by gdbarch. Update caller.
681 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
682 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
683 the current architecture. Update calls of
684 amd64_native_gregset_supplies_p.
685 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
686 (amd64bsd_store_inferior_registers): Likewise.
688 2008-01-16 Markus Deuling <deuling@de.ibm.com>
690 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
691 Replace current_gdbarch by gdbarch. Update caller.
693 2008-01-16 Markus Deuling <deuling@de.ibm.com>
695 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
696 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
697 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
698 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
699 (stabsect_build_psymtabs): Fix indentation.
701 2008-01-15 Michael Snyder <msnyder@specifix.com>
703 * corelow.c (core_xfer_partial): Comment, cut/paste error.
705 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
707 * win32-nat.c (win32_create_inferior): Restore code calling
708 CloseHandle on ProcessInformation structure.
710 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
712 * configure.ac: Check for void * as 3 argument of ptrace.
713 * configure: regenerate.
715 2008-01-11 Markus Deuling <deuling@de.ibm.com>
717 * alpha-tdep.c (alpha_heuristic_proc_start)
718 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
719 current_gdbarch by gdbarch.
721 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
722 current architecture by frame_info. Update alpha_heuristic_proc_start
725 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
726 get_frame_arch to get at the current architecture by frame_info. Update
727 alpha_sigtramp_register_address call.
729 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
730 current_gdbarch by gdbarch. Update caller.
731 (convert_to_extended, convert_from_extended): Add endianess parameter
732 for comparison. Update caller.
733 (arm_extract_return_value, arm_store_return_value): Use
734 get_regcache_arch to get at the current architecture.
736 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
737 current_gdbarch by gdbarch. Update caller.
738 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
739 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
741 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
742 gdbarch as parameter. Update caller.
743 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
744 current_gdbarch by gdbarch. Update caller.
746 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
747 update caller. Replace current_gdbarch by gdbarch.
749 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
750 the current architecture. Replace current_gdbarch by gdbarch.
751 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
752 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
753 expression. Add gdbarch as parameter and replace current_gdbarch with
755 (M6811_TDEP): Remove.
756 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
758 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
759 current_gdbarch by gdbarch. Update caller.
761 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
763 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
766 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
767 caller. Relace current_gdbarch by gdbarch.
768 (altivec_register_p, spe_register_p): Likewise.
769 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
771 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
772 altivec_register_p and spe_register_p.
774 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
775 caller. Replace current_gdbarch by gdbarch.
776 (score_analyze_prologue): use get_frame_arch to get at the current
779 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
780 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
781 current_gdbarch by gdbarch. Update caller.
782 (sparc_frame_cache): Use get_frame_arch to get at the current
784 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
785 sparc_analyze_prologue.
787 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
790 2008-01-11 Markus Deuling <deuling@de.ibm.com>
792 * exec.c: #include "arch-utils.h"
793 (print_section_info): Use gdbarch_from_bfd to get at the
794 current architecture. Replace current_gdbarch. Fix indention. Replace
795 deprecated_print_address_numeric by paddress.
796 * Makefile.in (exec.o) Add dependency to arch-utils.h.
798 * valprint.c (val_print_string): Replace
799 deprecated_print_address_numeric.
800 * tracepoint.c (trace_mention, scope_info): Likewise.
801 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
802 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
803 (maintenance_check_symtabs): Likewise.
804 * symfile.c (list_overlays_command): Likewise.
805 * stack.c (frame_info, print_block_frame_labels): Likewise.
806 * printcmd.c (print_address, print_address_demangle)
807 (address_info): Likewise.
808 * corefile.c (memory_error): Likewise.
809 * infcmd.c (jump_command): Likewise.
810 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
811 (mention, delete_breakpoint): Likewise.
812 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
813 * dwarf2read.c (dump_die): Likewise.
814 * ada-valprint.c (ada_val_print_1): Likewise.
815 * f-valprint.c (f_val_print): Likewise.
816 * linux-fork.c (info_forks_command): Likewise.
817 * m32r-com.c (m32r_load_section, m32r_load)
818 (m32r_upload_command): Likewise.
820 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
822 2008-01-11 Markus Deuling <deuling@de.ibm.com>
824 * gdbarch.sh (skip_prologue): Add gdbarch
826 * gdbarch.{c,h}: Regenerate.
828 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
829 * amd64-tdep.c (amd64_skip_prologue): Likewise.
830 * avr-tdep.c (avr_skip_prologue): Likewise.
831 * cris-tdep.c (cris_skip_prologue): Likewise.
832 * frv-tdep.c (frv_skip_prologue): Likewise.
833 * h8300-tdep.c (h8300_skip_prologue): Likewise.
834 * hppa-tdep.c (hppa_skip_prologue): Likewise.
835 * i386-tdep.c (i386_skip_prologue): Likewise.
836 * ia64-tdep.c (ia64_skip_prologue): Likewise.
837 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
838 * m32r-tdep.c (m32r_skip_prologue): Likewise.
839 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
840 * m68k-tdep.c (m68k_skip_prologue): Likewise.
841 * m88k-tdep.c (m88k_skip_prologue): Likewise.
842 * mep-tdep.c (mep_skip_prologue): Likewise.
843 * mips-tdep.c (mips_skip_prologue): Likewise.
844 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
845 * mt-tdep.c (mt_skip_prologue): Likewise.
846 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
847 * score-tdep.c (score_skip_prologue): Likewise.
848 * sh64-tdep.c (sh64_skip_prologue): Likewise.
849 * sh-tdep.c (sh_skip_prologue): Likewise.
850 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
851 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
852 * spu-tdep.c (spu_skip_prologue): Likewise.
853 * v850-tdep.c (v850_skip_prologue): Likewise.
854 * vax-tdep.c (vax_skip_prologue): Likewise.
855 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
856 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
858 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
859 current_gdbarch by gdbarch.
860 * m32c-tdep.c (m32c_skip_prologue): Likewise.
861 * s390-tdep.c (s390_skip_prologue): Likewise.
863 2008-01-10 Doug Evans <dje@google.com>
865 * defs.h (struct continuation_arg): Fix typo in comment.
866 * target.c (target_translate_tls_address): Fix comment spelling error.
868 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
870 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
871 (DOUBLEST_SCAN_FORMAT): Likewise.
872 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
873 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
874 * c-exp.y (parse_number): Likewise.
875 * jv-exp.y (parse_number): Likewise.
876 * objc-exp.y (parse_number): Likewise.
877 * p-exp.y (parse_number): Likewise.
879 2008-01-09 Joel Brobecker <brobecker@adacore.com>
881 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
882 (check_typedef): Likewise.
884 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
886 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
887 seen_double_big_d, treat the new H, D, and DD modifiers as length
890 2008-01-08 Joel Brobecker <brobecker@adacore.com>
892 * dwarf2read.c (read_enumeration_type): Add comment.
894 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
896 * config.in: Regenerate.
898 2008-01-08 Joel Brobecker <brobecker@adacore.com>
900 * ada-lang.c (ada_convert_actual): Renames convert_actual.
902 (ada_convert_actuals): Delete.
903 * ada-lang.h (ada_convert_actual): Add declaration.
904 (ada_convert_actuals): Remove declaration.
905 * infcall.c: #include "ada-lang.h".
906 (value_arg_coerce): Add new parameter sp. Update function
907 documetnation. Add handling of Ada function call parameters.
908 * Makefile.in (infcall.o): Update dependencies.
910 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
912 * ada-lang.c (ensure_lval): Fix value lval kind.
913 (convert_actual): Add handling for arguments passed by reference.
915 2008-01-08 Doug Evans <dje@google.com>
917 * dbxread.c (read_dbx_symtab): Fix indentation.
919 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
921 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
922 (valarith.o): Depend on dfp.h.
923 (valops.o): Likewise.
924 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
925 (set_decnumber_context): New function.
926 (decimal_check_errors): Likewise.
927 (decimal_from_number): Likewise.
928 (decimal_to_number): Likewise.
929 (decimal_from_string): Use set_decnumber_context and
930 decimal_check_errors.
931 (decimal_from_integral): New function.
932 (decimal_from_floating): Likewise.
933 (decimal_to_double): Likewise.
934 (promote_decimal): Likewise.
935 (decimal_binop): Likewise.
936 (decimal_is_zero): Likewise.
937 (decimal_compare): Likewise.
938 (decimal_convert): Likewise.
939 * dfp.h (decimal_from_integral): New prototype.
940 (decimal_from_floating): Likewise.
941 (decimal_to_double): Likewise.
942 (decimal_binop): Likewise.
943 (decimal_is_zero): Likewise.
944 (decimal_compare): Likewise.
945 (decimal_convert): Likewise.
946 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
947 call to value_from_decfloat.
948 * valarith.c: Include dfp.h.
949 (value_args_as_decimal): New function.
950 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
951 (value_logical_not): Likewise.
952 (value_equal): Likewise.
953 (value_less): Likewise.
954 (value_pos): Likewise.
955 (value_neg): Formatting fix.
956 * valops.c: Include dfp.h.
957 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
958 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
959 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
960 (value_from_decfloat): Remove expect_type argument.
961 * value.h (value_from_decfloat): Update prototype.
963 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
965 Ignore change in name of dynamic linker during
966 execution on Solaris. This also unbreaks pending breakpoints.
968 * solist.h (struct target_so_ops): New field same.
969 * solib-svr4.c (svr4_same): New.
970 (_initialize_svr4_solib): Register svr4_same.
971 * solib.c (update_solib_list): Use ops->same, if available.
973 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
975 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
976 when using MS-DOS paths.
978 2008-01-05 Pedro Alves <pedro@codesourcery.com>
980 * NEWS: Mention --pid and --core command line behaviour changes.
982 2008-01-05 Pedro Alves <pedro@codesourcery.com>
984 * main.c (captured_main): Remove 'count' varible and the
985 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
986 --pid options were issued simultaneously. If an explicit pid
987 option was passed, don't fallback to core file. Detect extra
988 arguments better in the presence of explicit pid or core
991 2008-01-05 Joel Brobecker <brobecker@adacore.com>
993 * ada-lang.c (ada_which_variant_applies): Correctly compute
994 the value of the discriminant when the variant record is packed.
996 2008-01-04 Joel Brobecker <brobecker@adacore.com>
998 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
999 that are used to differentiate homonyms.
1001 2008-01-04 Jerome Guitton <guitton@adacore.com>
1003 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1004 when the type is an anonymous pointer type.
1005 (ada_check_typedef): Avoid a seg fault when the type is null.
1006 * ada-typeprint.c (print_array_type): Add support for pointer
1009 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
1011 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1013 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1015 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1016 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1018 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1020 * ada-exp.y (chop_separator): New function.
1021 (write_selectors): Rewrite to re-use chop_separator.
1022 (ada_nget_field_index, get_symbol_field_type): New functions.
1023 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1026 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
1028 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1029 of SYMBOL_VALUE when working with function symbols.
1031 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1033 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1034 expressions. These expressions do not need to be rewriten.
1036 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1038 * dwarf2read.c (read_enumeration_type): Flag type as stub if
1039 the given die is a declaration.
1041 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1043 * ada-lang.c (ada_array_bound_from_type): Make non-static.
1044 Handle properly the case when the index type is an enumerated type.
1045 Do not return the subtype of the bounds type, just return the
1046 bounds type directly - this is not needed and is more consistent
1047 with what we do for arrays when no XA parallel type exists.
1049 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1051 * ada-lang.c (static_unwrap_type): Add forward declaration.
1052 (template_to_static_fixed_type): Fields of dynamic types sometimes
1053 also need to be unwrapped. Take this into account.
1054 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1055 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1056 * ada-typeprint.c (ada_print_type): Get the typename from
1057 the original type, not the base type.
1059 2008-01-03 Jerome Guitton <guitton@adacore.com>
1061 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1062 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1063 Update calls to ada_to_fixed_type.
1064 (ada_template_to_fixed_record_type_1): Ditto, but without looking
1066 (ada_to_fixed_type): Add check_tag parameter; do not look for
1067 tag if null. When looking for a tag, use a fixed record type.
1068 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1069 * ada-valprint.c (printable_val_type, ada_value_print): Update
1070 calls to ada_to_fixed_type.
1072 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
1074 * doublest.c (convert_floatformat_to_doublest): Call
1075 floatformat_to_doublest instead of floatformat_to_double and use
1077 (convert_doublest_to_floatformat): Call floatformat_from_doublest
1078 instead of floatformat_from_double and use DOUBLEST variables.
1080 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
1082 * MAINTAINERS (Write After Approval): Add self.
1084 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1086 * symfile.c (set_initial_language): Make non-static.
1087 * symfile.h (set_initial_language): Add declaration.
1088 * language.c: #include "symfile.h".
1089 (set_language): Call set_initial_language if the frame language
1090 could not be determined.
1092 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
1094 * eval.c (evaluate_subexp_for_address): Provide frame address to
1095 locate_var_value only if it will be needed.
1097 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1099 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1101 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1103 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1104 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1105 This is needed to make sure that any other treatment applied
1106 to the resulting value does not fail for spurious reason,
1107 such as trying to take the address of this value.
1109 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1111 * ada-lang.c (ada_value_equal): Dereference reference types when
1114 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
1116 Updated copyright notices for most files.
1118 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
1120 * win32-nat.c (psapi_module_handle): Remove static.
1121 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
1122 return first module found if base_address is zero. Don't initialize
1123 psapi function pointers here. Convert to cygwin paths when
1125 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1126 executable name. Use get_module_name when that fails or when
1128 (_initialize_psapi): New function. Initialize psapi stuff before it is
1129 needed or issue a warning if it is not found. Move psapi_module_handle
1132 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1134 * ada-lang.c (ada_remove_trailing_digits): New function.
1135 (ada_remove_po_subprogram_suffix): New function.
1136 (ada_decode): Improve. Move the description of the algorithm
1137 directly inside the code, instead of in the function global
1140 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1142 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1143 and always print the dereferenced value.
1145 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1147 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1148 of the case where the first argument is a reference.
1149 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1151 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1153 Implement support for Ada interface types.
1155 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1156 (ada_is_ignored_field): Ignore fields that are a dispatch table
1159 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1161 * top.c (print_gdb_version): Update copyright year.
1163 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1165 * ChangeLog-2007: New ChangeLog rotation.
1166 * ChangeLog: Reset for 2008.
1167 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1170 For older changes see ChangeLog-2007.
1176 version-control: never