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