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