1 2008-03-12 Pedro Alves <pedro@codesourcery.com>
3 * thread.c (add_thread): Use printf_unfiltered to print.
5 2008-02-12 Joel Brobecker <brobecker@gnat.com>
7 * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
8 that is true only on x86-solaris and x86_64-solaris.
9 * procfs.c: Likewise. Move procfs_find_LDT_entry up together
10 with proc_get_LDT_entry.
12 2008-03-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
14 * configure.ac (AC_CHECK_FUNCS): Add check for setsid.
15 * config.in, configure: Regenerate.
16 * fork-child.c (fork_inferior): Call create_tty_session.
17 * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY.
18 (create_tty_session): New function.
19 * terminal.h: Declare create_tty_session.
21 2008-03-12 Alan Modra <amodra@bigpond.net.au>
24 * elfread.c (elf_symtab_read): Make shndx an unsigned int.
25 * mipsread.c: Include elf/internal.h.
26 (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
29 2008-03-11 Markus Deuling <deuling@de.ibm.com>
31 * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch
32 to get at the current architecture and at the target specific vector.
33 Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and
34 remove define of I387_ST0_REGNUM.
36 * amd64-tdep.c (I387_ST0_REGNUM): Remove define.
38 (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to
39 get at the current architecture
40 (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as
43 * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM,
44 I387_NUM_XMM_REGS and I387_MM0_REGNUM.
46 (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM,
47 I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM,
48 (I387_FSTAT_REGNUM): Add target specific vector as parameter.
50 (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get
51 at the target specific vector.
53 (i386_get_longjmp_target): Use get_frame_arch to get at the current
54 architecture. Use gdbarch_tdep to get at the target specific vector.
56 (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and
57 update caller. Use gdbarch_tdep to get at the target specific vector.
59 (i386_register_to_value: Use get_frame_arch to get at the current
62 * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as
65 * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
66 I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM
67 I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR,
68 FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter.
70 (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and
73 (i387_convert_register_p, i387_register_to_value,
74 i387_value_to_register): Update call for i386_fp_regnum_p.
76 * i387-tdep.h: Remove comment.
77 (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define.
78 (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM,
79 I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM,
80 I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM,
81 I387_MXCSR_REGNUM): Add target specific vector as parameter.
83 2008-03-10 Daniel Jacobowitz <dan@codesourcery.com>
85 * Makefile.in (fork-child.o): Update.
86 * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper
87 argument. Gather all gdbserver features together.
88 * fork-child.c (exec_wrapper): New variable.
89 (fork_inferior): Use it.
90 (startup_inferior): Skip an extra trap if using "set exec-wrapper".
91 (unset_exec_wrapper_command, _initialize_fork_child): New.
93 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
95 * source.c (directory_command): Modify the determination of
96 condition of terminal "from_tty".
98 2008-03-10 Matt Rice <ratmice@gmail.com>
100 * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
102 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
104 * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end
105 of the data passing to strtoulst function.
106 (info_spu_signal_command): Likewise.
108 2008-03-08 Vladimir Prus <vladimir@codesourcery.com>
110 * mi/mi-interp.c (mi_command_loop): Remove
113 2008-03-07 Joel Brobecker <brobecker@adacore.com>
115 * remote.c (extended_remote_attach_1): Make local variable pid an int
118 2008-03-07 Joel Brobecker <brobecker@adacore.com>
120 * solib-svr4.c (svr4_same_1): New function, originally extracted
121 from svr4_same and expanded to handle the sparc64 case.
122 (svr4_same): Move up and reimplement using svr4_same_1.
123 (enable_break): Use svr4_same_1 to do shared library name comparisons.
125 2008-03-07 Ramana Radhakrishnan <ramana.r@gmail.com>
127 * MAINTAINERS: Move self to Paper trail.
129 2008-03-05 Daniel Jacobowitz <dan@codesourcery.com>
131 * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
132 * event-loop.c (call_async_signal_handler): New.
133 * event-loop.h (call_async_signal_handler)
134 (gdb_call_async_signal_handler): Declare.
135 (mark_async_signal_handler): Add comments.
136 * event-top.c (handle_sigint): Use gdb_call_async_signal_handler.
137 * mingw-hdep.c (sigint_event, sigint_handler): New.
138 (gdb_select): Use them. Wait for the readline signal handler
140 (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions.
141 * posix-hdep.c (gdb_call_async_signal_handler): New function.
142 * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt):
144 (remote_fileio_ctrl_c_signal_handler): Use
145 gdb_call_async_signal_handler.
146 (initialize_remote_fileio): Initialize sigint_fileio_token.
147 * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do
148 not initialize tokens here.
149 (handle_remote_sigint_twice): Likewise. Reinstall
150 handle_remote_sigint.
151 (async_remote_interrupt_twice): Just call interrupt_query.
152 (cleanup_sigint_signal_handler): Do not delete tokens.
153 (remote_interrupt, remote_interrupt_twice): Use
154 gdb_call_async_signal_handler.
155 (interrupt_query): Reinstall the default signal handler.
156 (_initialize_remote): Initialize tokens here.
158 2008-03-04 Joel Brobecker <brobecker@adacore.com>
160 * features/rs6000/power-core.xml, features/rs6000/power64-core.xml,
161 features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
162 Change the type of the lr register to code_ptr.
163 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
164 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
165 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
166 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
167 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
168 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
169 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate.
171 2008-03-03 James E. Wilson <wilson@tuliptree.org>
173 * MAINTAINERS: Update my email address.
175 2008-03-03 Keith Seitz <keiths@redhat.com>
177 From Dave Murphy <davem@devkitpro.org>:
178 * configure.ac: Set tcl configdir to win under mingw.
179 * configure: Regenerate.
181 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
183 * breakpoint.c (fetch_watchpoint_value): New function.
184 (update_watchpoint): Set and clear val_valid. Use
185 fetch_watchpoint_value. Handle unreadable values on the
186 value chain. Correct check for user-requested array watchpoints.
187 (breakpoint_init_inferior): Clear val_valid.
188 (watchpoint_value_print): New function.
189 (print_it_typical): Use it. Do not free or clear old_val. Print
190 watchpoints even if old_val == NULL.
191 (watchpoint_check): Use fetch_watchpoint_value. Check for values
192 becoming readable or unreadable.
193 (watch_command_1): Use fetch_watchpoint_value. Set val_valid.
194 (do_enable_watchpoint): Likewise.
195 * breakpoint.h (struct breakpoint): Update comment for val. Add
197 * NEWS: Mention watchpoints on inaccessible memory.
199 2007-02-29 Daniel Jacobowitz <dan@codesourcery.com>
201 * Makefile.in (i386-nat.o): Update.
202 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call
203 i386_use_watchpoints.
204 * i386-linux-nat.c (_initialize_i386_linux_nat): Call
205 i386_use_watchpoints.
206 * i386-nat.c (i386_stopped_data_address): Take two arguments.
207 (i386_stopped_by_watchpoint): Update call.
208 (i386_can_use_hw_breakpoint, i386_use_watchpoints): New.
209 * config/i386/nm-i386.h: Conditionalize definitions on
210 ! I386_WATCHPOINTS_IN_TARGET_VECTOR.
211 (i386_use_watchpoints): Declare.
212 (i386_stopped_data_address): Update.
213 * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
214 * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
216 2008-02-29 Joel Brobecker <brobecker@adacore.com>
218 GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
219 * version.in: Bump version to 6.8.50.20080229-cvs.
221 2008-02-28 Markus Deuling <deuling@de.ibm.com>
223 * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING
226 2008-02-28 Tom Tromey <tromey@redhat.com>
228 * infcmd.c (notice_args_read): Print result of get_inferior_args.
230 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
232 * infcmd.c (kill_if_already_running): Make static. Use
233 target_require_runnable.
234 * target.c (target_require_runnable): New.
235 * target.h (target_require_runnable): Declare.
237 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
239 * frame.c (reinit_frame_cache): Only annotate if frames were
242 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
244 * regformats/reg-ppc.dat: Rename "ps" to "msr".
245 * regformats/reg-ppc64.dat: Likewise.
247 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com>
249 * features/Makefile (%.dat): Emit xmltarget statement.
251 * regformats/regdat.sh: Support xmltarget and xmlarch statments.
252 Generate code to set gdbserver_xmltarget in init_registers_${name}.
254 * regformats/arm-with-iwmmxt.dat: Regenerate.
255 * regformats/mips64-linux.dat: Regenerate.
256 * regformats/mips-linux.dat: Regenerate.
257 * regformats/rs6000/powerpc-32.dat: Regenerate.
258 * regformats/rs6000/powerpc-64.dat: Regenerate.
259 * regformats/rs6000/powerpc-e500.dat: Regenerate.
261 * regformats/reg-arm.dat: Add xmlarch statement.
262 * regformats/reg-i386.dat: Likewise.
263 * regformats/reg-i386-linux.dat: Likewise.
264 * regformats/reg-x86-64-linux.dat: Likewise.
265 * regformats/reg-spu.dat: Likewise.
267 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
269 * remote.c (remote_wait, remote_async_wait): Stop if we receive
272 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com>
274 * utils.c (debug_timestamp): New.
275 (vfprintf_unfiltered): Print timestamps if requested.
276 (show_debug_timestamp): New.
277 (initialize_utils): Register "set debug timestamp".
278 * NEWS: Mention "set debug timestamp". Add GDB 6.8 section.
280 2008-02-27 Joel Brobecker <brobecker@adacore.com>
282 * breakpoint.c (skip_prologue_sal): New function.
283 (resolve_sal_pc): Adjust SAL past prologue if the SAL was
284 computed from a line number.
286 2008-02-27 Joel Brobecker <brobecker@adacore.com>
288 * features/rs6000/power-core.xml, features/rs6000/power64-core.xml
289 features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
290 Set PC register type to "code_ptr".
291 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
292 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
293 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
294 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
295 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
296 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
297 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
300 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com>
302 * regformats/regdat.sh: Rename init_registers function in
303 generated file to init_registers_${name}.
305 * regformats/reg-crisv32.dat: Set "name" to crisv32.
306 * regformats/reg-ppc64.dat: Set "name" to ppc64.
307 * regformats/reg-s390x.dat: Set "name" to s390x.
309 2008-02-26 Greg Law <glaw@undo-software.com>
311 * regcache.c (registers_changed): Call reinit_frame_cache.
313 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com>
315 * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o.
316 * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver
317 and svr4_fetch_objfile_link_map.
318 * Makefile.in (sh-linux-tdep.o): Update.
320 2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
322 * amd64-tdep.c (amd64_classify): Add support for decimal float
324 * i386-tdep.c (i386_return_value): Make 128-bit decimal float
325 use the struct return convention.
327 2008-02-26 Nick Roberts <nickrob@snap.net.nz>
329 * breakpoint.c (print_one_breakpoint_location): Revert Enb field
330 to old format. Discard breakpoint address if shared library is
332 (breakpoint_1): Adjust formatting of table header accordingly.
334 2008-02-25 Vladimir Prus <vladimir@codesourcery.com>
336 * remote.c (remote_get_threadlist): If the response
337 is empty, don't try to parse it.
339 2008-02-23 Vladimir Prus <vladimir@codesourcery.com>
341 Unbreak 'target async'.
342 * serial.c (serial_async): Set the
343 handler function before enabling async
346 2008-02-22 Daniel Jacobowitz <dan@codesourcery.com>
348 * solib-svr4.c (enable_break): Convert r_brk to a code address.
350 2008-02-21 Pedro Alves <pedro@codesourcery.com>
352 * remote.c (extended_remote_attach_1): Set attach_flag.
353 (extended_remote_create_inferior_1): Clear attach_flag.
355 2008-02-20 Daniel Jacobowitz <dan@codesourcery.com>
357 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
359 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
360 * solib-svr4.c (solib_svr4_r_brk): New.
361 (open_symbol_file_object, svr4_current_sos): Always check the
363 (svr4_fetch_objfile_link_map): Do not set debug_base.
364 (enable_break): Use r_brk if it is set.
365 (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
366 (svr4_lp64_fetch_link_map_offsets): Likewise.
367 * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
369 2008-02-20 Markus Deuling <deuling@de.ibm.com>
370 Mark Kettenis <kettenis@gnu.org>
372 * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
373 trad_frame_saved_reg.
374 (trad-frame.h): New include.
376 (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
377 instead of frame_obstack_zalloc.
378 (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
380 * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
382 2008-02-20 Markus Deuling <deuling@de.ibm.com>
384 * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
385 from disassemble_info instead of gdbarch_byte_order.
387 * mips-tdep.c (gdb_print_insn_mips): Likewise.
388 * arm-tdep.c (gdb_print_insn_arm): Likewise.
390 2008-02-20 Markus Deuling <deuling@de.ibm.com>
392 * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
393 gdbarch as parameter.
395 * gdbarch.{c,h}: Regenerate.
397 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
399 * mem-break.c (default_memory_insert_breakpoint)
400 (default_memory_remove_breakpoint): Likewise.
401 * target.h (default_memory_remove_breakpoint)
402 (default_memory_insert_breakpoint): Likewise.
404 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
405 parameter. Replace current_gdbarch by gdbarch.
406 * m32r-tdep.c (m32r_memory_insert_breakpoint)
407 (m32r_memory_remove_breakpoint): Likewise.
409 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com>
411 * MAINTAINERS: Add Vladimir Prus as MI maintainer.
413 2008-02-19 Joel Brobecker <brobecker@adacore.com>
415 * NEWS: Add entry describing Add support improvements.
417 2008-02-18 Markus Deuling <deuling@de.ibm.com>
419 * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
422 2008-02-18 Markus Deuling <deuling@de.ibm.com>
424 * sentinel-frame.c (sentinel_frame_prev_register): Do not call
425 register_offset_hack anymore.
427 * regcache.{c,h} (register_offset_hack): Remove.
429 2008-02-18 Markus Deuling <deuling@de.ibm.com>
431 * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
433 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
434 current_gdbarch by gdbarch.
435 (hppa64_hpux_find_global_pointer): Likewise.
436 * hppa-tdep.c (hppa_find_global_pointer): Likewise.
437 (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
440 * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
442 * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
444 * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
447 * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
448 replace current_gdbarch by gdbarch.
449 (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
451 2008-02-18 Markus Deuling <deuling@de.ibm.com>
453 * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
454 and replace current_gdbarch by gdbarch.
456 (store_register): Update call for exec_one_dummy_insn.
457 (fetch_register, store_register): Update call of regmap.
459 * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
460 parameter and replace current_gdbarch by gdbarch.
462 (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
463 the current architecture. Update call for getregs_supplies and
465 (ppcnbsd_fetch_inferior_registers): Likewise.
467 * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
468 replace current_gdbarch by gdbarch.
469 (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
470 get_regcache_arch to get at the current architecture. Update call for
473 2008-02-18 Markus Deuling <deuling@de.ibm.com>
475 * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
478 2008-02-15 Markus Deuling <deuling@de.ibm.com>
480 * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
482 2008-02-14 Vladimir Prus <vladimir@codesourcery.com>
484 * NEWS: Mention pending breakpints in MI.
486 2008-02-14 Markus Deuling <deuling@de.ibm.com>
488 * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
490 2008-02-13 Markus Deuling <deuling@de.ibm.com>
492 Add script to build and test GDB using enable-targets=all.
494 * gdb_buildall.sh: New file.
496 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
498 * NEWS (New native configurations): Xtensa GNU/Linux.
499 (New targets): Xtensa GNU/Linux.
500 * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
502 (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
503 (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
504 * configure.tgt (xtensa*-*-linux*): New entry.
505 * xtensa-config.c (xtensa_tdep): New variable.
506 (xtensa_config_byte_order, xtensa_config_tdep): Removed.
507 (rmap): Change format based on new macro XTREG.
508 (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
509 * xtensa-linux-nat.c: New.
510 * xtensa-linux-tdep.c: New.
511 * xtensa-xtregs.c: New.
512 * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
513 (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
514 (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
515 (xtensa_register_t): New field coprocessor.
516 (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
517 * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
518 (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
519 Update to handle privileged registers.
520 (xtensa_supply_gregset) Remove exccause and excvaddr registers.
521 (xtensa_push_dummy_call): Set windowstart register correctly.
522 (call0_analyze_prologue): Initialize xtensa_default_isa.
523 (xtensa_derive_tdep): New.
524 (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
525 xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
526 Call xtensa_derive_tdep().
527 * config/xtensa/linux.mh: New.
528 * regformats/reg-xtensa.dat: New.
530 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change)
532 * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
533 (filenames.h): New include.
534 * Makefile.in (corelow.o): Add dependency for filenames.h.
536 2008-02-08 Doug Evans <dje@google.com>
538 * source.c (find_and_open_source): Always rewrite absolute filenames.
540 2008-02-07 Doug Evans <dje@google.com>
542 * breakpoint.c: #include "hashtab.h".
543 (ambiguous_names_p): New fn.
544 (update_breakpoint_locations): When restoring bp enable status, don't
545 compare function names if any functions have same name.
546 * Makefile.in (breakpoint.o): Add hashtab.h dependency.
548 2008-02-07 Joel Brobecker <brobecker@adacore.com>
550 * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
551 instead of just a VEC*. Update use of SV.
552 (ada_make_symbol_completion_list): Update symbol_completion_add calls.
554 2007-02-07 Joel Brobecker <brobecker@adacore.com>
556 * NEWS: Put all new commands since gdb-6.7 together.
558 2007-02-07 Joel Brobecker <brobecker@adacore.com>
560 * ada-lang.c: #include "vec.h".
561 (struct string_vector, new_string_vector, string_vector_append):
563 (char_ptr): New typedef.
564 (DEF_VEC_P (char_ptr)): New VEC type.
565 (symbol_completion_add): Update profile to take the new VEC type
566 instead of the old string_vector structure. Update code accordingly.
567 (ada_make_symbol_completion_list): Use the new VEC type instead of
568 the old string_vector structure, and update the code accordingly.
569 * Makefile.in (ada-lang.o): Add dependency on vec.h.
571 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
573 * p-exp.y: Set current_type in missing places.
574 (leftdiv_is_integer): New static variable.
575 Typecast right operand of BINOP_DIV to long_double if both operands
578 2008-02-06 Maciej W. Rozycki <macro@mips.com>
580 * remote-mips.c (set_breakpoint): Rename to...
581 (mips_set_breakpoint): ... this.
582 (clear_breakpoint): Rename to...
583 (mips_clear_breakpoint): ... this.
584 (common_breakpoint): Rename to...
585 (mips_common_breakpoint): ... this.
586 (check_lsi_error): Rename to...
587 (mips_check_lsi_error): ... this.
589 2007-02-05 Joel Brobecker <brobecker@adacore.com>
591 * language.h (struct language_defn): Add new field
592 la_make_symbol_completion_list.
593 * symtab.c (default_make_symbol_completion_list): Renames
594 make_symbol_completion_list.
595 (make_symbol_completion_list): New function.
596 * symtab.h (default_make_symbol_completion_list): Add declaration.
597 * langauge.c (unknown_language): Set la_make_symbol_completion_list.
598 (auto_language, local_language): Likewise.
599 * objc-lang.c (objc_language_defn): Likewise.
600 * scm-lang.c (scm_language_defn): Likewise.
601 * m2-lang.c (m2_language_defn): Likewise.
602 * f-lang.c (f_language_defn): Likewise.
603 * jv-lang.c (java_language_defn): Likewise.
604 * p-lang.c (pascal_language_defn): Likewise.
605 * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
606 (minimal_language_defn): Likewise.
607 * ada-lang.c (struct string_vector): New structure.
608 (new_string_vector, string_vector_append, ada_unqualified_name)
609 (add_angle_brackets, symbol_completion_match, symbol_completion_add)
610 (ada_make_symbol_completion_list): New functions.
611 (ada_language_defn): Set la_make_symbol_completion_list.
612 * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
613 this function is static.
615 2008-02-05 Kevin Buettner <kevinb@redhat.com>
617 * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
618 to account for call site optimizations.
620 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
622 * tracepoint.c (read_actions): Handle end-of-text indicator
623 in action list properly. (Committed by Jim Blandy)
625 2008-02-05 Jim Blandy <jimb@red-bean.com>
627 * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
628 pseudoregister, not an internal error.
629 Reported by: Andrzej Zaborowski
631 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
633 * varobj.c (c_value_of_variable): Use xstrdup.
635 2008-02-04 Vladimir Prus <vladimir@codesourcery.com>
637 Update stored rendition of varobj value when format changes.
638 * varobj.c (varobj_set_display_format): Recomputed
640 (c_value_of_variable): Return print_value.
642 2008-02-03 Doug Evans <dje@google.com>
644 * eval.c (evaluate_subexp_standard): Fix type of result of mixed
645 integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
646 * valops.c (value_one): New function.
647 * value.h (value_one): Declare.
649 Fix argument promotion for binary arithmetic ops for C.
650 * valarith.c (unop_result_type): New fn.
651 (binop_result_type): New fn.
652 (value_binop): Move result type computation to binop_result_type.
653 (value_pos, value_neg, value_complement): Move result type
654 computation to unop_result_type.
657 * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
658 Return basetype, fieldno if found. All callers updated.
659 Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
661 * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
662 * symfile.h (fill_in_vptr_fieldno): Delete.
664 2008-02-02 Doug Evans <dje@google.com>
666 * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
668 * typeprint.c (*): Whitespace cleanup.
670 2008-02-02 Mark Kettenis <kettenis@gnu.org>
671 Luis Machado <luisgpm@br.ibm.com>
672 Thiago Jung Bauermann <bauerman@br.ibm.com>
674 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
675 don't fit into registerson the stack the way GCC does.
677 2008-02-01 Joel Brobecker <brobecker@adacore.com>
679 * symtab.c (symbol_set_names): Do not add an entry in the demangling
680 hash table for Ada symbols. Just store the linkage name as is,
681 and leave the demangled_name as NULL.
683 2007-02-01 Joel Brobecker <brobecker@adacore.com>
685 * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
687 (new_symbol): Likewise.
689 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
691 * breakpoint.c (break_command_1): Return void.
692 (break_command_really): Return void. Rethrow
693 exceptions instead of returning.
694 (gdb_breakpoint): Remove the error_message parameter.
695 Return void. Rename to set_breakpoint.
696 * gdb.h (gdb_breakpoint): Rename and move to...
697 * breakpoint.h (set_breakpoint): ...here.
698 * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
699 event hooks even if exception is thrown. Adjust to
700 gdb_breakpoint interface changes.
703 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com>
705 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
706 float in both first and second word in the doubleword, to support
709 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
711 Properly rethrow exception. This fixes errors
712 about non-existent functions for -break-insert.
713 * breakpoint.c (break_command_really): Use throw_exception
714 for rethrowing. If rethrowing, don't print the exception.
716 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
718 * NEWS: Mention Decimal Floating Point support.
720 2008-01-31 Joel Brobecker <brobecker@adacore.com>
722 * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
723 value type to builtin_type_void_func_ptr.
725 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
727 * s390-tdep.c (is_float_singleton, is_float_like,
728 alignment_of, s390_return_value): Make checks for
729 TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
731 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
732 Thiago Jung Bauermann <bauerman@br.ibm.com>
734 * infcmd.c (default_print_registers_info): Also print hex
735 raw contents for TYPE_CODE_DECFLOAT registers.
736 * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
737 * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
738 (rs6000_register_name): Add support for DFP pseudo-registers.
739 (rs6000_pseudo_register_type): Likewise.
740 rs6000_pseudo_register_reggroup_p): Likewise.
741 (ppc_pseudo_register_read): New function.
742 (ppc_pseudo_register_write): Likewise.
743 (rs6000_pseudo_register_read): Likewise.
744 (rs6000_pseudo_register_write): Likewise.
745 (e500_pseudo_register_read): Move checks to
746 rs6000_pseudo_register_read.
747 (e500_pseudo_register_write): Move checks to
748 rs6000_pseudo_register_write.
749 (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
750 rs6000_pseudo_register_read and rs6000_pseudo_register_write
751 in gdbarch if SPE or DFP is available. Adjust gdbarch's
752 num_pseudo_regs to account for DFP pseudo regs.
754 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
756 * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
757 * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
758 (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
759 rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
760 e500_pseudo_register_read, e500_pseudo_register_write): Use
761 IS_SPE_PSEUDOREG macro.
762 (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
763 (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
764 Remove initialization of tdep->ppc_ev31_regnum.
766 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
768 * printcmd.c (print_formatted): Handle references as for unformatted
771 2008-01-30 Joel Brobecker <brobecker@adacore.com>
773 * eval.c (evaluate_subexp_standard): Add handling of user
774 registers when in EVAL_AVOID_SIDE_EFFECTS mode.
776 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr>
778 * eval.c (evaluate_subexp_standard): Support
781 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
783 * valarith.c (value_binop): Add floating-point BINOP_MIN and
785 For BINOP_EXP, use length and signedness of left operand only for
786 result, as for shifts.
787 For integral operands to BINOP_EXP, use new integer_pow and
788 uinteger_pow functions so as to get full range of results.
789 (integer_pow): New function.
790 (uinteger_pow): New function.
792 2008-01-30 Vladimir Prus <vladimir@codesourcery.com>
794 Use vector for varobj_list_children interface.
795 * gdb/varobj.c (varobj_list_children): Return vector
797 * gdb/varobj.h (varobj_list_children): Adjust
799 (varobj_p): Declare. Declare vector thereof.
800 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
801 for varobj_list_children change.
802 * Makefile.in (varobj_h): Update dependencies.
804 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
806 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
807 TYPE_CODE_DECFLOAT arguments.
808 (ppc64_sysv_abi_push_dummy_call) Likewise.
809 (get_decimal_float_return_value): New function.
810 (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
811 values by calling get_decimal_float_return_value.
812 (ppc64_sysv_abi_return_value): Likewise.
814 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
816 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field
817 for preprocessor macro information. Formatting changes.
819 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
821 * remote.c (struct remote_state): Add cached_wait_status.
822 (remote_exec_file): New variable.
823 (PACKET_vAttach, PACKET_vRun): New constants.
824 (extended_remote_restart): Do not query for status.
825 (struct start_remote_args): New.
826 (remote_start_remote): Take it as a second argument. Check
827 whether the target is running. Issue an error for non-running
828 non-extended targets. Cache the wait status. Set inferior_ptid
830 (remote_open_1): Prompt to disconnect non-running targets. Make
831 sure the target is marked running. Do not set inferior_ptid here.
832 Update call to remote_start_remote. Do not call remote_check_symbols
833 if the target is not running.
834 (remote_detach_1): Rename from remote_detach. Take an EXTENDED
835 argument. Handle a non-running target.
836 (remote_detach): Use it.
837 (extended_remote_detach): New.
838 (remote_disconnect): Fix typo. Use remoute_mourn_1.
839 (extended_remote_attach_1, extended_remote_attach)
840 (extended_async_remote_attach): New.
841 (remote_vcont_resume): Remove unused variable.
842 (remote_wait, remote_async_wait): Use any cached wait status.
843 (putpkt_binary, getpkt): Clear any cached wait status.
844 (extended_remoute_mourn_1): New.
845 (extended_remote_mourn): Use it.
846 (extended_async_remote_mourn, extended_remote_run): New.
847 (extended_remote_create_inferior_1): New.
848 (extended_remote_create_inferior): Use it.
849 (extended_remote_async_create_inferior): Likewise.
850 (remote_xfer_partial): Skip for non-executing targets.
851 (init_extended_remote_ops): Set to_detach and to_attach.
852 (init_extended_async_remote_ops): Likewise. Use
853 extended_async_remote_mourn.
854 (_initialize_remote): Register vAttach, vRun, and
855 set remote exec-file.
856 * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
858 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
860 * Makefile.in (symfile.o): Update.
861 * NEWS: Mention exec tracing support.
862 * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
864 * infcmd.c (kill_if_already_running, detach_command)
865 (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
866 * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
867 (follow_exec): Do not check may_follow_exec. Do not mourn and push
868 targets. Apply the sysroot path to the loaded executable. Use
870 * linux-nat.c (linux_child_follow_fork): Print fork following
872 (kill_wait_callback): Kill again before waiting a second time.
873 * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
876 2008-01-29 Joel Brobecker <brobecker@adacore.com>
878 * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
880 2008-01-29 Joel Brobecker <brobecker@adacore.com>
882 * nto-tdep.h: Remove #include "defs.h".
883 * nto-tdep.c: Add #include "defs.h".
884 * Makefile.in (nto_tdep_h): Update dependencies.
885 (nto-tdep.o): Likewise.
887 2008-01-29 Joel Brobecker <brobecker@adacore.com>
889 * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
891 (proceed, start_remote): Update call to wait_for_inferior.
892 * inferior.h (wait_for_inferior): Update declaration.
893 * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
894 solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
895 * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
896 TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
898 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
900 * varobj (adjust_value_for_child_access): Added checking for
901 returned value from gdb_value_ind.
902 (c_describe_child): Likewise.
903 (cplus_describe_child): Fixed a typo.
905 2008-01-29 Jim Blandy <jimb@red-bean.com>
907 * MAINTAINERS: Update my info.
909 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
911 Use multiple locations for hardware watchpoints.
912 This eliminates the need to traverse value chain, doing
913 various checks, in three different places.
915 * breakpoint.h (struct bp_location): New fields
916 lengths and watchpoint_type.
917 (struct breakpoint): Remove the val_chain field.
918 * breakpoint.c (is_hardware_watchpoint): New.
919 (free_valchain): Remove.
920 (update_watchpoint): New.
921 (insert_bp_location): For hardware watchpoint, just
923 (insert_breakpoints): Call update_watchpoint_locations
924 on all watchpoints. If we have failed to insert
925 any location of a hardware watchpoint, remove all inserted
927 (remove_breakpoint): For hardware watchpoints, directly
929 (watchpoints_triggered): Iterate over locations.
930 (bpstat_stop_status): Use only first location of
931 a resource watchpoint.
932 (delete_breakpoint): Don't call free_valchain.
933 (print_one_breakpoint): Don't print all
934 locations for watchpoints.
935 (breakpoint_re_set_one): Use update_watchpoint for
938 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
940 Don't reset watchpoint block on solib load.
942 * breakpoint.c (insert_bp_location): For watchpoints,
944 (breakpoint_re_set_one): Instead of recomputing value
945 and condition for watchpoints, just reset value and
946 let insert_breakpoints/insert_bp_location recompute it.
947 Don't do anything about disabled watchpoint.
949 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
951 * valarith.c (value_binop): Handle unsigned integer
954 2008-01-28 Kevin Buettner <kevinb@redhat.com>
956 * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
957 instruction pattern that appears frequently in position
958 independent code. Fix bug in code which looks for "fmov" and
959 backtracks if no "fmov" is found.
961 2008-01-28 Doug Evans <dje@google.com>
963 * dbxread.c (read_dbx_symtab): Fix indentation.
964 Reformat comments to 80 columns.
965 Move local var def closer to only use.
967 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com>
969 * fork-child.c (SHELL_FILE): Remove #ifndef.
970 (fork_inferior): Remove SHELL_COMMAND_CONCAT.
972 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr>
974 * i386-tdep.c (i386_skip_noop): New function.
975 (i386_analyze_prologue): Call i386_skip_noop function.
977 2008-01-24 Michael Snyder <msnyder@specifix.com>
979 * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
980 * win32-nat.c (win32_xfer_partial): Ditto.
981 * target.c (default_xfer_partial): Minor whitespace adjustment.
983 2008-01-24 Pedro Alves <pedro@codesourcery.com>
985 * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
986 strip bit 1 even if pc doesn't point to thumb code.
988 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com>
990 * remote.c (remote_wait): Handle SIGINT between packets.
991 (remote_async_wait): Likewise.
993 2008-01-23 Vladimir Prus <vladimir@codesourcery.com>
994 Chris Demetriou <cgd@google.com>
996 * thread.c (add_thread_silent): Renamed
998 (print_thread_events): New variable definition.
999 (show_print_thread_events): New function.
1000 (_initialize_thread): Add "set print thread-events" and
1001 "show print thread-events" commands.
1002 (add_thread): Announce new thread.
1003 * gdbthread.h (add_thread_silent): Declare.
1004 (print_thread_events): New variable declaration.
1005 * inf-ttrace.c (inf_ttrace_wait): Don't
1006 inform about new thread, as add_thread is always
1007 called too, and will take care of that.
1008 * infrun.c (handle_inferior_event): Likewise.
1009 * procfs.c (procfs_wait): Likewise.
1010 * remote.c (remote_currthread): Likewise.
1011 * sol-thread.c (sol_thread_wait): Likewise.
1012 * win32-nat.c (get_win32_debug_event): Likewise.
1013 * linux-thread-db.c (attach_thread): Likewise.
1014 Remove the verbose parameter.
1015 (check_event): Make detach_thread be verbose
1016 only if print_thread_events is set.
1017 * linux-nat.c (lin_lwp_attach_lwp): Don't inform
1018 about new thread. This is called only from
1019 linux-thread-db.c:attach_thread, which will take care.
1020 Remove the verbose parameter.
1021 * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
1023 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
1025 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
1027 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
1029 * breakpoint.c (break_command_really): New parameter
1031 (break_command_1): Pass 0 as
1032 ignore_count to break_command_really.
1033 (gdb_breakpoint): Pass ignore_count to
1034 break_command_really.
1036 2008-01-21 Kevin Buettner <kevinb@redhat.com>
1038 * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
1039 sigcontext struct via pointer.
1040 (struct sigframe comment): Update to show new field `psc'.
1042 2008-01-21 Vladimir Prus <vladimir@codesourcery.com>
1044 * infrun.c (handle_inferior_event): If
1045 we failed to remove breakpoints, error,
1046 don't try to increment PC by hand.
1048 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com>
1050 Add NetBSD/hppa target and host support.
1052 * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
1053 (hppabsd_gregset): Move to ...
1054 (hppabsd_regset_from_core_section): Rename
1055 hppaobsd_regset_from_core_section and move to ...
1056 (hppabsd_find_global_pointer): Update comment.
1057 (hppabsd_init_abi): Make global. Do not register
1058 hppabsd_regset_from_core_section.
1059 (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
1061 (_initialize_hppabsd_tdep): Move to ...
1062 * hppaobsd-tdep.c: ... here. New file.
1063 * hppnbsd-tdep.c: New file.
1064 * hppnbsd-nat.c: New file.
1065 * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
1066 (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
1067 (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
1068 (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
1069 * configure.host (hppa*-*-netbsd*): New entry.
1070 * configure.tgt (hppa*-*-netbsd*): New entry.
1071 (hppa*-*-openbsd*): Update.
1072 * NEWS (New native configuration): Mention NetBSD/hppa.
1073 (New targets): Mention NetBSD/hppa.
1075 2008-01-18 Markus Deuling <deuling@de.ibm.com>
1077 * gdbarch.sh (function_list): Add new property bits_big_endian to
1079 * gdbarch.{c,h}: Regenerate.
1081 * value.c (struct value): Replace BITS_BIG_ENDIAN by
1082 gdbarch_bits_big_endian (comment).
1083 (unpack_field_as_long, modify_field): Likewise.
1084 * value.h: Likewise (comment).
1085 * valops.c (value_slice): Likewise.
1086 * valarith.c (value_subscript, value_bit_index): Likewise.
1087 * gdbtypes.h (field): Likewise (comment).
1088 * eval.c (evaluate_subexp_standard): Likewise.
1089 * dwarf2read.c (dwarf2_add_field): Likewise.
1090 * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
1091 (move_bits, ada_value_assign, value_assign_to_component): Likewise.
1093 * defs.h (BITS_BIG_ENDIAN): Remove.
1095 2008-01-18 Markus Deuling <deuling@de.ibm.com>
1097 * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
1099 * m2-exp.y (yylex): Likewise.
1100 * objc-exp.y (yylex): Likewise.
1102 * defs.h (DEPRECATED_STREQN): Remove.
1104 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
1106 * MAINTAINERS: Update my email address.
1108 2008-01-17 Jim Blandy <jimb@codesourcery.com>
1110 * README: Mention gdbserver/README.
1112 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1114 * valarith.c (value_binop): Handle BINOP_INTDIV
1115 for unsigned and signed integers.
1117 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com>
1119 * s390-tdep.c (s390_gdbarch_init): Set default long double
1120 type to 128-bit IEEE quad.
1122 2008-01-17 Joel Brobecker <brobecker@adacore.com>
1124 * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
1126 2008-01-16 Mark Kettenis <kettenis@gnu.org>
1128 * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
1130 * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
1131 * value.c: All callers changed.
1133 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1135 * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
1136 DEPRECATED_STREQ by its expression.
1137 * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
1138 * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
1139 (scan_xcoff_symtab): Likewise.
1140 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
1141 * f-lang.c (find_common_for_function): Likewise.
1142 * objc-exp.y (parse_number): Likewise.
1144 * defs.h (DEPRECATED_STREQ): Remove.
1146 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1148 * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
1149 * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
1150 get_frame_arch to get at the current_architecture. Update AM33_MODE
1152 (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
1153 (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
1155 (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
1157 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1159 * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
1161 * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
1163 (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
1164 current_gdbarch by gdbarch. Update caller.
1166 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
1167 (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
1168 the current architecture. Update calls of
1169 amd64_native_gregset_supplies_p.
1170 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
1171 (amd64bsd_store_inferior_registers): Likewise.
1173 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1175 * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
1176 Replace current_gdbarch by gdbarch. Update caller.
1178 2008-01-16 Markus Deuling <deuling@de.ibm.com>
1180 * dbxread.c (repeated_header_complaint, dbx_symfile_init)
1181 (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
1182 (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
1183 (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
1184 (stabsect_build_psymtabs): Fix indentation.
1186 2008-01-15 Michael Snyder <msnyder@specifix.com>
1188 * corelow.c (core_xfer_partial): Comment, cut/paste error.
1190 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1192 * win32-nat.c (win32_create_inferior): Restore code calling
1193 CloseHandle on ProcessInformation structure.
1195 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
1197 * configure.ac: Check for void * as 3 argument of ptrace.
1198 * configure: regenerate.
1200 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1202 * alpha-tdep.c (alpha_heuristic_proc_start)
1203 (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1204 current_gdbarch by gdbarch.
1206 (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1207 current architecture by frame_info. Update alpha_heuristic_proc_start
1210 (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1211 get_frame_arch to get at the current architecture by frame_info. Update
1212 alpha_sigtramp_register_address call.
1214 * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1215 current_gdbarch by gdbarch. Update caller.
1216 (convert_to_extended, convert_from_extended): Add endianess parameter
1217 for comparison. Update caller.
1218 (arm_extract_return_value, arm_store_return_value): Use
1219 get_regcache_arch to get at the current architecture.
1221 * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1222 current_gdbarch by gdbarch. Update caller.
1223 (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1224 gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1226 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1227 gdbarch as parameter. Update caller.
1228 (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1229 current_gdbarch by gdbarch. Update caller.
1231 * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1232 update caller. Replace current_gdbarch by gdbarch.
1234 * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1235 the current architecture. Replace current_gdbarch by gdbarch.
1236 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1237 (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1238 expression. Add gdbarch as parameter and replace current_gdbarch with
1240 (M6811_TDEP): Remove.
1241 (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1243 (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1244 current_gdbarch by gdbarch. Update caller.
1246 * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1248 (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1251 * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1252 caller. Relace current_gdbarch by gdbarch.
1253 (altivec_register_p, spe_register_p): Likewise.
1254 * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1256 * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1257 altivec_register_p and spe_register_p.
1259 * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1260 caller. Replace current_gdbarch by gdbarch.
1261 (score_analyze_prologue): use get_frame_arch to get at the current
1264 * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1265 * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1266 current_gdbarch by gdbarch. Update caller.
1267 (sparc_frame_cache): Use get_frame_arch to get at the current
1269 * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1270 sparc_analyze_prologue.
1272 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1275 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1277 * exec.c: #include "arch-utils.h"
1278 (print_section_info): Use gdbarch_from_bfd to get at the
1279 current architecture. Replace current_gdbarch. Fix indention. Replace
1280 deprecated_print_address_numeric by paddress.
1281 * Makefile.in (exec.o) Add dependency to arch-utils.h.
1283 * valprint.c (val_print_string): Replace
1284 deprecated_print_address_numeric.
1285 * tracepoint.c (trace_mention, scope_info): Likewise.
1286 * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1287 (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1288 (maintenance_check_symtabs): Likewise.
1289 * symfile.c (list_overlays_command): Likewise.
1290 * stack.c (frame_info, print_block_frame_labels): Likewise.
1291 * printcmd.c (print_address, print_address_demangle)
1292 (address_info): Likewise.
1293 * corefile.c (memory_error): Likewise.
1294 * infcmd.c (jump_command): Likewise.
1295 * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1296 (mention, delete_breakpoint): Likewise.
1297 * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1298 * dwarf2read.c (dump_die): Likewise.
1299 * ada-valprint.c (ada_val_print_1): Likewise.
1300 * f-valprint.c (f_val_print): Likewise.
1301 * linux-fork.c (info_forks_command): Likewise.
1302 * m32r-com.c (m32r_load_section, m32r_load)
1303 (m32r_upload_command): Likewise.
1305 * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1307 2008-01-11 Markus Deuling <deuling@de.ibm.com>
1309 * gdbarch.sh (skip_prologue): Add gdbarch
1311 * gdbarch.{c,h}: Regenerate.
1313 * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1314 * amd64-tdep.c (amd64_skip_prologue): Likewise.
1315 * avr-tdep.c (avr_skip_prologue): Likewise.
1316 * cris-tdep.c (cris_skip_prologue): Likewise.
1317 * frv-tdep.c (frv_skip_prologue): Likewise.
1318 * h8300-tdep.c (h8300_skip_prologue): Likewise.
1319 * hppa-tdep.c (hppa_skip_prologue): Likewise.
1320 * i386-tdep.c (i386_skip_prologue): Likewise.
1321 * ia64-tdep.c (ia64_skip_prologue): Likewise.
1322 * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1323 * m32r-tdep.c (m32r_skip_prologue): Likewise.
1324 * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1325 * m68k-tdep.c (m68k_skip_prologue): Likewise.
1326 * m88k-tdep.c (m88k_skip_prologue): Likewise.
1327 * mep-tdep.c (mep_skip_prologue): Likewise.
1328 * mips-tdep.c (mips_skip_prologue): Likewise.
1329 * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1330 * mt-tdep.c (mt_skip_prologue): Likewise.
1331 * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1332 * score-tdep.c (score_skip_prologue): Likewise.
1333 * sh64-tdep.c (sh64_skip_prologue): Likewise.
1334 * sh-tdep.c (sh_skip_prologue): Likewise.
1335 * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1336 * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1337 * spu-tdep.c (spu_skip_prologue): Likewise.
1338 * v850-tdep.c (v850_skip_prologue): Likewise.
1339 * vax-tdep.c (vax_skip_prologue): Likewise.
1340 * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1341 * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1343 * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1344 current_gdbarch by gdbarch.
1345 * m32c-tdep.c (m32c_skip_prologue): Likewise.
1346 * s390-tdep.c (s390_skip_prologue): Likewise.
1348 2008-01-10 Doug Evans <dje@google.com>
1350 * defs.h (struct continuation_arg): Fix typo in comment.
1351 * target.c (target_translate_tls_address): Fix comment spelling error.
1353 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com>
1355 * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1356 (DOUBLEST_SCAN_FORMAT): Likewise.
1357 * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1358 * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1359 * c-exp.y (parse_number): Likewise.
1360 * jv-exp.y (parse_number): Likewise.
1361 * objc-exp.y (parse_number): Likewise.
1362 * p-exp.y (parse_number): Likewise.
1364 2008-01-09 Joel Brobecker <brobecker@adacore.com>
1366 * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1367 (check_typedef): Likewise.
1369 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
1371 * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1372 seen_double_big_d, treat the new H, D, and DD modifiers as length
1375 2008-01-08 Joel Brobecker <brobecker@adacore.com>
1377 * dwarf2read.c (read_enumeration_type): Add comment.
1379 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
1381 * config.in: Regenerate.
1383 2008-01-08 Joel Brobecker <brobecker@adacore.com>
1385 * ada-lang.c (ada_convert_actual): Renames convert_actual.
1387 (ada_convert_actuals): Delete.
1388 * ada-lang.h (ada_convert_actual): Add declaration.
1389 (ada_convert_actuals): Remove declaration.
1390 * infcall.c: #include "ada-lang.h".
1391 (value_arg_coerce): Add new parameter sp. Update function
1392 documetnation. Add handling of Ada function call parameters.
1393 * Makefile.in (infcall.o): Update dependencies.
1395 2008-01-08 Paul Hilfinger <hilfinger@adacore.com>
1397 * ada-lang.c (ensure_lval): Fix value lval kind.
1398 (convert_actual): Add handling for arguments passed by reference.
1400 2008-01-08 Doug Evans <dje@google.com>
1402 * dbxread.c (read_dbx_symtab): Fix indentation.
1404 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1406 * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1407 (valarith.o): Depend on dfp.h.
1408 (valops.o): Likewise.
1409 * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1410 (set_decnumber_context): New function.
1411 (decimal_check_errors): Likewise.
1412 (decimal_from_number): Likewise.
1413 (decimal_to_number): Likewise.
1414 (decimal_from_string): Use set_decnumber_context and
1415 decimal_check_errors.
1416 (decimal_from_integral): New function.
1417 (decimal_from_floating): Likewise.
1418 (decimal_to_double): Likewise.
1419 (promote_decimal): Likewise.
1420 (decimal_binop): Likewise.
1421 (decimal_is_zero): Likewise.
1422 (decimal_compare): Likewise.
1423 (decimal_convert): Likewise.
1424 * dfp.h (decimal_from_integral): New prototype.
1425 (decimal_from_floating): Likewise.
1426 (decimal_to_double): Likewise.
1427 (decimal_binop): Likewise.
1428 (decimal_is_zero): Likewise.
1429 (decimal_compare): Likewise.
1430 (decimal_convert): Likewise.
1431 * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1432 call to value_from_decfloat.
1433 * valarith.c: Include dfp.h.
1434 (value_args_as_decimal): New function.
1435 (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1436 (value_logical_not): Likewise.
1437 (value_equal): Likewise.
1438 (value_less): Likewise.
1439 (value_pos): Likewise.
1440 (value_neg): Formatting fix.
1441 * valops.c: Include dfp.h.
1442 (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1443 * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1444 (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1445 (value_from_decfloat): Remove expect_type argument.
1446 * value.h (value_from_decfloat): Update prototype.
1448 2008-01-07 Vladimir Prus <vladimir@codesourcery.com>
1450 Ignore change in name of dynamic linker during
1451 execution on Solaris. This also unbreaks pending breakpoints.
1453 * solist.h (struct target_so_ops): New field same.
1454 * solib-svr4.c (svr4_same): New.
1455 (_initialize_svr4_solib): Register svr4_same.
1456 * solib.c (update_solib_list): Use ops->same, if available.
1458 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx>
1460 * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1461 when using MS-DOS paths.
1463 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1465 * NEWS: Mention --pid and --core command line behaviour changes.
1467 2008-01-05 Pedro Alves <pedro@codesourcery.com>
1469 * main.c (captured_main): Remove 'count' varible and the
1470 ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and
1471 --pid options were issued simultaneously. If an explicit pid
1472 option was passed, don't fallback to core file. Detect extra
1473 arguments better in the presence of explicit pid or core
1476 2008-01-05 Joel Brobecker <brobecker@adacore.com>
1478 * ada-lang.c (ada_which_variant_applies): Correctly compute
1479 the value of the discriminant when the variant record is packed.
1481 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1483 * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1484 that are used to differentiate homonyms.
1486 2008-01-04 Jerome Guitton <guitton@adacore.com>
1488 * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1489 when the type is an anonymous pointer type.
1490 (ada_check_typedef): Avoid a seg fault when the type is null.
1491 * ada-typeprint.c (print_array_type): Add support for pointer
1494 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com>
1496 * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1498 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1500 * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1501 EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1503 2008-01-04 Joel Brobecker <brobecker@adacore.com>
1505 * ada-exp.y (chop_separator): New function.
1506 (write_selectors): Rewrite to re-use chop_separator.
1507 (ada_nget_field_index, get_symbol_field_type): New functions.
1508 (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1511 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com>
1513 * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1514 of SYMBOL_VALUE when working with function symbols.
1516 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1518 * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1519 expressions. These expressions do not need to be rewriten.
1521 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1523 * dwarf2read.c (read_enumeration_type): Flag type as stub if
1524 the given die is a declaration.
1526 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1528 * ada-lang.c (ada_array_bound_from_type): Make non-static.
1529 Handle properly the case when the index type is an enumerated type.
1530 Do not return the subtype of the bounds type, just return the
1531 bounds type directly - this is not needed and is more consistent
1532 with what we do for arrays when no XA parallel type exists.
1534 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1536 * ada-lang.c (static_unwrap_type): Add forward declaration.
1537 (template_to_static_fixed_type): Fields of dynamic types sometimes
1538 also need to be unwrapped. Take this into account.
1539 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1540 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1541 * ada-typeprint.c (ada_print_type): Get the typename from
1542 the original type, not the base type.
1544 2008-01-03 Jerome Guitton <guitton@adacore.com>
1546 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1547 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1548 Update calls to ada_to_fixed_type.
1549 (ada_template_to_fixed_record_type_1): Ditto, but without looking
1551 (ada_to_fixed_type): Add check_tag parameter; do not look for
1552 tag if null. When looking for a tag, use a fixed record type.
1553 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1554 * ada-valprint.c (printable_val_type, ada_value_print): Update
1555 calls to ada_to_fixed_type.
1557 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
1559 * doublest.c (convert_floatformat_to_doublest): Call
1560 floatformat_to_doublest instead of floatformat_to_double and use
1562 (convert_doublest_to_floatformat): Call floatformat_from_doublest
1563 instead of floatformat_from_double and use DOUBLEST variables.
1565 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
1567 * MAINTAINERS (Write After Approval): Add self.
1569 2008-01-03 Joel Brobecker <brobecker@adacore.com>
1571 * symfile.c (set_initial_language): Make non-static.
1572 * symfile.h (set_initial_language): Add declaration.
1573 * language.c: #include "symfile.h".
1574 (set_language): Call set_initial_language if the frame language
1575 could not be determined.
1577 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
1579 * eval.c (evaluate_subexp_for_address): Provide frame address to
1580 locate_var_value only if it will be needed.
1582 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1586 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1588 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1589 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1590 This is needed to make sure that any other treatment applied
1591 to the resulting value does not fail for spurious reason,
1592 such as trying to take the address of this value.
1594 2008-01-02 Joel Brobecker <brobecker@adacore.com>
1596 * ada-lang.c (ada_value_equal): Dereference reference types when
1599 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
1601 Updated copyright notices for most files.
1603 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
1605 * win32-nat.c (psapi_module_handle): Remove static.
1606 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
1607 return first module found if base_address is zero. Don't initialize
1608 psapi function pointers here. Convert to cygwin paths when
1610 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1611 executable name. Use get_module_name when that fails or when
1613 (_initialize_psapi): New function. Initialize psapi stuff before it is
1614 needed or issue a warning if it is not found. Move psapi_module_handle
1617 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1619 * ada-lang.c (ada_remove_trailing_digits): New function.
1620 (ada_remove_po_subprogram_suffix): New function.
1621 (ada_decode): Improve. Move the description of the algorithm
1622 directly inside the code, instead of in the function global
1625 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1627 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1628 and always print the dereferenced value.
1630 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1632 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1633 of the case where the first argument is a reference.
1634 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1636 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1638 Implement support for Ada interface types.
1640 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1641 (ada_is_ignored_field): Ignore fields that are a dispatch table
1644 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1646 * top.c (print_gdb_version): Update copyright year.
1648 2008-01-01 Joel Brobecker <brobecker@adacore.com>
1650 * ChangeLog-2007: New ChangeLog rotation.
1651 * ChangeLog: Reset for 2008.
1652 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1655 For older changes see ChangeLog-2007.
1661 version-control: never