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