Move the symbol-file-from-memory functions into their own file.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
eb4556d7
JB
12004-05-02 Jim Blandy <jimb@redhat.com>
2
3 Move the symbol-file-from-memory functions into their own file.
4 * symfile-mem.c, symfile-mem.h: New files.
5 * symfile.c (symbol_file_add_from_bfd): New function.
6 (symbol_file_add): Call symbol_file_add_from_bfd.
7 (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
8 Moved to symfile-mem.c.
9 (_initialize_symfile): Move definition of
10 add-symbol-file-from-memory command to symfile-mem.c.
11 * symfile.h (symbol_file_add_from_bfd): New declaration.
12 * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
13 * config/powerpc/linux.mt (TDEPFILES): Same.
14 * Makefile.in (SFILES): Add symfile-mem.c.
15 (symfile_mem_h): New variable.
16 (HFILES_NO_SRCDIR): Add symfile-mem.h.
17 (symfile-mem.o): New rule.
18
80bb239e
AC
192004-05-01 Andrew Cagney <cagney@redhat.com>
20
7789d0fa
AC
21 * breakpoint.c (insert_bp_location): Use get_frame_id, and
22 frame_find_by_id instead of frame_relative_level.
23 (do_enable_breakpoint): Ditto.
24 * thread.c: Update copyright.
25 (info_threads_command): Ditto, simplify.
26
80bb239e
AC
27 * frame.c (deprecated_generic_get_saved_register): Delete
28 function, moved to "xstormy16-tdep.c".
29 * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
30 deprecated_generic_get_saved_register from "frame.c".
31 (xstormy16_frame_saved_register): Call
32 xstormy16_get_saved_register.
33 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
34 static.
35 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
36 * frame.h (deprecated_generic_get_saved_register): Delete.
37
b2a871dd
MC
382004-05-01 Michael Chastain <mec.gnu@mindspring.com>
39
40 * dwarfread.c: Update documentation on the state of dwarf-1.
41
0e100dab
AC
422004-05-01 Andrew Cagney <cagney@redhat.com>
43
acd8056e
AC
44 * stack.c (select_frame_command): Delete call to
45 frame_relative_level.
46 (print_frame, set_backtrace_limit_command, backtrace_limit_info):
47 Delete #if0 code.
48 (frame_info): Do not print FRAMELESS.
49 (print_block_frame_labels): Replace DEPRECATED_STREQ.
50 (catch_info): Delete #if0 code.
51
0e100dab
AC
52 * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
53 * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
54 of frame_relative_level.
55 * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
56 to SENTINEL_FRAME.
57 * frame.h (enum frame_type): Add SENTINEL_FRAME.
58 * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
59 frame_relative_level.
60
55699d59
AC
61 * frame.h (deprecated_set_frame_type): Delete declaration.
62 * frame.c (deprecated_set_frame_type): Delete function, update
63 comments.
64
fcf70625
AC
65 * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
66 * gdbarch.h, gdbarch.c: Re-generate.
67 * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
68 (shnbsd_pc_in_sigtramp): Delete.
69 * i386-interix-tdep.c (i386_interix_init_abi): Do not set
70 pc_in_sigtramp.
71 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
72 pc_in_sigtramp.
73 * frame.h: Update comments.
74 * ppc-linux-tdep.c: Update comments.
75 * breakpoint.c (bpstat_what): Update comments.
76
ac5eccb7
AC
77 * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
78 m68klinux-tdep.o's dependencies, were previously added to
79 m68klinux-nat.o.
80
f2524b93
AC
81 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
82 * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
83 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
84 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
85 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
86
17e20bce
AC
87 * Makefile.in (m68klinux-nat.o): Update dependencies.
88 * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
89 (m68k_linux_sigtramp_frame_cache)
90 (m68k_linux_sigtramp_frame_this_id)
91 (m68k_linux_sigtramp_frame_prev_register)
92 (m68k_linux_sigtramp_frame_unwind)
93 (m68k_linux_sigtramp_frame_sniffer)
94 (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
95 m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
96 names, use trad-frame.h.
97 * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
98 (struct m68k_sigtramp_info): Delete.
99 * m68k-tdep.c (m68k_sigtramp_frame_cache)
100 (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
101 (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
102 (m68k_gdbarch_init): Delete all the sigtramp code, moved to
103 "m68klinux-tdep.c".
104
c8864fa2
AC
105 * infrun.c (check_sigtramp2): Delete check for
106 DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
107
511dd2cd
MK
1082004-05-01 Mark Kettenis <kettenis@gnu.org>
109
110 * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
111
8c6b0e06
AC
1122004-05-01 Andrew Cagney <cagney@redhat.com>
113
9df0bb3f
AC
114 * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
115 (frv_linux_sigtramp_frame_cache)
116 (frv_linux_sigtramp_frame_this_id)
117 (frv_linux_sigtramp_frame_prev_register)
118 (frv_linux_sigtramp_frame_unwind)
119 (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
120 include "linux" in function and variable names, directly call
121 frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
122 the latest trad-frame code.
123 (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
124 not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
125 * Makefile.in (frv-linux-tdep.o): Update dependencies.
126 * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
127 * frv-tdep.c (frv_sigtramp_frame_cache)
128 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
129 (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
130 frv-linux-tdep.c.
131 (frv_gdbarch_init): Do not append a sigtramp sniffer.
132 (struct gdbarch_tdep): Delete sigcontext_reg_addr.
133 (frv_set_sigcontext_reg_addr): Delete function.
134
8c6b0e06
AC
135 * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
136 (DEPRECATED_SIGTRAMP_END): Delete.
137 * gdbarch.h, gdbarch.c: Re-generate.
138 * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
139 * config/vax/tm-vaxbsd.h: Update copyright.
140 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
141 (DEPRECATED_IN_SIGTRAMP): Define.
142 * config/m68k/tm-nbsd.h: Update copyright.
143 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
144 (DEPRECATED_IN_SIGTRAMP): Define.
145
50ea7769
MK
1462004-05-01 Mark Kettenis <kettenis@gnu.org>
147
03ac2a74
MK
148 * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
149 encondings. Fixes PR gdb/1628.
150
50ea7769
MK
151 * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
152 DW_CFA_restore state without a matching DW_CFA_remember_state
153 instead of aborting. Fixes PR backtrace/1589.
154
9a5d7be1
JB
1552004-04-30 Joel Brobecker <brobecker@gnat.com>
156
157 * MAINTAINERS: Add self as AIX maintainer.
158 Update my e-mail address in write-after-approval section.
159
2593d1cd
AC
1602004-04-30 Andrew Cagney <cagney@redhat.com>
161
ce12bbf9
AC
162 * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
163 (legacy_get_prev_frame): Ditto.
164
36710c63
AC
165 * mips-tdep.c (mips_pc_in_sigtramp): Delete.
166 (mips_gdbarch_init): Do not set pc_in_sigtramp.
167 * mipsread.c (sigtramp_address): Delete extern variable.
168 (mipscoff_new_init): Delete reference.
169 * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
170 (fixup_sigtramp): Delete function.
171 * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
172 (fixup_sigtramp): Delete declarations.
173
2593d1cd
AC
174 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
175 deprecated_pc_in_sigtramp.
176 (ppcnbsd_pc_in_sigtramp): Delete function.
177
2a25f91c
MK
1782004-05-01 Mark Kettenis <kettenis@gnu.org>
179
180 * config/m68k/nm-nbsd.h: Tweak comments.
181 * config/m68k/nm-nbsdaout.h: Likewise.
182
0b281939
AC
1832004-04-30 Andrew Cagney <cagney@redhat.com>
184
185 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
186 legacy_pc_in_sigtramp.
187 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
188
8f2d3ea0
MK
1892004-05-01 Mark Kettenis <kettenis@gnu.org>
190
191 Add OpenBSD/m68k support.
192 * NEWS (New native configurations): Mention OpenBSD/m68k.
193 * m68kbsd-tdep.c: New file.
194 * m68kbsd-nat.c: New file.
195 * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
196 (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
197 * configure.host: Add m68k-*-openbsd.
198 * configure.tgt: Add m68k-*-openbsd.
199 * config/m68k/tm-obsd.h: New file.
200 * config/m68k/obsd.mt: New file.
201 * config/m68k/obsd.mh: New file.
202 * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
203 m68kbsd-tdep.c.
204
c40f49a4
AC
2052004-04-30 Andrew Cagney <cagney@redhat.com>
206
207 * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
208 (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
209
e81554cd
MK
2102004-04-30 Mark Kettenis <kettenis@gnu.org>
211
212 * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
213 * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
214
d4dc1a91
BF
2152004-04-30 Brian Ford <ford@vss.fsi.com>
216
217 Revert 2004-04-16 change.
218 * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
219 (i386_coff_init_abi): Remove.
220 * i386-tdep.h (i386_coff_init_abi): Remove.
221 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
222
2f72f850
AC
2232004-04-30 Andrew Cagney <cagney@redhat.com>
224
e492f9d6
AC
225 * blockframe.c (find_pc_partial_function): Delete use of
226 DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
227 DEPRECATED_SIGTRAMP_END.
228
7b7adad0
AC
229 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
230 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
231 * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
232 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
233 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
234
2f72f850
AC
235 * defs.h (deprecated_inside_entry_file): Delete declaration.
236 * blockframe.c (deprecated_inside_entry_file): Delete function.
237 (legacy_frame_chain_valid): Delete call.
238 * sh64-tdep.c (sh64_frame_chain): Delete call.
239 * objfiles.h: Update comments.
240 * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
241 call.
242 * frame.c (get_prev_frame): Delete call, update comments.
243
283f90a7
BF
2442004-04-30 Brian Ford <ford@vss.fsi.com>
245
246 * MAINTAINERS (Write After Approval): Add myself.
247
8ee56bcf
AC
2482004-04-30 Andrew Cagney <cagney@redhat.com>
249
250 * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
251 * gdbarch.h, gdbarch.c: Re-generate.
252 * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
253 code.
254
ee27e1b6
AC
2552004-04-30 Andrew Cagney <cagney@redhat.com>
256
257 * gdb-events.sh (selected_thread_changed)
258 (selected_frame_level_changed, target_changed): Delete.
259 * gdb-events.h, gdb-events.c: Re-generate.
260 * valops.c (value_assign): Update.
261 * stack.c (select_frame_command, up_silently_base)
262 (down_silently_base): Update.
263
d5ac5a39
AC
2642004-04-29 Andrew Cagney <cagney@redhat.com>
265
266 * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
267 registers correctly.
268 (print_gp_register_row, mips32_heuristic_proc_desc)
269 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
270 (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
271 references to mips_isa_regsize.
272
ceae6e75
AC
2732004-04-29 Andrew Cagney <cagney@redhat.com>
274
275 * mips-tdep.c (struct gdbarch_tdep): Delete
276 mips_fp_register_double.
277 (FP_REGISTER_DOUBLE): Delete macro, replace with test for
278 mips_abi_regsize.
279 (mips_gdbarch_init): Do not set mips_fp_register_double.
280 (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
281
a587af0b
AC
2822004-04-29 Joel Brobecker <brobecker@gnat.com>
283
284 Committed by Andrew Cagney.
285 * infrun.c (handle_inferior_event): Rely on frame IDs to detect
286 function calls.
287
13326b4e
AC
2882004-04-29 Andrew Cagney <cagney@redhat.com>
289
290 * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
291 gdbarch, use mips_abi, update callers.
292 (mips_stack_argsize): Replace tdep parameter with gdbarch, use
293 mips_abi_regsize, update callers.
294 (struct gdbarch_tdep): Delete mips_default_stack_argsize and
295 mips_default_abi_regsize.
296 (mips_gdbarch_init): Do not set mips_default_stack_argsize and
297 mips_default_abi_regsize.
298
711cc5cd
AC
2992004-04-29 Andrew Cagney <cagney@redhat.com>
300
1b13c4f6
AC
301 * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
302 (mips_abi_regsize_string): Rename mips_saved_regsize_string.
303 (struct gdbarch_tdep): Rename mips_default_saved_regsize to
304 mips_default_abi_regsize.
305 (mips_isa_regsize): Rename mips_regisze.
306 * mipsnbsd-tdep.c: Update.
307 * mips-linux-tdep.c: Update.
308 * irix5-nat.c: Update.
309 * mips-tdep.h (mips_isa_regsize): Update.
310
711cc5cd
AC
311 * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
312 Delete all disabled code.
313 * gdb-events.h, gdb-events.c: Re-generate.
314
e63bbc88
MK
3152004-04-19 Jerome Guitton <guitton@gnat.com>
316 Mark Kettenis <kettenis@gnu.org>
317
318 * i386-tdep.c (i386_skip_prologue): follow the last jump only if
319 the function begins with a branch instruction.
320
fd35795f
MK
3212004-04-29 Mark Kettenis <kettenis@gnu.org>
322
323 * i386-tdep.c: Fix spelling mistakes.
324
c960c18f
AC
3252004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
326 Andrew Cagney <cagney@redhat.com>
327
328 * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
329 <sys/proc.h>.
330 * acconfig.h: Provide default _KMEMUSER value.
331 * config.in, configure: Re-generate.
332 * NEWS: Mention fix.
333
50306a9d
RC
3342004-04-24 Randolph Chung <tausq@debian.org>
335
336 * configure.host (hppa*-*-linux*): New target.
337 * configure.tgt (hppa*-*-linux*): Likewise.
338 * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
339 gdbarch_init_osabi() call earlier so that osabi-specific frame
340 unwinders can be registered first.
341 * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
342 hppa-linux-nat.c.
343 * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
344 (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
345 * config/pa/linux.mh: New file.
346 * config/pa/linux.mt: New file.
347 * config/pa/nm-linux.h: New file.
348 * config/pa/xm-linux.h: New file.
349 * hppa-linux-nat.c: New file.
350 * hppa-linux-tdep.c: New file.
351
2a6228ef
RC
3522004-04-28 Randolph Chung <tausq@debian.org>
353
354 * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
355 return values.
356 (hppa32_push_dummy_call): Fix small struct and floating point argument
357 passing, and make sure the stack frame is properly aligned.
358
82c10df6
AC
3592004-04-28 Andrew Cagney <cagney@redhat.com>
360
d762c46a
AC
361 * stack.c (print_stack_frame): Fix description.
362
82c10df6
AC
363 * NEWS: Mention gdb/gdbserver/configure execute permission
364 changed. PR server/519.
365
0faf0076
AC
3662004-04-28 Andrew Cagney <cagney@redhat.com>
367
368 * stack.c (print_stack_frame_stub): Delete declaration.
369 (struct print_stack_frame_args, print_stack_frame)
370 (print_frame_info, print_frame): Replace "source" with print what.
371 Replace "print" with "print_level". Replace "args" with
372 "print_args".
373 * frame.h (show_and_print_stack_frame, print_stack_frame)
374 (print_frame_info): Update declarations.
375 * stack.c (select_and_print_frame, frame_command)
376 (current_frame_command, up_command, down_command): Update calls -
377 use get_selected_frame, pass "enum print_what" for source, do not
378 call frame_relative_level.
379 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
380 * remote-rdp.c (remote_rdp_open): Ditto.
381 * remote-mips.c (common_open): Ditto.
382 * remote-e7000.c (e7000_start_remote): Ditto.
383 * ocd.c (ocd_start_remote): Ditto.
384 * mi/mi-main.c (mi_cmd_exec_return): Ditto.
385 * infrun.c (normal_stop): Ditto.
386 * inflow.c (kill_command): Ditto.
387 * infcmd.c (finish_command): Ditto.
388 * corelow.c (core_open): Ditto.
389 * tracepoint.c (finish_tfind_command): Ditto.
390 * thread.c (info_threads_command, info_threads_command)
391 (restore_current_thread, do_captured_thread_select): Ditto.
392 * ada-tasks.c (task_command): Ditto.
393
f4c5303c
OF
3942004-04-26 Orjan Friberg <orjanf@axis.com>
395
396 * frame.c: Include "observer.h".
397 (frame_observer_target_changed): New function.
398 (_initialize_frame): Attach target_changed observer.
399 * regcache.c: Include "observer.h".
400 (regcache_observer_target_changed): New function.
401 (_initialize_regcache): Attach target_changed observer.
402 * valops.c: Include "observer.h".
403 (value_assign): Notify target_changed event when modifying register.
404 * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
405
7270d8f2
OF
4062004-04-26 Orjan Friberg <orjanf@axis.com>
407
408 From Paul Koning <pkoning@equallogic.com>:
409 * breakpoint.c (free_valchain): New function.
410 (insert_bp_location, delete_breakpoint): Use free_valchain.
411 (remove_breakpoint): Do not remove the valchain.
412 (bpstat_stop_status): If not stopped by watchpoint, skip
413 watchpoints when generating stop status list.
414 * infrun.c (handle_inferior_event): Make
415 stepped_after_stopped_by_watchpoint a global variable.
416 * remote.c (remote_stopped_data_address): Return watch data
417 address rather than zero if stepped_after_stopped_by_watchpoint is
418 set.
419
02d62932
MC
4202004-04-25 Michael Chastain <mec.gnu@mindspring.com>
421
422 Fix PR gdb/1626.
423 * configure.in: Check for curses after termcap.
424 On osf5.*, do not check for ncurses.
425 * configure: Regenerate.
426
3e9a183c
MK
4272004-04-25 Mark Kettenis <kettenis@gnu.org>
428
c79ac407
MK
429 * ppcobsd-nat.c: Include "ppc-tdep.h".
430 * Makefile.in (ppcobsd-nat.o): Update dependencies.
431
3e9a183c
MK
432 * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
433 Fixes PR tdep/1623 and PR tdep/1624.
434
38cc9c28
MC
4352004-04-24 Michael Chastain <mec.gnu@mindspring.com>
436
437 * xmodem.h, xmodem.c: Remove files.
438 * Makefile.in: Remove references to xmodem.h, xmodem.c.
439
7f07c5b6
RC
4402004-04-23 Randolph Chung <tausq@debian.org>
441
442 * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
443 (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
444 (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
445 for handling stackless frames.
446 (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
447
9f7194c3
RC
4482004-04-23 Randolph Chung <tausq@debian.org>
449
450 * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
451 starts at a pc before the frame is created.
452
dcff6009
JB
4532004-04-23 Joel Brobecker <brobecker@gnat.com>
454
455 * ChangeLog-2002: Fix year in one of the ChangeLog entries.
456
65951cd9
JG
4572004-04-23 Jerome Guitton <guitton@gnat.fr>
458
459 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
460 use convert_typed_floating to get the appropriate format.
461
abc485a1
RC
4622004-04-22 Randolph Chung <tausq@debian.org>
463
464 * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
465 (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
466 (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
467 (hppa_sign_extend): Add prototype.
468 * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
469 (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
470 (sign_extend): Rename with hppa_ prefix and make non-static. Other
471 hppa targets will also use these functions.
472 (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
473 (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
474 (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
475 (hppa_gdbarch_init): Remove gdbarch setting of
476 skip_trampoline_code, in_solib_call_trampoline and
477 in_solib_return_trampoline.
478 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
479 (hppa64_hpux_in_solib_call_trampoline): New functions, split from
480 hppa_in_solib_call_trampoline.
481 (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
482 Moved from hppa-tdep.c.
483 (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
484 in_solib_call_trampoline and in_solib_return_trampoline.
485
369aa520
RC
4862004-04-22 Randolph Chung <tausq@debian.org>
487
488 * hppa-tdep.c (hppa_debug): New variable.
489 (find_unwind_entry, hppa_frame_cache): Add debug output.
490 (_initialize_hppa_tdep): Add command to set debug flag.
491
476be15e
AC
4922004-04-22 Andrew Cagney <cagney@redhat.com>
493
494 * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and
495 "trad-frame.h".
496 (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
497 signal trampoline unwinder.
498 (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
499
d195bc9f
MK
5002004-04-22 Mark Kettenis <kettenis@gnu.org>
501
502 Add OpenBSD/powerpc support.
503 * NEWS (New native configurations): Mention OpenBSD/powerpc.
504 * ppc-tdep.h (struct ppc_reg_offsets): New structure.
505 (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
506 (ppc_collect_fpregset): New prototypes.
507 * ppcobsd-nat.c: New file.
508 * ppcobsd-tdep.c: New file.
509 * ppcobsd-tdep.h: New file.
510 * rs6000-tdep.c: Include "regset.h".
511 (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
512 (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
513 New functions.
514 * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
515 (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
516 (rs6000-tdep.o): Update dependencies.
517 * configure.host: Add powerpc-*-openbsd.
518 * configure.tgt: Add powerpc-*-openbsd.
519 * config/powerpc/obsd.mh: New file.
520 * config/powerpc/nm-obsd.h: New file.
521 * config/powerpc/obsd.mt: New file.
522
6f14cc33
AC
5232004-04-22 Andrew Cagney <cagney@redhat.com>
524
fcf29e5f
AC
525 * frame.h (show_frame_info): Delete declaration.
526
6f14cc33
AC
527 * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
528 * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
529 * m32r-tdep.c (m32r_frame_this_id): Ditto.
530 * frv-tdep.c (frv_frame_this_id): Ditto.
531 * avr-tdep.c (avr_frame_this_id): Ditto.
532
e5786a5c
EZ
5332004-04-22 Elena Zannoni <ezannoni@redhat.com>
534
535 * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
536
26e75e5c
JB
5372004-04-22 Jim Blandy <jimb@redhat.com>
538
539 * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
540 register number zero.
541
d8d65dd3
MS
5422004-04-21 Michael Snyder <msnyder@redhat.com>
543
544 * mips-tdep.c (heuristic_proc_start):
545 Warning() already prefixes "Warning: ".
546
9a4105ab
AC
5472004-04-21 Andrew Cagney <cagney@redhat.com>
548
549 * annotate.h (deprecated_annotate_starting_hook)
550 (deprecated_annotate_stopped_hook)
551 (deprecated_annotate_exited_hook)
552 (deprecated_annotate_signal_hook)
553 (deprecated_annotate_signalled_hook): Deprecate.
554 * tracepoint.h (deprecated_create_tracepoint_hook)
555 (deprecated_delete_tracepoint_hook)
556 (deprecated_modify_tracepoint_hook)
557 (deprecated_trace_find_hook)
558 (deprecated_trace_start_stop_hook): Deprecate.
559 * target.h (deprecated_target_new_objfile_hook): Deprecate.
560 * remote.h (deprecated_target_resume_hook)
561 (deprecated_target_wait_loop_hook): Deprecate.
562 * gdbcore.h (deprecated_exec_file_display_hook)
563 (deprecated_file_changed_hook): Deprecate.
564 * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
565 * defs.h (deprecated_modify_breakpoint_hook)
566 (deprecated_command_loop_hook, deprecated_show_load_progress)
567 (deprecated_print_frame_info_listing_hook)
568 (deprecated_query_hook, deprecated_warning_hook)
569 (deprecated_flush_hook, deprecated_create_breakpoint_hook)
570 (deprecated_delete_breakpoint_hook)
571 (deprecated_interactive_hook, deprecated_registers_changed_hook)
572 (deprecated_readline_begin_hook, deprecated_readline_hook)
573 (deprecated_readline_end_hook, deprecated_register_changed_hook)
574 (deprecated_memory_changed_hook, deprecated_init_ui_hook)
575 (deprecated_context_hook, deprecated_target_wait_hook)
576 (deprecated_attach_hook, deprecated_detach_hook)
577 (deprecated_call_command_hook, deprecated_set_hook)
578 (deprecated_error_hook, deprecated_error_begin_hook)
579 (deprecated_ui_load_progress_hook): Deprecate.
580 * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
581 * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
582 * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
583 * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
584 * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
585 * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
586 * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
587 * annotate.c, aix-thread.c: Update.
588
62cf13cc
AC
5892004-04-21 Andrew Cagney <cagney@redhat.com>
590
b2e31a62
AC
591 * Makefile.in (vaxnbsd-tdep.o): Update dependencies.
592 * vaxnbsd-tdep.c: Include "gdb_string.h".
593
62cf13cc
AC
594 * symfile.c (symbol_file_add_from_memory): #if 0 function.
595 (add_symbol_file_from_memory_command): #if 0 function body, call
596 error instead.
597
00e32a35
AC
5982004-04-21 Andrew Cagney <cagney@redhat.com>
599
600 * gdbcore.h: Update copyright.
601 (deprecated_add_core_fns): Rename add_core_fns.
602 * win32-nat.c (_initialize_core_win32): Update.
603 * sun3-nat.c (_initialize_core_sun3): Update.
604 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
605 * rs6000-nat.c (_initialize_core_rs6000): Update.
606 * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
607 * nto-tdep.c (_initialize_nto_tdep): Update.
608 * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
609 * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
610 * mips-nat.c (_initialize_core_mips): Update.
611 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
612 * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
613 * m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
614 * lynx-nat.c (_initialize_core_lynx): Update.
615 * irix5-nat.c (_initialize_core_irix5): Update.
616 * i386-interix-nat.c (_initialize_core_interix): Update.
617 * cris-tdep.c (_initialize_cris_tdep): Update.
618 * corelow.c (deprecated_add_core_fns): Update.
619 * core-regset.c (_initialize_core_regset): Update.
620 * core-aout.c (_initialize_core_aout): Update.
621 * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
622 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
623 * alpha-nat.c (_initialize_core_alpha): Update.
624
13c7b1ca
JB
6252004-04-21 Jim Blandy <jimb@redhat.com>
626
627 * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes.
628
7b5a2f43
DJ
6292004-04-19 Daniel Jacobowitz <drow@mvista.com>
630
631 * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
632 Delete.
633 (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
634 (read_attribute_value): Update calls to dwarf_alloc_block.
635 (dwarf2_build_psymtabs_hard): Don't initialize or clean up
636 dwarf2_tmp_obstack.
637 (psymtab_to_symtab_1): Likewise. Clean up using
638 free_stack_comp_unit.
639 (add_to_cu_func_list): Use the comp_unit_obstack.
640
05cf31d1
JB
6412004-04-19 Joel Brobecker <brobecker@gnat.com>
642
643 * dwarf2read.c (dwarf2_flag_true_p): New function.
644 (die_is_declaration): Use the function above. Add some comments.
645
adf93a2f
MK
6462004-04-19 Mark Kettenis <kettenis@gnu.org>
647
648 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
649 architecture when registering sparcnbsd_core_osabi_sniffer.
650 Adjust comment.
651
748894bf
MK
6522004-04-18 Mark Kettenis <kettenis@gnu.org>
653
f622ad42
MK
654 * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
655 return value.
656
c4fc7f1b
MK
657 Based on a patch from Brian Ford <ford@vss.fsi.com>:
658 * i386-tdep.c: Correct register numbering scheme comments
659 throughout.
660 (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
661 (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
662 (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
663 (i386_gdb_arch_init): Likewise.
664
b4ead1bd
MK
665 * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
666 and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
667 ppcnbsd-tdep.o.
668
748894bf
MK
669 * m68k-tdep.h: Tweak comments.
670 * m68k-tdep.c: Tweak comment.
671
fdd72f95
RC
6722004-04-17 Randolph Chung <tausq@debian.org>
673
674 * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
675 * hppa-hpux-tdep.c (hppa-tdep.h): Include.
676 (hppa_hpux_som_init_abi): Set is_elf to 0.
677 (hppa_hpux_elf_init_abi): Set is_elf to 1.
678 * hppa-tdep.c (low_text_segment_address): Remove global.
679 (record_text_segment_lowaddr): Pass in low address as parameter. Use
680 section offset to calculate segment address.
681 (internalize_unwinds): Define low_text_segment_address as local and
682 pass to record_text_segment_lowaddr for ELF targets.
683 (hppa_gdbarch_init): Zero fill tdep structure.
684 (hppa_dump_tdep): Print tdep structure.
685 * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
686
0f8d9d59
RC
6872004-04-17 Randolph Chung <tausq@debian.org>
688
689 * hppa-tdep.c (hppa_pseudo_register_read): Define.
690 (hppa_gdbarch_init): Set pseudo_register_read.
691 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
692 * regcache.c (supply_register): Remove check for
693 DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
694
7c46b9fb
RC
6952004-04-17 Randolph Chung <tausq@debian.org>
696
697 * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
698 * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
699 (hpread_adjust_stack_address): Move to hpread.c.
700 * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info,
701 obj_private_struct): Move from tm-hppa.h.
702 * hpread.c (hppa-tdep.h): Include.
703 (hpread_adjust_stack_address): Move from hppa-tdep.c.
704 (hpread_read_function_type, hpread_read_doc_function_type)
705 (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
706 directly.
707 * pa64solib.c (hppa-tdep.h): Include.
708 * somsolib.c (hppa-tdep.h): Include.
709 * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type,
710 inferior_status): Remove unused forward declarations.
711 (INSTRUCTION_SIZE): Move to hppa-tdep.c.
712 (unwind_table_entry, unwind_stub_types, obj_unwind_info,
713 obj_private_struct): Move to hppa-tdep.h.
714 (HPREAD_ADJUST_STACK_ADDRESS): Remove.
715
8d153463
RC
7162004-04-17 Randolph Chung <tausq@debian.org>
717
718 * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
719 (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
720 (hppa_in_solib_return_trampoline, hppa_cannot_store_register)
721 (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
722 Remove forward declaration and make static.
723 (hppa_reg_struct_has_addr): Remove.
724
350c2e5b
JB
7252004-04-16 Joel Brobecker <brobecker@gnat.com>
726
727 * observer.sh: Move comments in sed command to first column.
728
bbde78fa
JM
7292004-04-16 Jason Molenda (jmolenda@apple.com)
730
731 * frame.c: Minor typeo corrections in comments.
732
e0270fd9
JB
7332004-04-16 Joel Brobecker <brobecker@gnat.com>
734
735 * observer.c (observer_test_first_notification_function): Update
736 function profile.
737 (observer_test_second_notification_function): Likewise.
738 (observer_test_third_notification_function): Likewise.
739
3d049254
MK
7402004-04-16 Mark Kettenis <kettenis@gnu.org>
741
742 From Brian Ford <ford@vss.fsi.com>:
743 * i386-tdep.c (i386_coff_init_abi): New function.
744 * i386-tdep.h (i386_coff_init_abi): New prototype.
745 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
746 register number translation functions for DWARF and DWARF 2.
747
7867684d
JB
7482004-04-16 Joel Brobecker <brobecker@gnat.com>
749
750 * dwarf2read.c: Back out my previous change, it was incorrect.
751
72bf9492
DJ
7522004-04-16 Daniel Jacobowitz <drow@mvista.com>
753
754 * dwarf2read.c: Include "hashtab.h".
755 (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
756 has_namespace_info.
757 (struct partial_die_info): Add comments. Use bitfields to reduce
758 memory footprint. Add scope, scope_set, has_specification,
759 spec_offset, die_parent, die_child, and die_sibling.
760 (peek_die_abbrev): Add prototype.
761 (partial_read_comp_unit_head): New function, broken out from
762 dwarf2_build_psymtabs_hard.
763 (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
764 Use partial_read_comp_unit_head. Initialize the CU and
765 comp_unit_obstack. Update calls to read_partial_die and
766 scan_partial_symbols. Use free_stack_comp_unit and
767 load_partial_dies.
768 (scan_partial_symbols): Change PDI to a pointer. Use the child and
769 sibling pointers to walk partial DIEs. Call fixup_partial_die.
770 Update calls to helper functions. Remove NAMESPACE argument.
771 Update comments.
772 (partial_die_parent_scope, partial_die_full_name): New functions.
773 (add_partial_symbol): Remove namespace argument. Update call to
774 pdi_needs_namespace. Use partial_die_full_name. Handle
775 DW_TAG_namespace. Check has_namespace_info flag.
776 (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
777 tag. Handle namespaces.
778 (add_partial_namespace, add_partial_enumeration): Simplify.
779 (guess_structure_name): New function, derived from
780 add_partial_structure.
781 (add_partial_structure): Remove.
782 (determine_class_name): Update comment.
783 (dwarf2_read_abbrevs): Set has_namespace_info flag.
784 (is_type_tag_for_partial, load_partial_dies): New functions.
785 (read_partial_die): Pass abbrev and abbrev_len as arguments.
786 Record specifications instead of following them immediately.
787 (find_partial_die_in_comp_unit, find_partial_die)
788 (fixup_partial_die, free_stack_comp_unit)
789 (hashtab_obstack_allocate, dummy_obstack_deallocate)
790 (partial_die_hash, partial_die_eq): New functions.
791 * Makefile.in (hashtab_h): Define.
792 (dwarf2read.o): Update dependencies.
793 (observer_inc, observer_h): Move to the correct section.
794
fdc860a3
JB
7952004-04-15 Joel Brobecker <brobecker@gnat.com>
796
797 * dwarf2read.c (dwarf2_attribute_true_p): New function.
798 (die_is_declaration): Use the function above. Add comment.
799
dc718098
JB
8002004-04-15 Joel Brobecker <brobecker@gnat.com>
801
802 * dwarf2read.c (read_structure_scope): Identify stub types
803 using die_is_declaration() only.
804
8718a420
RM
8052004-04-15 Roland McGrath <roland@redhat.com>
806
807 * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
808 argument instead of NAME.
809 (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
810 in call to symbol_file_add_with_addrs_or_offsets.
811 (build_addr_info): New function, helper for ...
812 (symbol_file_add_from_memory): New function.
813 (add_symbol_file_from_memory_command): New function using that.
814 (_initialize_symfile): Register it for add-symbol-file-from-memory.
815 (pre_add_symbol_hook): Add const to argument type.
816 * symfile.h (symbol_file_add_from_memory): Declare it.
817
8b910bab
MK
8182004-04-15 Mark Kettenis <kettenis@gnu.org>
819
9f076e7a
MK
820 * NEWS (New native configurations): Mention OpenBSD/vax.
821 * configure.host: Add vax-*-openbsd*.
822 * config/vax/obsd.mh: New file.
823 * config/vax/nm-obsd.h: New file.
824
8b910bab
MK
825 * vax-tdep.c: Include "regset.h".
826 (vax_supply_gregset): New function.
827 (vax_gregset): New variable.
828 (vax_regset_from_core_section): New function.
829 (vax_gdbarch_init): Set regset_from_core_section.
830 * Makefile.in (vax-tdep.o): Update dependencies.
831
7a464420
AC
8322004-04-15 Andrew Cagney <cagney@redhat.com>
833
834 * observer.c (normal_stop_subject, observer_notify_normal_stop)
835 (observer_normal_stop_notification_stub)
836 (observer_attach_normal_stop, observer_detach_normal_stop):
837 Delete, replaced by #include "observer.inc".
838 * infrun.c (normal_stop): Pass "stop_bpstat" to
839 observer_notify_normal_stop.
840 * Makefile.in (observer_inc): Define.
841 (observer.o): Update dependencies.
842 (observer.h, observer.inc): New rules.
843 * observer.h: Delete file.
844 * observer.sh: New file.
845
e36ad527
MK
8462004-04-15 Mark Kettenis <kettenis@gnu.org>
847
848 * vax-tdep.c (vax_frame_cache): Fix typo.
849
67b441e1
MK
8502004-04-14 Mark Kettenis <kettenis@gnu.org>
851
6f606e1c
MK
852 * NEWS (New native configurations): Mention NetBSD/vax.
853 * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
854 * config/vax/nbsdelf.mh: New file.
855 * config/vax/nbsdaout.mh: New file.
856 * config/vax/nm-nbsd.h: New file.
857 * config/vax/nm-nbsdaout.h: New file.
858
9c5519a5
MK
859 * vaxnbsd-tdep.c: New file.
860 * Makefile.in (vaxnbsd-tdep.o): New dependency.
861 * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
862 * config/vax/nbsd.mt: New file.
863 * config/vax/tm-nbsd.h: New file.
864
4844a614
MK
865 * Makefile.in (vaxbsd-nat.o): New dependency.
866
67b441e1
MK
867 * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
868 * vax-tdep.c (vax_store_arguments): Remove struct_return and
869 struct_addr arguments. Don't push return value address.
870 (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
871 arguments to vax_store_arguments. Store return value address in
872 R1.
873 (vax_store_struct_return, vax_extract_return_value)
874 (vax_store_return_value): Remove functions.
875 (vax_return_value): New function.
876 (vax_gdbarch_init): Set return value. Don't set
877 deprecated_store_struct_return, deprecated_extract_struct_return
878 and deprecated_store_return_value.
879
6672f2ae
AS
8802004-04-14 Andreas Schwab <schwab@suse.de>
881
882 * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
883 value buffer.
884 * libunwind-frame.c (libunwind_frame_prev_register): Likewise.
885
7346c184
MK
8862004-04-14 Mark Kettenis <kettenis@gnu.org>
887
888 * vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
889 (vax_unwind_dummy_id): New functions.
890 (vax_push_dummy_frame, vax_pop_frame): Remove functions.
891 (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
892 variables.
893 (vax_fix_call_dummy): Remove function.
894 (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
895 Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
896 call_dummy_location, deprecated_call_dummy_words,
897 deprecated_sizeof_call_dummy_words,
898 deprecated_call_dummy_breakpoint_offset,
899 deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
900 and deprecated_dummy_write_sp.
901
58e23df4
DC
9022004-04-13 David Carlton <carlton@kealia.com>
903
904 * MAINTAINERS: Move myself to "paper trail" section.
905
5e6b39ff
MK
9062004-04-12 Mark Kettenis <kettenis@gnu.org>
907
7def7fef
MK
908 * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
909 "trad-frame.h".
910 (vax_frame_init_saved_regs): Remove function.
911 (vax_sigtramp_saved_pc): Remove function.
912 (vax_frame_saved_pc): Remove function.
913 (vax_frame_args_address): Remove function.
914 (vax_frame_num_args): Rewrite.
915 (vax_frame_chain): Remove function.
916 (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
917 VAX_FP_REGNUM.
918 (vax_pop_frame): Likewise.
919 (vax_saved_pc_after_call): Remove function.
920 (struct vax_frame_cache): New structure.
921 (vax_frame_cache): New function.
922 (vax_frame_this_id): New function.
923 (vax_frame_prev_register): New function.
924 (vax_frame_unwind): New variable.
925 (vax_frame_sniffer): New function.
926 (vax_frame_base_address): New function.
927 (vax_frame_args_address): New function.
928 (vax_frame_base): New variable.
929 (vax_unwind_pc): New function.
930 (vax_gdbarch_init): Don't set deprecated_init_frame_pc,
931 deprecated_fp_regnum, deprecated_saved_pc_after_call,
932 deprecated_frame_chain, deprecated_frame_saved_pc,
933 deprecated_frame_args_address and
934 deprecated_frame_init_saved_regs.
935 * Makefile.in (vax-tdep.o): Update dependencies.
936
53284fc1
MK
937 * vaxbsd-nat.c: New file.
938
5e6b39ff
MK
939 * vax-tdep.h: Update copyright year. Adjust comments.
940 (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
941 VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
942 (vax_regnum): New enum. Replacing...
943 (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
944 (VAX_PS_REGNUM): ... these removed macros.
945 * vax-tdep.c (vax_register_name): Remove prototype.
946 (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
947 (vax_register_byte, vax_register_raw_size,
948 vax_register_virtual_size, vax_register_virtual_type): Remove
949 functions.
950 (vax_register_type): New function.
951 (vax_breakpoint_from_pc): Reorganize.
952 (vax_gdbarch_init): Set register_type. Don't set
953 deprecated_register_size, deprecated_register_bytes,
954 deprecated_register_byte, deprecated_register_raw_size,
955 deprecated_max_register_raw_size,
956 deprecated_register_virtual_size,
957 deprecated_max_register_virtual_size and
958 deprecated_register_virtual_type. Add comment on stack direction.
959
e9c71e9f
MK
9602004-04-11 Mark Kettenis <kettenis@gnu.org>
961
962 * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
963 AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
296bc76f 964 AMD64_FS_REGNUM and AMD64_GS_REGNUM.
e9c71e9f 965
d46f1176 9662004-04-10 Randolph Chung <tausq@debian.org>
8718a420 967
d46f1176
RC
968 * MAINTAINERS (write after approval): Add myself.
969
a2a84a72
RC
9702004-04-07 Randolph Chung <tausq@debian.org>
971
972 * hppa-tdep.c (hppa_inner_than): Remove.
973 (is_pa_2): Remove unused static variable.
8718a420 974 (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
a2a84a72 975
e85c3284
PH
9762004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
977
978 * language.h (language_defn): Add new la_post_parser field.
979 * parser-defs.h (null_post_parser): New declaration (default for
980 la_post_parser).
8718a420 981
e85c3284
PH
982 * parse.c (parse_exp_1): Move code to parse_exp_in_context and
983 insert call to that function.
984 (parse_exp_in_context): New function, including code formerly in
8718a420 985 parse_exp_1. Calls language-dependent post-parser after
e85c3284
PH
986 prefixification.
987 (parse_expression_in_context): New exported function.
988 (null_post_parser): New definition.
989 * expression.h (parse_expression_in_context): Add declaration.
8718a420 990
e85c3284
PH
991 * p-lang.c (pascal_language_defn): Add trivial post-parser.
992 * c-lang.c (c_language_defn): Ditto.
993 (cplus_language_defn): Ditto.
994 (asm_language_defn): Ditto.
995 (minimal_language_defn): Ditto.
996 * f-lang.c (f_language_defn): Ditto.
997 * jv-lang.c (java_language_defn): Ditto.
998 * language.c (unknown_language_defn): Ditto.
999 (auto_language_defn): Ditto.
1000 (local_language_defn): Ditto.
1001 * m2-lang.c (m2_language_defn): Ditto.
1002 * scm-lang.c (scm_language_defn): Ditto.
1003 * obj-lang.c (objc_language_defn): Ditto.
8718a420 1004
d9f8c85b
MK
10052004-04-10 Mark Kettenis <kettenis@gnu.org>
1006
fa34704a
MK
1007 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function.
1008 (amd64nbsd_mcontext_addr): New function.
1009 (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as
1010 amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset
1011 with amd64nbsd_r_reg_offset, instead of building it on the fly.
1012
403e1656
MK
1013 * corelow.c (core_xfer_partial): Fix coding standards violation.
1014 Add support for TARGET_OBJECT_WCOOKIE.
1015
a57e5a95
MK
1016 * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set
1017 deprecated_pc_in_sigtramp.
1018 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
1019 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
1020 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise.
1021 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
1022 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise.
1023 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
1024 * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
1025
377d9ebd
MK
1026 * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c,
1027 i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c:
1028 Fix typo.
1029
f0ef85a5
MK
1030 * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with
1031 I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode.
1032 (amd64_collect_fxsave): Likewise.
1033
d9f8c85b
MK
1034 * i386-sol2-tdep.c: Include "gdb_string.h".
1035 (i386_sol2_sigtramp_p): Recognize signal trampoline based on its
1036 name.
1037 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
1038
75f501b5
MK
10392004-04-10 Mark Kettenis <kettenis@gnu.org>
1040
1041 * i386-sol2-tdep.c: Include "solib-svr4.h".
1042 (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
1043 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
1044 * config/i386/tm-i386sol2.h: Include :solib.h".
1045 * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
1046 solib-svr4.o and solib-legacy.o.
1047 * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
1048 solib-svr4.o.
1049
b31bc724
MK
10502004-04-09 Mark Kettenis <kettenis@gnu.org>
1051
18bbbd9e
MK
1052 * amd64-linux-nat.c (fetch_inferior_registers): Correctly check
1053 whether a register is supplied by PTRACE_GETFPREGS.
1054 (store_inferior_registers): Likewise.
1055 * amd64bsd-nat.c (fetch_inferior_registers): Correctly check
1056 whether a register is supplied by PT_GETFPREGS.
1057 (store_inferior_registers): Likewise.
1058
3c30bf1b
MK
1059 * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
1060 * config/i386/linux64.mt (TDEPFILES): Likewise.
1061
a4194092
MK
1062 * i386-linux-nat.c: Update copyrigth year. Tweak comment.
1063
911bc6ee
MK
1064 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new
1065 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
1066 the program counter is in the range specified by `struct
1067 gdbarch_tdep'.
1068 * amd64-linux-tdep.c: Include "symtab.h".
1069 (amd64_linux_pc_in_sigtramp): Remove function.
1070 (amd64_linux_sigtramp_p): New function.
1071 (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
1072 deprecated_pc_in_sigtramp.
1073 * amd64nbsd-tdep.c: Include "symtab.h".
1074 (amd64nbsd_sigtramp_p): New function.
1075 (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
1076 deprecated_pc_in_sigtramp.
1077 * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a
1078 few comments.
1079 (amd64obsd_pc_in_sigtramp): Remove function.
1080 (amd64obsd_sigtramp_p): New function.
1081 (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
1082 deprecated_pc_in_sigtramp.
1083 * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member.
1084 (i386bsd_pc_ins_sigtramp): Remove prototype.
1085 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes.
1086 * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new
1087 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
1088 the program counter is in the range specified by `struct
1089 gdbarch_tdep'.
1090 (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions.
1091 (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions.
1092 (i386_go32_pc_in_sigtramp): Remove function.
1093 (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp.
1094 Initialize TDEP->sigtramp_p.
1095 (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL.
1096 (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set
1097 deprecated_pc_in_sigtramp.
1098 * i386-linux-tdep.c: Adjust comments.
1099 (i386_linux_pc_in_sigtramp): Remove function.
1100 (i386_linux_sigtramp_p): New function.
1101 (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
1102 deprecated_pc_in_sigtramp.
1103 * i386-nto-tdep.c: Update copyright year.
1104 (i386nto_pc_in_sigtramp): Remove function.
1105 (i386nto_sigtramp_p): New function.
1106 (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of
1107 SP_REGNUM.
1108 (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set
1109 deprecated_pc_in_sigtramp.
1110 * i386-sol2-tdep.c: Update copyright year.
1111 (i386_sol2_pc_in_sigtramp): Remove function.
1112 (i386_sol2_sigtramp_p): New function.
1113 (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set
1114 deprecated_pc_in_sigtramp.
1115 * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function.
1116 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions.
1117 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
1118 deprecated_sigtramp_start and deprecated_sigtramp_end.
1119 * i386nbsd-tdep.c: Include "frame.h" and "symtab.h".
1120 (i386nbsd_pc_in_sigtramp): Remove function.
1121 (i386nbsd_sigtramp_p): New function.
1122 (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp,
1123 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
1124 TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p.
1125 * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h".
1126 (i386obsd_pc_in_sigtramp): Remove function.
1127 (i386obsd_sigtramp_p): New function.
1128 (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove
1129 functions.
1130 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
1131 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
1132 TDEP->sigtramp_p.
1133 * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o,
1134 amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update
1135 dependencies.
1136
e083e6ec
MK
1137 * config/i386/i386aout.mt: Remove file.
1138
bd153b94
MK
1139 * configure.tgt: Remove i[34567]86-*-go32*,
1140 i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
1141 and i[34567]86-*-isc*. Set gdb_target to i386 for
1142 i[34567]86-*-netware* and i[34567]86-*-*.
1143 * config/i386/i386.mt: New file.
1144 * config/i386/embed.mt: Remove file.
1145 * config/i386/go32.mt: Remove file.
1146 * config/i386/i386nw.mt: Remove file.
1147 * config/i386/i386v.mt: Remove file.
1148 * config/i386/tm-go32.h: Remove file.
1149
4a1bcc8c
MK
1150 * tui/tui-hooks.c: Include "readline/readline.h" after
1151 "gdb_curses.h" instead of before.
1152 * tui/tui-io.c: Likewise.
1153
f9a79064
MK
1154 * tui/tui.c: Fix typo in comment.
1155
b31bc724
MK
1156 * sparc64-tdep.c (sparc_address_from_register): Remove function.
1157
f83f82bc
AC
11582004-04-08 Andrew Cagney <cagney@redhat.com>
1159
1160 * breakpoint.h (deprecated_exception_catchpoints_are_fragile)
1161 (deprecated_exception_support_initialized): Declare.
8718a420 1162 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
f83f82bc
AC
1163 (initialize_hp_cxx_exception_support)
1164 (child_enable_exception_callback): Update.
1165 * breakpoint.c (deprecated_exception_catchpoints_are_fragile)
1166 (deprecated_exception_support_initialized): Rename
1167 deprecated_exception_catchpoints_are_fragile and
1168 deprecated_exception_support_initialized.
1169 (breakpoint_init_inferior, breakpoint_init_inferior): Update.
1170
1171 * symtab.c (deprecated_hp_som_som_object_present): Rename
1172 hp_som_som_object_present.
1173 * symtab.h (deprecated_hp_som_som_object_present): Declare.
1174 * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
1175 Update. Delete extern declaration.
1176 * valops.c (hp_som_som_object_present): Ditto.
8718a420 1177 * parse.c (deprecated_hp_som_som_object_present)
f83f82bc
AC
1178 (parse_nested_classes_for_hpacc): Ditto.
1179 * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
8718a420 1180 * hppa-hpux-tdep.c (hp_som_som_object_present)
f83f82bc
AC
1181 (initialize_hp_cxx_exception_support): Ditto.
1182 * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
8718a420 1183 * cp-valprint.c (hp_som_som_object_present)
f83f82bc 1184 (cp_print_class_method): Ditto.
8718a420 1185 * c-typeprint.c (hp_som_som_object_present):
f83f82bc
AC
1186 (c_type_print_base): Ditto.
1187 * c-exp.y (hp_som_som_object_present): Ditto.
1188
fb2be677
AC
11892004-04-08 Andrew Cagney <cagney@redhat.com>
1190
1191 * frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
1192 (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
1193 (frame_unwind_find_by_frame): Re-implement the unwind code so
1194 that it can both prepend and append sniffers. Replace
1195 frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
1196 * tramp-frame.c (tramp_frame_append): Use
1197 frame_unwind_prepend_unwinder.
1198 * frame-unwind.h (frame_unwind_prepend_unwinder): Replace
1199 frame_unwind_register_unwinder.
1200 * tramp-frame.h (tramp_frame_prepend_unwinder): Rename
1201 tramp_frame_append.
1202 * tramp-frame.c (tramp_frame_prepend_unwinder): Update.
8718a420 1203 * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
fb2be677
AC
1204 (mips_linux_init_abi): Update.
1205
67faf007
KB
12062004-04-08 Kevin Buettner <kevinb@redhat.com>
1207
1208 * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
1209 (ELF_FPREGSET_SIZE): Delete constants formerly used in core
1210 file support.
1211
8973ff21
KB
12122004-04-07 Kevin Buettner <kevinb@redhat.com>
1213
1214 * ia64-tdep.c (elf.h): Don't include.
1215 (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
1216
4a0e2f88
JM
12172004-04-07 Jason Molenda (jmolenda@apple.com)
1218
1219 * frame.h: Typeo corrections in comments.
1220
9872ad24
JB
12212004-04-07 Jim Blandy <jimb@redhat.com>
1222
1223 * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for
1224 %esp and %ebp
1225
70b216c8
MK
12262004-04-07 Mark Kettenis <kettenis@gnu.org>
1227
11d5789c
MK
1228 * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.
1229 * config/sparc/linux64.mt (TDEPFILES): Likewise.
1230 * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
1231 * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
1232 and solib-legacy.o.
1233 * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and
1234 solib-svr4.o.
1235 * config/sparc/tm-sol2.h: Update copyright year. Include
1236 "solib.h".
1237
70b216c8
MK
1238 * sparc-sol2-tdep.c: Update copyright year. Include
1239 "solib-svr4.h".
1240 (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
1241 * sparc64-sol2-tdep.c: Include "solib-svr4.h".
1242 (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
096f864c 1243 * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update
70b216c8
MK
1244 dependencies.
1245
6339dc9e
AC
12462004-04-06 Andrew Cagney <cagney@redhat.com>
1247
1248 * infttrace.c: Include "infttrace.h".
1249 * infttrace.h: Include "target.h".
1250 * Makefile.in (infttrace_h): Update.
1251 (infttrace.o): Update.
8718a420 1252
93449403
AC
12532004-04-06 Andrew Cagney <cagney@redhat.com>
1254
6d518969
AC
1255 * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
1256 (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
1257 move extern declarations from here ...
1258 * infttrace.h: ... to here.
1259 * Makefile.in (hppah-nat.o): Update dependencies.
1260
85f4f2d8
AC
1261 * hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
1262 (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
8718a420 1263 * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
85f4f2d8
AC
1264 (hppa_breakpoint_from_pc): Delete.
1265
93449403
AC
1266 * MAINTAINERS: Mark hppa-elf as buildable with -Werror.
1267
71456ec6
AC
12682004-04-05 Andrew Cagney <cagney@redhat.com>
1269
1270 * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
1271 <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
1272 <sys/file.h>.
8718a420 1273
4c02c60c
AC
12742004-04-06 Randolph Chung <tausq@debian.org>
1275
1276 Committed by Andrew Cagney (mechanical change).
1277 * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present,
1278 exception_catchpoints_are_fragile, find_stub_with_shl_get,
1279 cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support,
1280 child_enable_exception_callback, current_ex_event,
1281 null_symtab_and_line, child_get_current_exception_event,
1282 HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value,
1283 HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw,
1284 HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support,
1285 hp_cxx_exception_support_initialized, eh_notify_hook_addr,
1286 eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr,
1287 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior):
1288 Move hpux-specific definitions ...
1289 * hppa-hpux-tdep.c: ... to here.
1290
3a515653
AC
12912004-04-05 Andrew Cagney <cagney@redhat.com>
1292
1293 * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
1294 skip_prologue_using_sal.
1295
c1730d02
AC
12962004-04-05 Andrew Cagney <cagney@redhat.com>
1297
1298 * config/i386/tm-i386.h: Delete file.
1299 * config/i386/tm-vxworks.h: Update copyright, do not include
1300 "tm-i386.h".
1301 * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto.
1302 * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto.
1303 * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto.
1304 * config/i386/ncr3000.mt (TM_FILE): Delete.
1305 * config/i386/interix.mt (TM_FILE): Delete.
1306 * config/i386/i386v.mt (TM_FILE): Delete.
1307 * config/i386/i386nw.mt (TM_FILE): Delete.
1308 * config/i386/i386gnu.mt (TM_FILE): Delete.
1309 * config/i386/i386aout.mt (TM_FILE): Delete.
1310 * config/i386/embed.mt (TM_FILE): Delete.
1311
8b67aa36
KB
13122004-04-05 Kevin Buettner <kevinb@redhat.com>
1313
1314 * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
1315 (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
1316 (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
1317 (accg7_regnum): New constants.
1318 (last_spr_regnum, last_pseudo_regnum): Update.
c2f59a1a
KB
1319 * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
1320 accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
8b67aa36
KB
1321 (frv_pseudo_register_read, frv_pseudo_register_write): Add support
1322 for accg registers.
1323 (frv_register_sim_regno): Update spr_map[].
1324
3c7012f5
AC
13252004-04-04 Andrew Cagney <cagney@redhat.com>
1326
1327 * config/mips/xm-riscos.h: Delete.
1328 * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete.
1329 * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete.
1330 * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete.
1331 * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete.
1332 * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete.
1333 * config/mips/decstation.mh, config/mips/littlemips.mh: Delete.
1334 * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete.
1335 * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete.
1336 * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete.
1337 * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete.
1338 * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete.
1339 * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete.
1340 * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete.
1341 * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete.
1342 * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete.
1343 * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete.
1344 * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete.
1345 * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete.
1346 * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete.
1347 * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete.
1348 * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete.
1349 * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete.
1350 * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete.
1351 * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete.
1352 * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete.
1353 * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete.
8718a420 1354
3c7012f5
AC
1355 * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*,
1356 m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*,
1357 m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*.
1358 * configure.host: Remove m680[01]0-sun-sunos3*,
1359 m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*,
1360 m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*,
1361 m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*,
1362 mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*,
1363 mips-*-riscos*.
1364 * NEWS: Mention removed systems.
1365
99d16a21
AC
13662004-04-04 Andrew Cagney <cagney@redhat.com>
1367
1368 GDB 6.1 release created from 6.1 branch.
1369
6cdf9d98
AC
13702004-04-04 Andrew Cagney <cagney@redhat.com>
1371
98d346c3
AC
1372 * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
1373 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
1374 * remote-vx68.c (vx_read_register, vx_write_register): Ditto.
1375
6cdf9d98
AC
1376 * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
1377 * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
1378 * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
1379
859a326d
JB
13802004-04-03 Jim Blandy <jimb@redhat.com>
1381
1382 * MAINTAINERS: Chris Faylor has changed employers; add him to
1383 "paper trail" section, and update his E-mail address.
1384
b87178c3
AC
13852004-04-03 Andrew Cagney <cagney@redhat.com>
1386
4ea2acf0
AC
1387 * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
1388 generic dummy frames.
1389 * dummy-frame.c: Update copyright.
1390 (dummy_frame_sniffer): Delete check for generic dummy frames.
1391
d0bd2d18 1392 * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
8718a420 1393 * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
d0bd2d18
AC
1394 (REG_PARM_STACK_SPACE): Delete.
1395 * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
1396 Inline reference to REG_PARM_STACK_SPACE.
1397
b87178c3
AC
1398 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
1399 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
1400 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
1401 (FRAME_BASE_BEFORE_SIGTRAMP)
1402 (hppa32_hpux_frame_base_before_sigtramp)
1403 (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
1404 * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
1405 (hppa64_hpux_frame_find_saved_regs_in_sigtramp)
1406 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
1407 (FRAME_BASE_BEFORE_SIGTRAMP)
1408 (hppa64_hpux_frame_base_before_sigtramp)
1409 (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
1410
43e2e1a0
AC
14112004-04-03 Andrew Cagney <cagney@redhat.com>
1412
1413 * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00.
1414
ddc135a4
AC
14152004-04-02 Andrew Cagney <cagney@redhat.com>
1416
1417 * sh64-tdep.c (sh64_init_extra_frame_info): Replace
1418 DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
1419 * dummy-frame.h: Delete out-of-date comments.
1420 * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
1421 * gdbarch.h, gdbarch.c: Re-generate.
1422
d15bfd3a 14232004-04-02 Joel Brobecker <brobecker@gnat.com>
8718a420 1424
d15bfd3a
AC
1425 Committed by Andrew Cagney <cagney@redhat.com>.
1426 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take
1427 into account an instruction saving a register if we have already
1428 seen an earlier instruction saving that same register.
1429
f04ceafa
AC
14302004-04-02 Andrew Cagney <cagney@redhat.com>
1431
08be3abd
AC
1432 * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
1433 * gdbarch.h, gdbarch.c: Re-generate.
1434 * frame.c (legacy_get_prev_frame): Delete references to
1435 DEPRECATED_INIT_FRAME_PC_FIRST.
1436
f04ceafa
AC
1437 * infrun.c (pc_in_sigtramp): Delete function.
1438 (check_sigtramp2): Inline call to pc_in_sigtramp, use
1439 get_frame_type.
1440
08e69816
AC
14412004-04-02 Andrew Cagney <cagney@redhat.com>
1442
1443 * infrun.c (handle_step_into_function): Delete code conditional on
1444 legacy_frame_p.
1445 (handle_inferior_event, step_over_function): Ditto.
1446
adb54772
AC
14472004-04-02 Andrew Cagney <cagney@redhat.com>
1448
1449 * frame.c (get_prev_frame_1): Exclude signal trampolines from the
1450 "previous frame inner to this frame" test.
1451
304396fb
AC
14522004-04-02 Andrew Cagney <cagney@redhat.com>
1453
1454 * frame.c (safe_frame_unwind_memory): New function.
1455 * frame.h (safe_frame_unwind_memory): Declare. Update description
1456 of /safe_/ methods.
1457 * tramp-frame.c (tramp_frame_start): Re-order parmeters, add
1458 "next_frame". Use safe_frame_unwind_memory.
1459 (tramp_frame_sniffer): Update call to tramp_frame_start.
1460
6502dd73
DJ
14612004-04-01 Daniel Jacobowitz <drow@mvista.com>
1462
1463 * dwarf2read.c (dwarf2_objfile_data_key): New.
1464 (struct dwarf2_per_objfile, dwarf2_per_objfile): New.
1465 (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
1466 (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
1467 (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
1468 (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
1469 (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
1470 (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
1471 Remove variables.
1472 (struct dwarf2_pinfo): Remove per-objfile members. Update comments.
1473 (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
1474 (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
1475 (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
1476 (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
1477 (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
1478 Remove macros.
1479 (dwarf2_has_info): Take an objfile argument. Allocate per-objfile
1480 data.
1481 (dwarf2_locate_sections, dwarf2_build_psymtabs)
1482 (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
1483 (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
1484 (read_partial_die, read_full_die, read_indirect_string)
1485 (dwarf_decode_line_header, dwarf_decode_macros)
1486 (dwarf2_symbol_mark_computed): Remove use of removed macros.
1487 Update uses of removed variables.
1488 (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
1489 of removed macros.
1490 (_initialize_dwarf2_read): New function.
1491 * symfile.h (dwarf2_has_info): Update prototype.
1492 * coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
1493 * elfread.c (elf_symfile_read): Likewise.
1494
408752b0
JB
14952004-04-01 Jim Blandy <jimb@redhat.com>
1496
9f744501
JB
1497 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
1498 function for register numbers on all the rs6000-derived targets.
1499 (rs6000_gdbarch_init): Don't register a separate
1500 gdbarch_dwarf2_reg_to_regnum function for the E500. Use
1501 rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
1502 variants.
1503
408752b0
JB
1504 * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
1505 numbering.
1506
2de41bce
PH
15072004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com>
1508
1509 * valarith.c: Update copyright notice.
1510 (value_add): Handle range types.
1511 (value_sub): Ditto.
1512 (value_equal): Ditto.
1513 (value_less): Ditto.
1514 (value_neg): Ditto.
1515 (value_complement): Ditto.
8718a420 1516 (value_binop): Simplify slightly by using is_integral_type and
2de41bce 1517 eliminiating unnecessary COERCE_ENUMs.
8718a420 1518
5613d8d3
AC
15192004-03-31 Andrew Cagney <cagney@redhat.com>
1520
1521 * frame.h (frame_unwind_id): Declare.
1522 * frame.c (frame_unwind_id): New function.
1523 (get_prev_frame_1): New function.
1524 (frame_debug_got_null_frame): New function.
1525 (get_prev_frame): Use frame_debug_got_null_frame. Move unwind
1526 code proper to prev_frame, update description.
1527 * infrun.c (step_over_function): Use frame_unwind_id.
1528
c4557624
JB
15292004-04-31 J. Brobecker <brobecker@gnat.com>
1530
1531 * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
1532 (hppa64_push_dummy_call): Likewise.
1533
3e6bb910
JB
15342004-03-30 Jim Blandy <jimb@redhat.com>
1535
1536 From Ulrich Weigand:
1537 * utils.c (query): Do not use a va_list variable multiple times.
1538
a2f23071
DJ
15392004-03-29 Daniel Jacobowitz <drow@mvista.com>
1540
1541 * Makefile.in (linux_nat_h): Update dependencies.
1542 * configure.in: Check for <gnu/libc-version.h>.
1543 * configure: Regenerate.
1544 * config.in: Regenerate.
1545 * linux-nat.h: Include "target.h". Add waitstatus field to
1546 struct lwp_info.
1547 * lin-lwp.c (add_lwp): Initialize waitstatus.kind.
1548 (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
1549 to.
1550 (lin_lwp_handle_extended): New function. Handle clone events.
1551 (wait_lwp): Use lin_lwp_handle_extended. Update comment about
1552 thread exit events.
1553 (child_wait): Handle clone events.
1554 (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
1555 * linux-nat.c (linux_enable_event_reporting): Turn on
1556 PTRACE_O_TRACECLONE.
1557 (linux_handle_extended_wait): Handle clone events.
1558 * thread-db.c: Include <gnu/libc-version.h>.
1559 (struct private_thread_info): Add dying flag.
1560 (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
1561 higher.
1562 (attach_thread): Update comments. Handle dying threads.
1563 (detach_thread): Set the dying flag.
1564 (check_event): Always call attach_thread.
1565
8d5f9dcb
DJ
15662004-03-29 Daniel Jacobowitz <drow@mvista.com>
1567
1568 * mips-tdep.c (mips_pdr_data): New.
1569 (non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
1570 (_initialize_mips_tdep): Initialize mips_pdr_data.
1571
66337bb1
CV
15722004-03-29 Corinna Vinschen <vinschen@redhat.com>
1573
1574 * minsyms.c (install_minimal_symbols): Move dropping leading
1575 char from linkage name from here...
1576 (prim_record_minimal_symbol_and_info): ...to here. Simplify
1577 test for "__gnu_compiled*" symbols.
1578
e802b915
JB
15792004-03-28 Jim Blandy <jimb@redhat.com>
1580
1581 * rs6000-tdep.c (skip_prologue): Recognize moves from argument
1582 registers to temp register r0 and byte stores as prologue
1583 instructions.
1584
72b56458
AC
15852004-03-28 Andrew Cagney <cagney@redhat.com>
1586
1587 * PROBLEMS (Stack backtraces): Rewrite. Remove reference to
1588 arm*-*-*.
1589
0bfbda3b
SC
15902004-03-28 Stephane Carrez <stcarrez@nerim.fr>
1591
1592 * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
1593 and switch the layout to force a display of register window.
1594
5a7225ed
JB
15952004-02-26 J. Brobecker <brobecker@gnat.com>
1596
1597 * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
1598 of the INTEGER class.
1599
81a07a45
JB
16002004-03-26 Jim Blandy <jimb@redhat.com>
1601
1602 * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
1603 bytes long on PPC GNU/Linux.
1604
8c691c7a
DC
16052004-03-26 David Carlton <carlton@kealia.com>
1606
1607 * PROBLEMS: Refer to gdb/1588 instead of gdb/826.
1608
103a0089
AC
16092004-03-25 Andrew Cagney <cagney@redhat.com>
1610
1611 * PROBLEMS: Add general section titles, remove references to
1612 specific releases.
1613
7a5ea0d4
DJ
16142004-03-25 Daniel Jacobowitz <drow@mvista.com>
1615
1616 * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
1617 INT_REGISTER_SIZE.
1618 (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
1619 FP_REGISTER_VIRTUAL_SIZE.
1620 * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
1621 of DEPRECATED_REGISTER_RAW_SIZE.
1622 (arm_register_type): Add gdbarch argument.
1623 (arm_register_raw_size, arm_register_virtual_size): Delete.
1624 (arm_register_byte, arm_extract_return_value)
1625 (arm_store_return_value, arm_get_longjmp_target): Update references
1626 to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
1627 (arm_gdbarch_init): Likewise. Don't set
1628 deprecated_register_raw_size, deprecated_register_virtual_size,
1629 deprecated_max_register_raw_size,
1630 deprecated_max_register_virtual_size, or
1631 deprecated_max_register_virtual_type. Do set register_type.
1632 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
1633 (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
1634 (FP_REGISTER_VIRTUAL_SIZE): Delete.
1635 (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
1636 (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
1637 * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
1638 INT_REGISTER_SIZE.
1639 * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
1640 (remote_rdp_store_register): Likewise.
1641
5792a79b
DJ
16422004-03-24 Daniel Jacobowitz <drow@mvista.com>
1643
1644 * Makefile.in (mips-linux-tdep.o): Update dependencies.
1645 * mips-tdep.c (mips_gdbarch_init): Move frame predicates
1646 to after osabi initialization.
1647 * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
1648 (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
1649 functions.
1650 (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
1651 (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
1652 variables.
1653 (mips_linux_init_abi): Append signal trampoline unwinders.
1654
1196bfda
AC
16552004-03-24 Andrew Cagney <cagney@redhat.com>
1656
1657 * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document.
1658 * tramp-frame.c: Include "gdb_assert.h".
1659 (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and
1660 correct sizeof.
1661 (tramp_frame_append): Validate the tramp frame's instructions.
1662 * Makefile.in (tramp-frame.o): Update dependencies.
1663
4be282b4
AC
16642004-03-23 Andrew Cagney <cagney@redhat.com>
1665
1666 * trad-frame.h (trad_frame_set_reg_addr): Declare.
1667
69aec09b
AC
16682004-03-23 Andrew Cagney <cagney@redhat.com>
1669
1670 * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando
1671 Nasser as past testsuite/lib/ (and other) maintainers.
1672
63ed89b4
DJ
16732004-03-23 Daniel Jacobowitz <drow@mvista.com>
1674
1675 * infcmd.c (attach_command): Reread symbols if we already have
1676 an exec file.
1677
f3b36427
AC
16782004-03-23 Andrew Cagney <cagney@redhat.com>
1679
1680 * rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
1681
aa2a3f87
AC
16822004-03-23 Andrew Cagney <cagney@redhat.com>
1683
1684 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate.
1685 * gdbarch.h, gdbarch.c: Re-generate.
1686 * i386obsd-tdep.c (i386obsd_init_abi): Update.
1687 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
1688 * i386bsd-tdep.c (i386bsd_init_abi): Update.
8718a420 1689 * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87 1690 (DEPRECATED_SIGTRAMP_START): Update.
8718a420 1691 * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87
AC
1692 (DEPRECATED_SIGTRAMP_START): Update.
1693 * blockframe.c (find_pc_sect_partial_function): Update.
1694 * arch-utils.c (legacy_pc_in_sigtramp): Update.
1695
00cac895
DJ
16962004-03-23 Daniel Jacobowitz <drow@mvista.com>
1697
1698 * remote.c (remote_open_1): Reopen the exec file and reread symbols
1699 if necessary.
1700
f561f026
AC
17012004-03-23 Andrew Cagney <cagney@redhat.com>
1702
1703 * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with
1704 predicate, deprecate.
1705 * gdbarch.h, gdbarch.c: Re-generate.
1706 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
1707 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
1708 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update.
1709 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
1710 * alphanbsd-tdep.c (alphanbsd_init_abi): Update.
1711 * amd64-linux-tdep.c (amd64_linux_init_abi): Update.
1712 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update.
1713 * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update.
1714 * amd64obsd-tdep.c (amd64obsd_init_abi): Update.
1715 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update.
1716 * blockframe.c (find_pc_partial_function): Update.
1717 * breakpoint.c (bpstat_what): Update.
1718 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update.
1719 * frv-linux-tdep.c (frv_linux_init_abi): Update.
1720 * frv-tdep.c (frv_sigtramp_frame_sniffer): Update.
1721 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update.
1722 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1723 * i386-linux-tdep.c (i386_linux_init_abi): Update.
1724 * i386-nto-tdep.c (i386nto_init_abi): Update.
1725 * i386-sol2-tdep.c (i386_sol2_init_abi): Update.
1726 * i386-tdep.c (i386_sigtramp_frame_sniffer)
1727 (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update.
1728 * i386bsd-tdep.c (i386bsd_init_abi): Update.
1729 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
1730 * i386obsd-tdep.c (i386obsd_init_abi): Update.
1731 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update.
1732 * infrun.c (pc_in_sigtramp): Update.
1733 * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update.
1734 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
1735 * mips-tdep.c (mips_gdbarch_init): Update.
1736 * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update.
1737 * ppc-linux-tdep.c: Update comment.
1738 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update.
1739 * shnbsd-tdep.c (shnbsd_init_abi): Update.
1740 * sparc-linux-tdep.c (sparc32_linux_init_abi): Update.
1741 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update.
1742 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update.
1743 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update.
1744 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update.
1745 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update.
1746 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update.
1747 * sparcobsd-tdep.c (sparc32obsd_init_abi): Update.
8718a420 1748
8050c72f
AC
17492004-03-23 Andrew Cagney <cagney@redhat.com>
1750
d2259dd3
AC
1751 * tramp-frame.h, tramp-frame.h: New files.
1752 * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o):
1753 Update rules to include "tramp-frame.h" and "tramp-frame.c".
1754
8050c72f
AC
1755 * Makefile.in: Update all dependencies.
1756
0db9b4b7
AC
17572004-03-23 Andrew Cagney <cagney@redhat.com>
1758
1759 * Makefile.in (trad_frame_h): Add $(frame_h).
1760 * trad-frame.h: Update copyright. Include "frame.h".
1761 (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
1762 (trad_frame_set_id, trad_frame_get_id): Declare.
1763 (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
1764 * trad-frame.c: Update copyright.
1765 (struct trad_frame_cache): Define.
1766 (trad_frame_cache_zalloc): New function.
1767 (trad_frame_set_id, trad_frame_get_id): New functions.
1768 (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
8718a420 1769
8e645ae7
AC
17702004-03-22 Andrew Cagney <cagney@redhat.com>
1771
1772 * s390-tdep.c (struct s390_stub_unwind_cache): Rename
1773 s390_pltstub_unwind_cache.
1774 (s390_stub_frame_unwind_cache): Rename
1775 s390_pltstub_frame_unwind_cache.
1776 (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
1777 (s390_stub_frame_prev_register): Rename
1778 s390_pltstub_frame_prev_register.
1779 (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
1780 (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
1781
1782 From Ulrich Weigand:
1783 * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
1784 pointer calls like PLT calls.
1785
34fcf120
DJ
17862004-03-22 Daniel Jacobowitz <drow@mvista.com>
1787
1788 * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
1789 PC rather than the partial function start address. Use the start
1790 address to sanity check the found PDR.
1791
5b917078
DJ
17922004-03-22 Daniel Jacobowitz <drow@mvista.com>
1793
1794 * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
1795 linux_handle_extended_wait.
1796
8adf9e78
AC
17972004-03-22 Andrew Cagney <cagney@redhat.com>
1798
c3122434
AC
1799 * rs6000-tdep.c (frame_initial_stack_address): Delete unused
1800 function.
1801
8adf9e78
AC
1802 * frame.h (generic_pop_current_frame): Delete declaration.
1803 (deprecate_pop_dummy_frame): Deprecate
1804 generic_pop_dummy_frame.
1805 * dummy-frame.c (deprecated_pop_dummy_frame): Update.
1806 (generic_pop_current_frame): Delete function.
1807 * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
1808 generic_pop_current_frame.
1809 * v850-tdep.c (v850_pop_frame): Update.
1810 * mcore-tdep.c (mcore_pop_frame): Update.
1811 * sh64-tdep.c (sh64_pop_frame): Update.
1812 * h8300-tdep.c (h8300_pop_frame): Update.
1813
90ba813f
AC
18142004-03-22 Andrew Cagney <cagney@redhat.com>
1815
1816 * frame.h (deprecated_pc_in_call_dummy): Rename
1817 generic_pc_in_call_dummy.
1818 * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
1819 * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
1820 generic_pc_in_call_dummy.
1821 (pc_in_dummy_frame): Make static.
1822 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
1823 * gdbarch.h, gdbarch.c: Re-generate.
1824 * dummy-frame.c (dummy_frame_sniffer): Simplify.
1825 * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
1826 (legacy_get_prev_frame): Ditto.
1827 * inferior.h: Delete reference to generic_pc_in_call_dummy in
1828 comment.
8718a420 1829
ca4bb888
AC
18302004-03-21 Andrew Cagney <cagney@redhat.com>
1831
244675f9
AC
1832 * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
1833 declaration and out-of-date comment.
1834 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
1835 Delete function.
1836 * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
1837 deprecated_pc_in_call_dummy.
1838
ca4bb888
AC
1839 * infrun.c (handle_inferior_event): For non legacy frames, use the
1840 frame ID and frame type to identify a signal trampoline. Update
1841 comments.
1842
1777c7b4
NW
18432004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>
1844
1845 * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
1846 * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
1847
82417da5
AC
18482004-03-21 Andrew Cagney <cagney@redhat.com>
1849
1850 * frame-unwind.h: Update copyright.
1851 (struct frame_data): Add opaque declaration.
1852 (frame_sniffer_ftype): Declare.
1853 (struct frame_unwind): Add "unwind_data" and "sniffer".
1854 (frame_unwind_register_unwinder): Declare.
1855 (frame_unwind_find_by_frame): Add parameter "this_cache".
1856 * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
1857 (legacy_get_prev_frame, legacy_get_prev_frame)
1858 (get_frame_type): Pass the prologue_cache to
1859 frame_unwind_find_by_frame.
1860 * frame-unwind.c (struct frame_unwind_table_entry): Add field
1861 "unwinder".
1862 (frame_unwind_register_unwinder): New function.
1863 (frame_unwind_find_by_frame): Handle an unwind sniffer.
1864
b2ba182e
PH
18652004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com>
1866
1867 * bcache.c (print_percentage): Use floating point to avoid
1868 incorrect results when portion*100 overflows.
1869
81332287
KB
18702004-03-19 Kevin Buettner <kevinb@redhat.com>
1871
1872 * ppc_tdep.h (ppc_linux_frame_saved_pc)
1873 (ppc_linux_init_extra_frame_info)
1874 (ppc_linux_frameless_function_invocation)
1875 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
1876 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
1877 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
1878 (rs6000_frame_chain): Delete declarations.
1879 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
1880 (ppc_linux_init_extra_frame_info)
1881 (ppc_linux_frameless_function_invocation)
1882 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
1883 (ppc_linux_init_abi): Remove registration of above deleted functions.
1884 * rs6000-tdep.c (rs6000_init_extra_frame_info)
1885 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
1886 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
1887 (rs6000_pop_frame, rs6000_frameless_function_invocation)
1888 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
1889 (rs6000_gdbarch_init): Remove registration of above deleted functions.
1890 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
1891 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
1892 frame management for all OSABIs.
1893
61a65099
KB
18942004-03-19 Andrew Cagney <cagney@redhat.com>
1895
1896 Committed by Kevin Buettner <kevinb@redhat.com>.
1897
1898 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
1899 Update copyright.
1900 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
1901 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
1902 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
1903 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
1904 unwinders. #ifdef legacy frame code.
1905 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
1906 "frame-base.h".
1907 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
1908 (struct rs6000_frame_cache, rs6000_frame_cache)
1909 (rs6000_frame_this_id, rs6000_frame_prev_register)
1910 (rs6000_frame_sniffer, rs6000_frame_unwind)
1911 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
1912 (rs6000_frame_base): Implement a traditional frame unwinder.
1913 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
1914 frame unwinder.
1915
88f7da05
KB
19162004-03-19 Kevin Buettner <kevinb@redhat.com>
1917
1918 * breakpoint.c (adjust_breakpoint_address): Don't adjust
1919 breakpoint address for watchpoints or the catch eventpoints.
1920 Add new paramter ``bptype''. Adjust all callers.
1921
f826dce1
AC
19222004-03-19 Andrew Cagney <cagney@redhat.com>
1923
33cb8b0f
AC
1924 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
1925
f826dce1
AC
1926 * PROBLEMS: Delete note that ARM does not use frame code, problem
1927 fixed.
1928
43b1ab88
AC
19292004-03-18 Andrew Cagney <cagney@redhat.com>
1930
292ab034
AC
1931 * stack.c (return_command): Delete code wrapped in #ifdef
1932 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
1933
43b1ab88
AC
1934 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
1935
dbfe4626
AC
19362004-03-18 Andrew Cagney <cagney@redhat.com>
1937
1938 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
1939 DEPRECATED_IN_SIGTRAMP.
1940 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1941 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
1942 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1943 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1944 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1945 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1946 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1947 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
1948 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
1949 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
1950
0cad6aec
AC
19512004-03-18 Andrew Cagney <cagney@redhat.com>
1952
1953 * frame-base.c: Update copyright. Include "gdb_obstack.h".
1954 (struct frame_base_table_entry): Define.
1955 (struct frame_base_table): Re-implement as a linked list.
1956 (frame_base_init): Re-implement.
1957 (frame_base_table): Delete function.
1958 (append_predicate): Delete function.
1959 (frame_base_append_sniffer): Update.
1960 (frame_base_set_default): Update.
1961 (frame_base_find_by_frame): Update.
1962 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
1963 * Makefile.in (frame-base.o): Update dependencies.
1964
9982c2e7
AC
19652004-03-17 Andrew Cagney <cagney@redhat.com>
1966
1967 * frame.c (legacy_get_prev_frame): Pass correct frame to
1968 frame_unwind_find_by_frame.
1969
8dfe8985
DC
19702004-03-17 David Carlton <carlton@kealia.com>
1971
1972 * NEWS: Mention C++ nested types and namespaces
1973
ed47347a
MC
19742004-03-16 Michael Chastain <mec.gnu@mindspring.com>
1975
1976 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
1977 and "Regressions since gdb 5.3.". Add known regressions since
1978 gdb 6.0.
1979
90aeadfc
DC
19802004-03-16 David Carlton <carlton@kealia.com>
1981
1982 * dwarf2read.c (process_structure_scope): Process children even
1983 when we're a declaration.
1984
73912b9b
AC
19852004-03-16 Andrew Cagney <cagney@redhat.com>
1986
1987 * symtab.h (find_pc_sect_partial_function): Delete declaration.
1988 * blockframe.c (find_pc_partial_function)
1989 (find_pc_sect_partial_function): Merge into a single
1990 find_pc_partial_function.
1991
283accbc
MK
19922004-03-16 Mark Kettenis <kettenis@gnu.org>
1993
1994 * i386bsd-nat.c: s/regno/regnum/g.
1995 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
1996 FP0_REGNUM.
1997 (store_inferior_registers): Likewise.
1998
f5b1afdf
MK
19992004-03-16 Mark Kettenis <kettenis@gnu.org>
2000
2001 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
2002 of i387_fill_fsave.
2003 (store_inferior_registers): Call i387_collect_fsave and
2004 i387_collect_fxsave instead of i387_fill_fsave and
2005 i387_fill_fxsave.
2006
41fe5eb3
AC
20072004-03-15 Andrew Cagney <cagney@redhat.com>
2008
2009 * Makefile.in (frame-unwind.o): Update dependencies.
2010 * frame-unwind.c: Include "gdb_obstack.h".
2011 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
2012 parameter.
2013 (append_predicate): Delete function.
2014 (struct frame_unwind_table_entry): New structure.
2015 (struct frame_unwind_table): Replace "sniffer" with "head" and
2016 "tail".
2017 (frame_unwind_append_sniffer): Update.
2018 (frame_unwind_find_by_frame): Update.
2019 (_initialize_frame_unwind): Registe frame_unwind_init using
2020 gdbarch_data_register_pre_init.
2021
3f63813d
MK
20222004-03-15 Mark Kettenis <kettenis@gnu.org>
2023
2024 * i386bsd-nat.c: Update copyright year.
2025 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
2026 define unconditionally.
2027
3248c325 20282004-03-15 Mark Kettenis <kettenis@gnu.org>
63b6c53f
MK
2029
2030 * i387-tdep.h (i387_collect_fsave): New prototype.
2031 * i387-tdep.c (i387_collect_fsave): New function containing most
2032 of the code from i387_fill_fsave.
3248c325 2033 (i387_fill_fsave): Call i387_collect_fsave.
63b6c53f 2034
871fbe6a
MK
20352004-03-15 Mark Kettenis <kettenis@gnu.org>
2036
2037 * i386-linux-tdep.c: Update copyright year.
2038 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
2039 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
2040 svr4_ilp32_link_map_offsets instead of
2041 i386_linux_svr4_fetch_link_map_offsets.
2042
8176b9b8
DC
20432004-03-15 David Carlton <carlton@kealia.com>
2044
2045 Fix for PR c++/1553:
2046 * dwarf2read.c (read_structure_type): Determine type name by
2047 calling determine_class_name.
2048 (determine_class_name): New.
2049 (determine_prefix): Look at TYPE_TAG_NAME and call
2050 determine_class_name when appropriate.
2051 (determine_prefix_aux, class_name): Delete.
9d58e29d 2052 (read_namespace): Set die->type.
8176b9b8 2053
fe8bf7d7
KB
20542004-03-15 Kevin Buettner <kevinb@redhat.com>
2055
2056 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
2057 unused macro definition. The definition in target.h (or perhaps
2058 elsewhere) takes precedence.
2059
ed6edd9b
AC
20602004-03-15 Andrew Cagney <cagney@redhat.com>
2061
f9be684a
AC
2062 * ppc-tdep.h: Update copyright.
2063 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
2064 function signatures to match "regsets.h".
2065 * ppc-linux-tdep.c: Include "regset.h".
2066 (ELF_GREGSET_SIZE): Delete.
2067 (right_supply_register): New function.
2068 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
2069 using right_supply_register.
2070 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
2071 functions.
2072 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
2073 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
2074 (_initialize_ppc_linux_tdep): Do not register
2075 ppc_linux_regset_core_fns.
2076 (ppc_linux_regset_from_core_section): Replace
2077 fetch_core_registers.
2078 (ppc_linux_regset_core_fns): Delete.
2079 * ppc-linux-nat.c: (right_fill_reg): New function.
2080 (supply_gregset): Update call to ppc_linux_supply_gregset.
2081 (fill_gregset): Clear the register set, use right_fill_reg.
2082 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
2083 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
2084
ed6edd9b
AC
2085 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
2086 unsigned.
2087
030f20e1
AC
20882004-03-15 Andrew Cagney <cagney@redhat.com>
2089
2090 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
2091 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
2092 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
2093 and register_gdbarch_data.
2094 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
2095 (struct gdbarch_data): Replace "init" by "pre_init" and
2096 "post_init".
2097 * gdbarch.h, gdbarch.c: Re-generate.
2098 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
2099 with"obstack", use OBSTACK_ZALLOC.
2100 (dwarf2_frame_ops): Delete.
2101 (dwarf2_frame_set_init_reg): Use gdbarch_data.
2102 (dwarf2_frame_init_reg): Use gdbarch_data.
2103 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
8718a420 2104 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
030f20e1
AC
2105 (_initialize_svr4_solib): Update.
2106 * user-regs.c (_initialize_user_regs): Update.
2107 * reggroups.c (_initialize_reggroup): Update.
2108 * regcache.c (_initialize_regcache): Update.
2109 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
2110 * libunwind-frame.c (_initialize_libunwind_frame): Update.
2111 * gnu-v3-abi.c (init_gnuv3_ops): Update.
2112 * frame-unwind.c (_initialize_frame_unwind): Update.
2113 * frame-base.c (_initialize_frame_base): Update.
2114 * user-regs.c (user_reg_add): Update.
2115 * reggroups.c (reggroup_add): Update.
2116 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
2117 * libunwind-frame.c (libunwind_frame_set_descr): Update.
2118 * frame-unwind.c (frame_unwind_append_sniffer): Update.
2119 * frame-base.c (frame_base_table): Update.
2120 * remote.c (_initialize_remote): Update.
2121 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
8718a420 2122
3111a3fc
AC
21232004-03-15 Andrew Cagney <cagney@redhat.com>
2124
2125 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
2126
5ecb7103
KB
21272004-03-15 Kevin Buettner <kevinb@redhat.com>
2128
2129 * Makefile.in (frv-linux-tdep.o): Add dependencies.
2130 * frv-linux-tdep.c: New file.
2131 * frv-tdep.c (struct gdbarch_tdep): Add new field
2132 ``sigcontext_reg_addr''.
2133 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
2134 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
2135 (frv_sigramp_frame_sniffer): New functions.
2136 (frv_sigtramp_frame_unwind): New static global.
2137 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
2138 sniffers.
2139 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
2140 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
2141
1ccda5e9
KB
21422004-03-15 Kevin Buettner <kevinb@redhat.com>
2143
2144 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
2145 but not via a call to error(), when unable to read memory.
2146
b375a0a5
KB
21472004-03-15 Kevin Buettner <kevinb@redhat.com>
2148
2149 * frv-tdep.c (frv_call_dummy_words): Delete.
2150 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
2151
4fdf6121
AC
21522004-03-15 Andrew Cagney <cagney@redhat.com>
2153
2154 * infrun.c (handle_step_into_function, step_over_function): Only
2155 update and use STEP_FRAME_ID when the system is using legacy
2156 frames. Update comments.
2157
34021503
MK
21582004-03-14 Mark Kettenis <kettenis@gnu.org>
2159
187e21d1
MK
2160 * amd64-linux-tdep.h: Remove file.
2161 * amd64-linux-tdep.c: Don't include "inferior.h" and
2162 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
2163 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
2164 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
2165 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
2166 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
2167 macros.
2168 (user_to_gdb_regmap): Remove variable.
2169 (amd64_linux_gregset_reg_offset): New variable.
2170 (amd64_core_fns): Remove variable.
2171 (fetch_core_registers): Remove function.
2172 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
2173 functions.
2174 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
2175 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
2176 * Makefile.in (amd64_linux_tdep_h): Remove.
2177 (amd64-linux-nat.o): Update dependencies.
2178 (amd64-linux-tdep.o): Update dependencies.
2179
99679982
MK
2180 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
2181 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
2182 functions.
2183 (fetch_inferior_registers, store_inferior_registers): Rewrite.
2184
34021503
MK
2185 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
2186 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
2187
134d01f1
DJ
21882004-03-14 Daniel Jacobowitz <drow@mvista.com>
2189
2190 * dwarf2read.c (read_structure_type): Rename from
8718a420 2191 read_structure_scope. Don't create a symbol or call process_die.
134d01f1
DJ
2192 Return immediately if die->type is set. Call read_type_die before
2193 dwarf2_add_member_fn.
2194 (process_structure_scope): New function.
2195 (read_enumeration_type, process_enumeration_scope): New functions,
2196 broken out from read_enumeration. Don't create the enumeration
2197 type if it has already been created.
2198 (read_enumeration): Removed.
2199 (process_die): Call read_structure_type, process_structure_scope,
2200 read_enumeration_type, and process_enumeration_scope. Just call
2201 new_symbol for base and subrange types. Add a comment about other
2202 type dies.
2203 (read_type_die): Call read_enumeration_type.
2204 (add_partial_structure, new_symbol): Update comments.
2205
65760afb
SC
22062004-03-13 Stephane Carrez <stcarrez@nerim.fr>
2207
2208 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
2209
10f59415
SC
22102004-03-13 Stephane Carrez <stcarrez@nerim.fr>
2211
2212 * tui/tui-win.h (tui_get_cmd_list): Declare.
2213 * tui/tui-win.c (tui_command): New function.
2214 (tui_get_cmd_list): New function.
2215 (_initialize_tui_win): Moved initialization of tui command in
2216 tui_get_cmd_list.
2217
2218 * tui/tui-data.c (init_content_element): Setup new data members.
2219 (init_win_info): Likewise.
2220 (free_content_elements): Free it.
2221 * tui/tui-data.h (struct tui_data_element): Store the register
2222 content to print.
2223 (struct tui_data_info): Keep the current register group.
2224
2225 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
2226
2227 * tui/tui-regs.h (tui_show_registers): Update prototype.
2228 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
2229 (tui_resize_all): No need to calculate anything for register window.
2230 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
2231 (tui_set_register_element, tui_set_general_regs_content): Remove.
2232 (tui_set_special_regs_content): Remove.
2233 (tui_set_general_and_special_regs_content): Remove.
2234 (tui_set_float_regs_content): Remove.
2235 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
2236 (tui_set_regs_content): Remove.
2237 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
2238 (tui_v_show_registers_command_support): Remove.
2239 (tui_show_registers): Use a reggroup to specify the registers to show.
2240 (tui_show_register_group): New function.
2241 (tui_display_registers_from): Compute the layout of register window
2242 and refresh with new API; be sure to delete old register windows.
2243 (tui_check_register_values): Update to use tui_get_register and
2244 tui_display_data.
2245 (tui_display_register): Just refresh the register window part.
2246 (tui_register_format): Format registers and save in tui_data_element.
2247 (tui_get_register): New to combine tui_reg_value_has_changed and
2248 tui_get_register_raw_value; fix to use the new gdb API.
2249 (tui_show_float_command): Renamed tui_reg_float_command.
2250 (tui_show_general_command): Renamed tui_reg_general_command.
2251 (tui_show_special_command): Renamed tui_reg_system_command.
2252 (_initialize_tui_regs): Remove unused commands.
2253
c3364ea4
MK
22542004-03-13 Mark Kettenis <kettenis@gnu.org>
2255
27d1e716
MK
2256 * NEWS (New native configurations): Mention OpenBSD/amd64.
2257
c3364ea4
MK
2258 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
2259 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
2260 Remove defines.
2261 * config/i386/nm-fbsd64.h: Likewise.
2262 * config/i386/nm-obsd.h: Likewise.
2263 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
2264 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
2265
b2d6d697
KB
22662004-03-12 Kevin Buettner <kevinb@redhat.com>
2267
2268 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
2269 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
2270 New constants.
2271
76e43199
KB
2272 From Richard Sandiford <rsandifo@redhat.com>:
2273 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
2274
34ce532e
KB
22752004-03-12 Kevin Buettner <kevinb@redhat.com>
2276
2277 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
2278 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
2279 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
2280 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
2281 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
2282 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
2283 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
2284 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
2285 definitions from frv-tdep.c to frv-tdep.h.
2286
c4d10515
KB
22872004-03-12 Kevin Buettner <kevinb@redhat.com>
2288
2289 Add shared library support for FR-V FDPIC ABI:
2290 * Makefile.in (solib-frv.o): Add dependencies.
2291 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
2292 New functions.
2293 (frv_push_dummy_call): Add support for FDPIC ABI.
2294 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
2295 for FDPIC ABI.
2296 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
2297 (frv_fdpic_find_canonical_descriptor): Declare.
2298 * solib-frv.c: New file.
2299 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
2300 * config/frv/tm-frv.h (solib.h): Include.
2301
ed1bd989
KB
23022004-03-12 Kevin Buettner <kevinb@redhat.com>
2303
2304 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
2305 (frv-tdep.o): Update dependencies.
2306 * frv-tdep.h: New file.
2307 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
2308 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
2309 constants.
2310 (struct gdbarch_tdep): Add new member ``frv_abi''.
2311 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
2312 functions.
2313 (new_variant): Set ``frv_abi'' field.
2314 (gdb_arch_init): Detect FDPIC executables.
2315
82b38f72
MK
23162004-03-12 Mark Kettenis <kettenis@gnu.org>
2317
2318 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
2319 wrapper.
2320
db1ea9ba
AC
23212004-03-11 Andrew Cagney <cagney@redhat.com>
2322
2323 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
2324
f8766ec1
KB
23252004-03-11 Kevin Buettner <kevinb@redhat.com>
2326
2327 * solist.h (master_so_list): New function.
2328 * solib.c (master_so_list): Likewise.
2329 * solib-svr4.c (enable_break): Iterate over so_list entries
2330 obtained from master list instead of entries obtained directly
2331 via svr4_current_sos().
2332
523f6a27
BE
23332004-03-10 Ben Elliston <bje@gnu.org>
2334
2335 * MAINTAINERS: Update my mail address.
2336
37814c18
KI
23372004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
2338
2339 * remote-m32r-sdi.c: Support hardware watchpoint.
2340
8b9740d8
DJ
23412004-03-09 Daniel Jacobowitz <drow@mvista.com>
2342
2343 * user-regs.c: Update copyright years.
2344 (struct user_regs): Rename to gdb_user_regs.
2345 (append_user_reg, builtin_user_regs, user_regs_init)
2346 (user_reg_add, user_reg_map_name_to_regnum)
2347 (usernum_to_user_reg): Update.
2348
4bb7a0a7
DJ
23492004-03-09 Daniel Jacobowitz <drow@mvista.com>
2350
2351 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
2352 (skip_children): New functions.
2353 (locate_pdi_sibling): Call skip_children.
2354
44e1a9eb
DJ
23552004-03-09 Daniel Jacobowitz <drow@mvista.com>
2356
2357 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
2358 * gdbtypes.c (check_typedef): Update comments.
2359
f3dd6933
DJ
23602004-03-09 Daniel Jacobowitz <drow@mvista.com>
2361
2362 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
2363 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
2364 pointer. Update comment about comp_unit_head.
2365 (struct abbrev_info): Shorten two int flags.
2366 (dwarf_alloc_abbrev): Take a CU argument.
2367 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
2368 each time through the loop. Update cleanup argument.
2369 (psymtab_to_symtab_1): Update cleanup call.
2370 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
2371 abbrev_obstack.
2372 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
2373 Just call obstack_free and clear the pointer.
2374
b40c7d58
DJ
23752004-03-09 Daniel Jacobowitz <drow@mvista.com>
2376
2377 * infrun.c (handle_inferior_event): Remove short-circuit code for
2378 events in a different thread.
2379
333dabeb
DJ
23802004-03-09 Daniel Jacobowitz <drow@mvista.com>
2381
2382 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
2383 print the whole transfer.
2384 (initialize_targets): Update description of "set debug target".
2385
aa17d93e
DJ
23862004-03-09 Daniel Jacobowitz <drow@mvista.com>
2387
2388 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
2389
0b71f08f
NW
23902004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
2391
2392 * MAINTAINERS (write after approval): Add myself.
2393
3930f270
CV
23942004-03-08 Corinna Vinschen <vinschen@redhat.com>
2395
2396 * sh-tdep.c (sh_print_registers_info): Use for loop.
2397 Don't skip multiple registers when a float register is encountered.
2398
a2b4a96c
CV
23992004-03-08 Corinna Vinschen <vinschen@redhat.com>
2400
2401 Fix PR tdep/1291.
2402 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
2403 to official SH documentation.
2404
f15a4bc0
AC
24052004-03-07 Andrew Cagney <cagney@redhat.com>
2406
2407 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
2408 unused function.
2409
9498281f
DJ
24102004-03-07 Daniel Jacobowitz <drow@mvista.com>
2411
2412 * arm-tdep.c (thumb_get_next_pc): Handle BX.
2413 (arm_get_next_pc): Handle BX and BLX.
2414
449e1137
AC
24152004-03-07 Andrew Cagney <cagney@redhat.com>
2416
eded0a31
AC
2417 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
2418 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
2419 HPPA_SP_REGNUM.
2420 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
2421 (hppa_target_read_fp): Delete.
2422 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
2423 register_virtual_size, max_register_raw_size,
2424 max_register_virtual_size, register_byte, register_size,
2425 target_read_fp, fp_regnum, and register_bytes. Set register_type
2426 instead of register_virtual_type.
2427 (hppa32_register_type, hppa64_register_type): Replace
2428 hppa32_register_virtual_type and hppa64_register_virtual_type.
2429 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
2430 (HPPA_FP_REGNUM): Define.
2431
f5f907e2
AC
2432 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
2433
69b4bbe4
AC
2434 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
2435 (pa_do_registers_info): Delete.
2436 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
8718a420 2437 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
69b4bbe4 2438 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 2439
78161e48
AC
2440 * infcall.c (legacy_push_dummy_code): Delete #ifdef
2441 GDB_TARGET_IS_HPPA code.
2442 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
8718a420 2443 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
78161e48
AC
2444 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
2445 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
8718a420
RM
2446 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
2447 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
2448 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
78161e48 2449 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
8718a420
RM
2450 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
2451 (hppa_frameless_function_invocation, hppa64_store_return_value)
2452 (hppa_store_struct_return, hppa64_extract_return_value)
78161e48 2453 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
8718a420 2454 (hppa32_call_dummy_length, hppa64_call_dummy_length)
78161e48 2455 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
8718a420
RM
2456 (find_proc_framesize, deposit_21, restore_pc_queue)
2457 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 2458 (rp_saved, pc_in_linker_stub): Delete.
78161e48 2459
782eae8b
AC
2460 Unconditionally enable 64-bit frame and ABI code.
2461 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
2462 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
2463 push_dummy_frame, fix_call_dummy, push_arguments,
2464 call_dummy_location, extract_return_value, use_struct_convention,
2465 store_return_value, store_struct_return, saved_pc_after_call,
2466 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
2467 frame_chain, frame_chain_valid, frameless_function_invocation,
2468 frame_saved_pc, and pop_frame.
78161e48 2469
449e1137
AC
2470 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
2471 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
2472 (hppa_gdbarch_init): Do not set PC_REGNUM.
2473
12507572
MK
24742004-03-06 Mark Kettenis <kettenis@gnu.org>
2475
2476 * config/alpha/tm-fbsd.h: Remove file.
2477 * config/alpha/fbsd.mt: Tweak comment.
2478 (TM_FILE): Set to tm-alpha.h.
2479
c107cc1b
AC
24802004-03-05 Andrew Cagney <cagney@redhat.com>
2481
2482 * infrun.c (step_over_function): When non-legacy code, and no
2483 step_frame_id, use the unwinder to get the caller's frame ID.
2484
f2e7c15d
MK
24852004-03-05 Mark Kettenis <kettenis@gnu.org>
2486
8b0c3633
MK
2487 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
2488 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
2489 bfd_arch_unknown. Adjust comment.
2490
f2e7c15d
MK
2491 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
2492 * i386obsd-tdep.c: Correct spelling in comment.
2493 * i386nbsd-tdep.c: Correct spelling in comment.
2494 * sparc-tdep.c: Correct spelling in comments.
2495
1198ecbe
DC
24962004-03-05 David Carlton <carlton@kealia.com>
2497
2498 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
2499 bug.
2500
9eb42ed1
MK
25012004-03-05 Mark Kettenis <kettenis@gnu.org>
2502
2503 * sparc-tdep.c: Fix typo in comment.
2504
52b5e991
JB
25052004-03-04 J. Brobecker <brobecker@gnat.com>
2506
2507 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
2508
d8151005
DJ
25092004-03-04 Daniel Jacobowitz <drow@mvista.com>
2510
2511 * dwarf2read.c: Add comment describing memory lifetimes.
2512 (struct dwarf2_pinfo): Update comment.
2513 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
2514 (read_enumeration, new_symbol): Don't use obsavestring.
2515
cbeae229
MK
25162004-03-04 Mark Kettenis <kettenis@gnu.org>
2517
722d18c2
MK
2518 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
2519 instead of amd64_fill_fxsave.
2520 * amd64bsd-nat.c (store_inferior_registers): Likewise.
2521 * amd64fbsd-nat.c (fill_fpregset): Likewise.
2522
cbeae229
MK
2523 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
2524 Reorganize code a bit.
2525
b4206d25
OF
25262004-03-04 Orjan Friberg <orjanf@axis.com>
2527
2528 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
8718a420
RM
2529 when the frame pointer is pushed. Don't set the frame pointer's
2530 address on the stack unless it's actually located there.
b4206d25
OF
2531 Set the SRP's address on the stack correctly when the PC is still in
2532 the prologue.
2533 (cris_return_value): New function.
2534 (cris_gdbarch_init): Clear deprecated store_return_value,
2535 extract_return_value.
2536
49b0b195
JB
25372004-03-02 Jim Blandy <jimb@redhat.com>
2538
2539 * stabsread.c (reg_value_complaint): The maximum register number
2540 is one less than the number of registers.
2541
e9ff708b
AC
25422004-03-02 Andrew Cagney <cagney@redhat.com>
2543
2544 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
2545 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
2546 trailing comma and redundant assignment of I386_ST0_REGNUM.
2547 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
2548 32-bit segment registers.
2549
d4715e41
AC
25502004-03-01 Andrew Cagney <cagney@redhat.com>
2551
2552 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
2553 use frame_relative_level and get_next_frame.
2554
3ce2bf18
AC
25552004-02-29 Andrew Cagney <cagney@redhat.com>
2556
2557 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
2558 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
2559 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
2560 Delete macro.
2561
2da6aac3
DJ
25622004-02-29 Daniel Jacobowitz <drow@mvista.com>
2563
2564 * inflow.c (terminal_inferior): Don't give up the terminal if we
2565 previously couldn't get the inferior's terminal state.
2566
6ba34a8d
DJ
25672004-02-29 Daniel Jacobowitz <drow@mvista.com>
2568
2569 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
2570 PC_REGNUM.
2571
faae5abe
AC
25722004-02-28 Andrew Cagney <cagney@redhat.com>
2573
2574 * NEWS: Refer to GDB 6.1.
2575 * README: Refer to GDB 6.1.
2576 * PROBLEMS: Refer to GDB 6.1.
2577
2227a3c5
DJ
25782004-02-28 Daniel Jacobowitz <drow@mvista.com>
2579
2580 * thread-db.c (disable_thread_signals): Remove unused function.
2581
80571bff
MK
25822004-02-28 Mark Kettenis <kettenis@gnu.org>
2583
041bd74b
MK
2584 * amd64-nat.c: Include "gdb_string.h".
2585 (amd64_collect_native_gregset): Zero-extend the 32-bit
2586 general-purpose registers and %eip.
2587
3c017e40
MK
2588 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
2589 * amd64-tdep.c (amd64_collect_fxsave): New function.
2590 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
2591
80571bff
MK
2592 * i387-tdep.h: Update copyright year.
2593 (i387_collect_fxsave): New prototype.
2594 * i387-tdep.c: Update copyright year.
2595 (i387_collect_fxsave): New function containing most of the code
2596 from i387_fill_fxsave.
2597 (i387_fill_fxsave): Call i387_collect_fxsave.
2598
50d71875
AC
25992004-02-28 Andrew Cagney <cagney@redhat.com>
2600
2601 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
2602 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
2603
4a28816e
MK
26042004-02-28 Mark Kettenis <kettenis@gnu.org>
2605
2606 * amd64-tdep.c (amd64_frame_cache): Fix comment.
2607
dbda9972
AC
26082004-02-28 Andrew Cagney <cagney@redhat.com>
2609
2610 * utils.c: Use "", instead of <>, to include readline.
2611 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
2612 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
2613 * source.c, solib.c, exec.c, event-top.c: Ditto.
2614 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
2615 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
2616 * Makefile.in: Update all dependencies.
2617 (readline_tilde_h, readline_history_h): Define.
2618 (readline_headers): Delete.
2619
83277a99
MK
26202004-02-28 Mark Kettenis <kettenis@gnu.org>
2621
91ae4303
MK
2622 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
2623 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
2624 "config/i386/tm-lx64.h".
2625
83277a99
MK
2626 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
2627 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
2628 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2629
6e1d7d6c
AC
26302004-02-28 Andrew Cagney <cagney@redhat.com>
2631
ecc9ac84
AC
2632 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
2633
6e1d7d6c
AC
2634 * breakpoint.c (_initialize_breakpoint): Use
2635 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
2636 Add help to show command.
2637
9671aeef
MK
26382004-02-28 Mark Kettenis <kettenis@gnu.org>
2639
7fa2737c
MK
2640 * i386-nat.c: Reformat to be closer to coding standards.
2641 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
2642 `retval'. Make variables `align' and `size' local to while-loop.
2643 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
2644 (_initialize_i386_nat): New prototype.
2645
9671aeef
MK
2646 * tui/tui.c: Include <readline/readline.h> instead of
2647 "readline/readline.h". Include it after <term.h> and
2648 "gdb_curses.h".
2649
fca7aa43
AC
26502004-02-27 Andrew Cagney <cagney@redhat.com>
2651
412275d5
AC
2652 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
2653 the new frame unwind code.
2654 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
2655 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
2656 PCOQ_HEAD_REGNUM.
2657
fca7aa43
AC
2658 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
2659 "return_value" and "push_dummy_call".
2660 (hppa32_use_struct_convention): Delete unused function.
2661 (hppa32_store_return_value): Delete unused function.
2662 (hppa32_extract_return_value): Delete unused function.
2663 (hppa32_stack_align): Delete function.
2664
e6a8a7d2
EZ
26652004-02-27 Eli Zaretskii <eliz@elta.co.il>
2666
2667 * coffread.c (enter_linenos): Don't let rawptr reference memory
2668 outside linetab[]'s limits.
2669
1797a8f6
AC
26702004-02-27 Andrew Cagney <cagney@redhat.com>
2671
2672 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
2673 inferior stack space - the stack needs to grow upwards.
2674 (hppa32_frame_align): New function.
2675 (hppa64_frame_align): Replace hppa_frame_align.
2676 (hppa_gdbarch_init): Update.
2677
2e4b5889
OF
26782004-02-26 Orjan Friberg <orjanf@axis.com>
2679
2680 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
2681 (dwarf2-frame.h): Include.
2682 (enum cris_regnums): New enum CRIS_FP_REGNUM.
2683 Remove static variables related to ABI setting.
2684 (struct gdbarch_tdep): Remove cris_abi member.
2685 (struct frame_extra_info): Remove.
2686 (cris_unwind_cache, stack_item): New structs.
2687 (cris_frame_unwind, cris_frame_base): New variables.
2688 (push_stack_item, pop_stack_item)
2689 (cris_frame_unwind_cache, cris_frame_this_id)
2690 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
2691 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
2692 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
2693 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
2694 (cris_reg_struct_has_addr): New functions.
2695 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
8718a420 2696 (cris_frame_saved_pc, cris_saved_pc_after_call,
2e4b5889
OF
2697 (cris_store_struct_return, cris_frameless_function_invocation)
2698 (cris_pop_frame, cris_skip_prologue_main)
2699 (cris_abi_original_store_return_value)
2700 (cris_abi_v2_store_return_value)
2701 (cris_abi_original_extract_return_value)
2702 (cris_abi_v2_extract_return_value)
2703 (cris_abi_original_reg_struct_has_addr)
2704 (cris_abi_v2_reg_struct_has_addr)
2705 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
2706 (cris_push_return_address, cris_abi_update): Remove.
2707 (_initialize_cris_tdep): Remove ABI command.
2708 (cris_dump_tdep): Ditto.
8718a420 2709 (cris_gdbarch_init): Remove ABI command.
2e4b5889
OF
2710 Set store_return_value, extract_return_value, push_dummy_code,
2711 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
2712 frame_unwind_append_sniffer, frame_base_set_default.
2713 Clear deprecated init_frame_pc, push_arguments, store_return_value,
2714 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
2715 sizeof_call_dummy_words, get_saved_register, push_return_address,
8718a420 2716 pop_frame, store_struct_return, frame_init_saved_regs,
2e4b5889
OF
2717 init_extra_frame_info, frameless_function_invocation, frame_chain,
2718 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
2719 dummy_write_sp.
8718a420 2720
6b9acc27
JJ
27212004-02-26 Jeff Johnston <jjohnstn@redhat.com>
2722
2723 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
2724 * valprint.c (print_hex_chars): Change from static to external.
2725 (print_char_chars): New function.
2726 * printcmd.c (print_scalar_formatted): For integer and enum types
2727 that are longer than LONGEST, perform processing via appropriate
2728 print_*_chars routines.
2729
a431654a
AC
27302004-02-26 Andrew Cagney <cagney@redhat.com>
2731
2732 * Makefile.in: Update dependencies.
2733 Changes from Ulrich Weigand,
2734 * s390-tdep.c: Include "dwarf2-frame.h".
2735 (s390_dwarf2_frame_init_reg): New function.
2736 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
2737 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
2738
fa8d40ab
JJ
27392004-02-26 Jeff Johnston <jjohnstn@redhat.com>
2740
2741 * breakpoint.c (pending_break_support): New setting variable.
2742 (break_command_1): Account for pending_break_support setting
2743 when creating pending breakpoints.
2744 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
2745 (_initialize_breakpoint): Add "set breakpoint pending" and
2746 "show breakpoint pending" commands.
2747
0dcd613f
AC
27482004-02-26 Andrew Cagney <cagney@redhat.com>
2749
2750 Fix PR i18n/1570.
2751 * charset.c (backslashable, backslashed, represented): Remove 'e'
2752 from list of escaped characters, not part of ISO-C.
2753
479272a3
JB
27542004-02-25 J. Brobecker <brobecker@gnat.com>
2755
2756 From Peter Schauer <schauer@pdf.de>:
2757 * tui/tui.c: Move system header includes after local includes.
2758 Fixes a build failure on solaris systems.
2759
7613d933
JB
27602004-02-25 J. Brobecker <brobecker@gnat.com>
2761
2762 * configure.in: Refine the previous change.
2763 * configure: Regenerate.
2764
9c1488cb
MK
27652004-02-25 Mark Kettenis <kettenis@gnu.org>
2766
2767 * amd64-tdep.h: Renamed from x86-64-tdep.h.
2768 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
2769 "amd64-tdep.h" instead of "x86-64-tdep.h".
2770 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
2771 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
2772 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
2773 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
2774 and "x86-64-tdep.c".
2775 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
2776 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
2777 and "x86-64-tdep.c".
2778 * amd64bsd-nat.c: Update copyright year.
2779 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
2780 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
2781 "x86-64-tdep.h".
2782 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
2783 "x86-64-tdep.h".
2784 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
2785 "x86-64-tdep.h".
2786 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
2787 "x86-64-tdep.h".
2788 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
2789 "x86-64-tdep.h".
2790 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
2791 "x86-64-tdep.h".
8718a420 2792 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
9c1488cb
MK
2793 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
2794 * Makefile.in (amd64_linux_tdep_h): Renamed from
2795 x86_64_linux_tdep_h.
2796 (amd64_tdep_h): Renamed from x86_64_tdep_h.
2797 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
2798 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
2799 (amd64obsd-tdep.o): Update dependencies.
2800 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
2801 dependencies.
2802 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
2803 dependencies.
2804 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
2805 amd64-linux-nat.c amd64-linux-tdep.c.
2806 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
2807 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
2808 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
2809 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
2810 amd64-tdep.o and amd64-linux-tdep.o.
2811 (TM_FILE): Set to tm-linux64.h.
2812 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
2813 (NAT_FILE): Set to nm-linux64.h.
2814 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
2815 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
2816 amd64-tdep.o.
2817 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
2818 amd64-tdep.o.
2819 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
2820 amd64-tdep.o.
2821
4b8dad4a
RM
28222004-02-25 Roland McGrath <roland@redhat.com>
2823
2824 * remote.c (remote_protocol_qPart_auxv): New variable.
2825 (init_all_packet_configs): Initialize it.
2826 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
2827 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
2828 (show_remote_cmd): Call it.
2829 (_initialize_remote): Initialize commands.
2830 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
2831 service TARGET_OBJECT_AUXV requests.
2832
66745969
JB
28332004-02-25 J. Brobecker <brobecker@gnat.com>
2834
2835 * configure.in: Make sure that the wborder function is available.
2836 Otherwise, search for it in the cur_colr library.
2837 * configure: Regenerate.
2838
79508e1e
AC
28392004-02-25 Andrew Cagney <cagney@redhat.com>
2840
2841 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
2842
571ee600
MK
28432004-02-25 Mark Kettenis <kettenis@gnu.org>
2844
2845 * config/i386/tm-x86-64linux.h: Tweak comments.
2846
2b1b322f 28472004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
2848
2849 * MAINTAINERS: Add self to write-after-approval list.
2850
4d2acc65
AC
28512004-02-25 Andrew Cagney <cagney@redhat.com>
2852
4b8dad4a 2853 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
2854 * cli/cli-script.c (execute_control_command): Unconditionally
2855 install a cleanup. Default "ret" to "invalid_control". Use
2856 "break" instead of "return" to escape from the switch.
2857
4cfcaf21
JB
28582004-02-24 J. Brobecker <brobecker@gnat.com>
2859
2860 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
2861 with the lines macro defined in term.h on AiX.
2862 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
2863 a collision with the label_width macro defined in term.h on AiX.
2864
54a5c8d8
KB
28652004-02-23 David Mosberger <davidm@hpl.hp.com>
2866
2867 Committed by Kevin Buettner <kevinb@redhat.com>.
2868
2869 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
2870 * ia64-tdep.c (ia64_write_pc): Make it a global function.
2871 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
2872 instead of ia64_write_pc().
2873 * ia64-linux-tdep.c (regcache.h): Include.
2874 (ia64_linux_write_pc): New function.
4b8dad4a 2875
8a1dac83
RM
28762004-02-23 Roland McGrath <roland@redhat.com>
2877
2878 * auxv.c (info_auxv_command): Fix typos in error messages.
2879
90f90721
MK
28802004-02-23 Mark Kettenis <kettenis@gnu.org>
2881
8a1dac83 2882 * x86-64-tdep.h: Tweak comment.
90f90721
MK
2883 (enum amd64_regnum): New.
2884 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
2885 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
2886 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
2887 (X86_64_XMM1_REGNUM): Removed.
2888 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
2889 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
2890 prototypes for renamed functions.
2891 * x86-64-tdep.c: Fix typo.
2892 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
2893 register numbers.
2894 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
2895 Use constants from `enum amd64_regnum' for register numbers.
2896 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
2897 (amd64_analyze_prologue, amd64_frame_cache,
2898 amd64_sigtramp_frame_cache): Use constants from `enum
2899 amd64_regnum' for register numbers.
2900 (amd64_supply_fpregset): Adjust for renamed functions.
2901 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
2902 `enum amd64_regnum' for register numbers.
2903 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
2904 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
2905 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
2906 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
2907 (amd64_linux_fill_gregset): Adjust for renamed macros.
2908 (fetch_core_registers): Adjust for renamed functions.
2909 (amd64_linux_init_abi): Adjust for renamed functions.
2910 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
2911 renamed functions.
2912 * amd64-nat.c: Adjust for renamed macros.
2913 * amd64bsd-nat.c (fetch_inferior_registers)
2914 (store_inferior_registers): Use constants from `enum amd64_regnum'
2915 for register numbers. Adjust for renamed variables.
2916 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
2917 renamed variables.
2918 (_initialize_amd64fbsd_nat): Use constants from `enum
2919 amd64_regnum' for register numbers.
2920 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
2921 `enum amd64_regnum' for register numbers.
2922 (amd64fbsd_init_abi): Adjust for renamed functions.
2923 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
2924 `enum amd64_regnum' for register numbers.
2925 (amd64nbsd_init_abi): Adjust for renamed functions.
2926 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
2927 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
2928 `enum amd64_regnum' for register numbers.
2929 (amd64obsd_init_abi): Adjust for renamed functions.
2930 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
2931
d5479188
JJ
29322004-02-23 Jeff Johnston <jjohnstn@redhat.com>
2933
2934 * breakpoint.c (print_one_breakpoint): Do not output spaces
2935 after printing <PENDING> for a pending breakpoint.
2936
81cb7cc9
JJ
29372004-02-23 Jeff Johnston <jjohnstn@redhat.com>
2938
2939 * printcmd.c (print_scalar_formatted): Initialize val_long
2940 to remove compiler warning message.
2941
cbdeadca
JJ
29422004-02-23 Jeff Johnston <jjohnstn@redhat.com>
2943
2944 * defs.h (nquery, yquery): New prototypes.
2945 * breakpoint.c (break_command_1): Use new nquery interface.
2946 * utils.c (defaulted_query, nquery, yquery): New functions.
2947
da6bab63
AC
29482004-02-23 Andrew Cagney <cagney@redhat.com>
2949
2f690297
AC
2950 * hppa-tdep.c (hppa_frame_align): New function.
2951 (hppa32_push_dummy_call): New function.
2952 (hppa64_push_dummy_call): New function.
2953 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
2954 disabled.
8a1dac83 2955
da6bab63
AC
2956 * infcall.c (legacy_push_dummy_code): Don't call deprecated
2957 FIX_CALL_DUMMY when push_dummy_call is available.
2958 (call_function_by_hand, push_dummy_code): Ditto.
2959
abf9b42d
AC
29602004-02-22 Andrew Cagney <cagney@redhat.com>
2961
2962 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
2963 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
2964 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
2965 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
2966 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
2967 call_dummy_location to ON_STACK.
2968
10fc94a4
MK
29692004-02-22 Mark Kettenis <kettenis@gnu.org>
2970
51433e4b
MK
2971 * x86-64-linux-tdep.c: Tweak comment.
2972 (amd64_linux_supply_gregset): Renamed from
2973 x86_64_linux_supply_gresget.
2974 (amd64_linux_fill_gregset): Renamed from
2975 x86_64_linux_fill_gregset.
2976 (fetch_core_registers): Adjust for renamed functions.
2977 (amd64_core_fns): Renamed from x86_64_core_fns.
2978 (amd64_linux_sigtramp_start): Renamed from
2979 x86_64_linux_sigtramp_start.
2980 (amd64_linux_pc_in_sigtramp): Renamed from
2981 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
2982 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
2983 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
2984 (amd64_linux_sigcontext_addr): Renamed from
2985 x86_64_linux_sigcontext_addr.
2986 (amd64_linux_sc_reg_offset): Renamed from
2987 x86_64_linux_sc_reg_offset.
2988 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
2989 Adjust for renamed functions and variables.
2990 (_initialize_amd64_linux_tdep): Renamed from
2991 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
2992 variables.
2993 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
2994 Adjust for renamed functions.
2995
430eaf2e
MK
2996 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
2997 from x86_64_linux_gregset64_reg_offset.
2998 (amd64_linux_gregset32_reg_offset): Rename from
2999 x86_64_linux_gregset64_reg_offset.
3000 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
3001 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
3002 (amd64_linux_dr_set_control): Renamed from
3003 x86_64_linux_dr_set_control. Adjust for renamed functions.
3004 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
3005 Adjust for renamed functions.
3006 (amd64_linux_dr_reset_addr): Renamed from
3007 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
3008 (amd64_linux_dr_get_status): Renamed from
3009 x86_64_linux_dr_get_status. Adjust for renamed functions.
3010 (_initialize_amd64_linux_nat): Renamed from
3011 _initialize_x86_64_linux_nat. Adjust for renamed variables and
3012 functions.
3013 * config/i386/nm-x86-64linux.h: Update copyright year.
3014 Adjust for renamed functions.
3015
10fc94a4
MK
3016 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
3017 amd64fbsd_sigtramp_start.
3018 (amd64fbsd_sigtramp_end_addr): Renamed from
3019 amd64fbsd_sigtramp_end.
3020 (amd64fbsd_init_abi): Adjust for renamed variables.
3021 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
3022 variables.
3023 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
3024 amd64fbsd_sigtramp_start.
3025 (amd64fbsd_sigtramp_end_addr): Renamed from
3026 amd64fbsd_sigtramp_end.
3027
343af405
AC
30282004-02-22 Andrew Cagney <cagney@redhat.com>
3029
537987fc
AC
3030 * hppa-tdep.c (hppa32_return_value): New function.
3031 (hppa64_return_value): New function.
3032 (hppa_gdbarch_init): Set return_value; keep disabled.
3033
fad850b2
AC
3034 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
3035 struct-return and inferior function call methods.
3036
26d08f08
AC
3037 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
3038 "frame-base.h".
3039 (struct hppa_frame_cache): Define.
3040 (hppa_frame_cache, hppa_frame_this_id): New functions.
3041 (hppa_frame_prev_register): New function.
3042 (hppa_frame_unwind, hppa_frame_base): New variables.
3043 (hppa_frame_unwind_sniffer): New function.
3044 (hppa_frame_base_address, hppa_unwind_pc): New function.
3045 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
3046 sniffer, and frame base sniffer; keep disabled.
3047 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
3048 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
3049
e7d7bd65
AC
3050 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
3051 to predicates for "seriously old code".
3052
e963316f
AC
3053 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
3054 runtime if(0).
3055
56132691
AC
3056 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
3057 unsigned.
3058 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 3059
343af405
AC
3060 * config/pa/tm-hppa.h: Update copyright.
3061 (DEPRECATED_INIT_FRAME_PC): Delete macro.
3062 (deprecated_init_frame_pc_default): Delete declaration.
3063 (hppa_frame_init_saved_regs): Delete declaration.
3064 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
3065 * hppa-tdep.c: Include "arch-utils.h".
3066 (hppa_gdbarch_init): Set deprecated init_frame_pc
3067 and deprecated frame_init_saved_regs.
3068 (hppa_frame_init_saved_regs): Make static.
3069
f5859b4d
MK
30702004-02-22 Mark Kettenis <kettenis@gnu.org>
3071
86f6f8e7 3072 Remove old 386BSD support.
cf7c5c23 3073 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
3074 * configure.host: Remove i[34567]86-*-bsd*.
3075 * configure.tgt: Remove i[34567]86-*-bsd*.
3076 * i386b-nat.c: Removed.
3077 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
3078 (i386b-nat.o): Remove dependencies.
3079
86f6f8e7
MK
3080 * config/i386/i386bsd.mh: Removed.
3081 * config/i386/i386bsd.mt: Removed.
3082 * config/i386/nm-i386bsd.h: Removed.
3083 * config/i386/tm-i386bsd.h: Removed.
3084 * config/i386/xm-i386bsd.h: Removed.
3085
971218cd
MK
3086 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
3087
7e654c37
MK
3088 * amd64fbsd-tdep.c: Include "solib-svr4.h".
3089 (amd64fbsd_init_abi): Set link map offsets.
3090 * amd64nbsd-tdep.c: Include "slib-svr4.h".
3091 (amd64nbsd_init_abi): Set link map offsets.
3092 * amd64obsd-tdep.c: Include "solib-svr4.h".
3093 (amd64obsd_init_abi): Set link map offsets.
3094 * i386fbsd-tdep.c: Include "solib-svr4.h".
3095 (i386fbsd_init_abi): Set link map offsets.
3096 * i386nbsd-tdep.c: Include "solib-svr4.h".
3097 (i386nbsdelf_init_abi): Set link map offsets.
3098 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
3099 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
3100 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
3101 solib-legacy.o and core-aout.o. Reformat.
3102 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
3103 solib-svr4.o, solib-legacy.o. Reformat.
3104 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
3105 * config/i386/nbsdelf.mh: Reformat.
3106 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
3107 solib-svr4.o, solib-legacy.o and corelow.o.
3108 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
3109 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
3110 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
3111 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
3112 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
3113 (TM_FILE): Set to tm-fbsd.h.
3114 * config/i386/nbsd.mt (TDEPFILES): Reformat.
3115 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
3116 solib-svr4.o.
3117 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
3118 solib-svr4.o.
3119 (TM_FILE): Set to nm-nbsd.h.
3120 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
3121 Simplify shared library support. Don't include "elf/common.h".
3122 (SVR4_SHARED_LIBS): Don't define.
3123 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
3124 "solib.h".
3125 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
3126 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
3127 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
3128 Don't include "i386/tm-i386.h". Include "solib.h".
3129 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
3130 Don't include "i386/tm-i386.h".
3131 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
3132 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
3133 Include "i386/xm-i386.h".
3134 (HOST_LONG_DOUBLE_FORMAT): Remove.
3135
5d93ae8c
MK
3136 Fix OpenBSD/i386 sigtramp recognition.
3137 * i386-tdep.h: Update copyright year.
3138 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
3139 (i386bsd_sigtramp_end): New prototypes.
3140 (i386fbsd_sigtramp_start_addr): Renamed from
3141 i386fbsd_sigtramp_start.
3142 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
3143 (i386obsd_sigtramp_start_addr): Renamed from
3144 i386obsd_sigtramp_start.
3145 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
3146 * i386bsd-tdep.c: Update copyright year.
3147 (i386bsd_pc_in_sigtramp): Make public.
3148 * i386fbsd-nat.c: Update copyright year.
3149 (_initialize_i386fbsd_nat): Adjust for renamed variables.
3150 * i386fbsd-tdep.c: Update copyright year.
3151 (i386fbsd_sigtramp_start_addr): Renamed from
3152 i386fbsd_sigtramp_start.
3153 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
3154 (i386fbsdaout_init_abi): Adjust for renamed variables.
3155 * i386obsd-nat.c: Update copyright year.
3156 (_initialize_i386obsd_nat): Adjust for renamed variables.
3157 * i386obsd-tdep.c: Include "target.h".
3158 (i386obsd_page_size): New variable.
3159 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
3160 (i386obsd_sigtramp_end): New functions.
3161 (i386obsd_sigtramp_start_addr): Renamed from
3162 i386obsd_sigtramp_start.
3163 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
3164 (i386obsd_init_abi): Adjust for renamed variables. Set
3165 pc_in_sigtramp, sigtramp_start and sigtramp_end.
3166 * Makefile.in (i386obsd-tdep.o): Update dependencies.
3167
84d04465
MK
3168 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
3169 trampoline change in OpenBSD kernel.
3170
b053aceb
MK
3171 * amd64-nat.c: Update copyright year.
3172 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
3173 architecture from REGCACHE.
3174
f5859b4d
MK
3175 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
3176 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
3177
e4bbbda8
MK
31782004-02-21 Mark Kettenis <kettenis@gnu.org>
3179
ba361932
MK
3180 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
3181 i[34567]86-*-openbsd3.[0-3].
3182 * config/i386/obsdaout.mh: New file.
3183
d3e48264
MK
3184 * config/i386/obsd.mh (MH_FLAGS): Remove.
3185
60a6eeb6
MK
3186 Fix PR build/1549.
3187 * i386obsd-tdep.c: Update copyright years. Include
3188 "solib-svr4.h".
3189 (i386obsd_init_abi): Don't set regset_from_core_section here.
3190 (i386obsd_aout_init_abi): New function. Set
3191 regset_from_core_section here.
3192 (i386obsd_elf_init_abi): New function.
3193 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
3194 * Makefile.in (i386obsd-tdep.o): Update dependecies.
3195 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
3196 (TM_FILE): Set to tm-nbsd.h.
3197
3198 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
3199 solib-sunos.o.
3200
e4bbbda8
MK
3201 * solib-svr4.h: Update copyright year.
3202 (svr4_ilp32_fetch_link_map_offsets)
3203 (svr4_lp64_fetch_link_map_offsets): New prototype.
3204 * solib-svr4.c: Update copyright year.
3205 (svr4_ilp32_fetch_link_map_offsets)
3206 (svr4_lp64_fetch_link_map_offsets): New function.
3207
f6fe98ef
DJ
32082004-02-20 Daniel Jacobowitz <drow@mvista.com>
3209
3210 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
3211 to the partial symbol table.
3212
589ca796
JB
32132004-02-20 J. brobecker <brobecker@gnat.com>
3214
3215 * PROBLEMS: Add description of problem documented under gdb/1560.
3216
2031c21a
MK
32172004-02-20 Mark Kettenis <kettenis@gnu.org>
3218
30b344b1
MK
3219 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
3220 comments.
3221 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
3222 functions.
3223 (amd64obsd_init_abi): Reorder initializations. Use
3224 amd64obsd_r_reg_offset to initialize the general-purpose register
3225 set details. Set regset_from_core_section.
3226 (_initialize_amd64obsd_tdep): Rename from
3227 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
3228 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
3229 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
3230
2031c21a
MK
3231 * NEWS (New native configurations): Mention OpenBSD/alpha.
3232 * configure.tgt: Add alpha*-*-openbsd*.
3233 * configure.host: Add alpha*-*-openbsd*.
3234 * alphanbsd-tdep.c: Update copyright year.
3235 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
3236
42471775
AC
32372004-02-20 Andrew Cagney <cagney@redhat.com>
3238
3239 Fix PR tdep/1372.
3240 * configure.tgt: Delete target "none-*-*".
3241 * configure.host: Delete host "none-*-*".
3242 * config/none/none.mh: Delete file.
3243 * config/none/none.mt: Delete file.
3244 * config/none/xm-none.h: Delete file.
3245 * config/none/tm-none.h: Delete file.
3246 * config/none/nm-none.h: Delete file.
3247
960ccd7d
FF
32482004-02-19 Fred Fish <fnf@redhat.com>
3249
3250 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
3251 cache->uses_fp prior to setting it.
3252
5f883edd
FF
32532004-02-19 Fred Fish <fnf@redhat.com>
3254
3255 Fix for PR breakpoint/1558.
3256 * sh-tdep.c (IS_JSR): New macro.
3257 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
3258
f98c22d5
JB
32592004-02-19 Jim Blandy <jimb@redhat.com>
3260
3261 * findvar.c (value_from_register): Doc fix.
3262
95051d27
JJ
32632004-02-19 Jeff Johnston <jjohnstn@redhat.com>
3264
3265 * printcmd.c (print_scalar_formatted): Do not check for sizeof
3266 type being greater than sizeof of host's LONGEST. Always use
3267 unpack_long() unless format 'f' chosen.
3268
ccefbec3
EZ
32692004-02-19 Joel Brobecker <brobecker@gnat.com>
3270
3271 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 3272
ccefbec3
EZ
3273 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
3274 contains a symbol wich is the best, non-exact match for the given
3275 pc. Update comments.
3276
32772004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 3278
2ede629f
EZ
3279 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
3280 macro, which was part of the now removed Mach 3 port.
3281 * utils.c (request_quit): Ditto.
3282
567ee972
MK
32832004-02-18 Mark Kettenis <kettenis@gnu.org>
3284
3285 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
3286 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
3287
50cca7bb
MK
32882004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3289
3290 Committed by Mark Kettenis <kettenis@gnu.org>.
3291
3292 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
3293 Define.
3294
226361c4
AC
32952004-02-18 Andrew Cagney <cagney@redhat.com>
3296
3297 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
3298 CONFIG_INSTALL and CONFIG_UNINSTALL.
3299 * configure: Re-generate.
3300 * interps.h (INTERP_TUI): Define.
3301 * Makefile.in: Update dependencies.
3302 (TUI): New macro.
3303 (tui-main.o): Specify dependencies.
3304 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
3305 * tui/tui-main.c: New file.
3306
49cfa46f
MK
33072004-02-18 Mark Kettenis <kettenis@gnu.org>
3308
e2879ccb
MK
3309 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
3310 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
3311 dependencies.
3312 * configure.host: Add x86_64-*-openbsd*.
3313 * configure.tgt: Add x86_64-*-openbsd*.
3314 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
3315
c43f4bec
MK
3316 * tui/tui.c: Don't include <malloc.h>.
3317
09ae75b6
MK
3318 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
3319 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
3320 amd64nbsd-tdep.c.
3321
49cfa46f 3322 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 3323 static. Remove extraneous whitespace.
49cfa46f
MK
3324 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
3325 static.
3326
05957fdb
JB
33272004-02-17 Jim Blandy <jimb@redhat.com>
3328
3329 * findvar.c (value_from_register): Doc fix.
3330
d0f54f9d
JB
33312004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3332
3333 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 3334
8a1dac83 3335 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
3336 CORE_ADDR as type for selectors. Correct types for GNU run time
3337 message lookup function to use double indirection.
3338 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
3339 * objc-lang.h (lookup_child_selector): Adapt prototype.
3340
9cbd5950
JB
3341 * s390-nat.c (SUBOFF): New macro.
3342 (supply_gregset, fill_gregset): Use it to handle debugging
3343 of 32-bit exectuables running under a 64-bit kernel.
3344 * s390-tdep.c: Include "solib-svr4.h".
3345 (s390_svr4_fetch_link_map_offset): New function.
3346 (s390x_svr_fetch_link_map_offset): Likewise.
3347 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
3348 * Makefile.in (s390-tdep.o): Update dependencies.
3349
a8c99f38
JB
3350 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
3351 "frame-unwind.h".
3352 (s390_readinstruction): Reformat. Use read_memory_nobpt.
3353 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
3354 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
3355 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
3356 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
3357 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 3358 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
3359 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
3360 (struct frame_extra_info): Remove.
3361 (s390_memset_extra_info): Remove.
f73b1eff
JB
3362 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
3363 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
3364 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
3365 (is_rse): Renamed to ...
3366 (is_rsy): ... this. Support long displacements.
3367 (is_rxe): Renamed to ...
3368 (is_rxy): ... this. Support long displacements.
3369 (compute_x_addr): Support long displacements.
3370 (struct s390_prologue_data): New data type.
3371 (s390_on_stack): Change API to use struct s390_prologue_data.
3372 (s390_store): Reimplement.
3373 (s390_load): New function.
3374 (s390_get_signal_frame_info): Remove.
3375 (s390_get_frame_info): Remove, replace by ...
3376 (s390_analyze_prolog): ... this new function.
3377 (s390_check_function_end): Remove.
3378 (s390_function_start): Remove.
3379 (s390_frameless_function_invokation): Remove.
3380 (s390_is_sigreturn): Remove.
3381 (s390_init_frame_pc_first): Remove.
3382 (s390_init_frame_extra_info): Remove.
3383 (s390_frame_init_saved_regs): Remove.
3384 (s390_frame_saved_pc_nofix): Remove.
3385 (s390_frame_saved_pc): Remove.
3386 (s390_frame_chain): Remove.
3387 (s390_fp_regnum, s390_read_fp): Remove.
3388 (s390_pop_frame_regular, s390_pop_frame): Remove.
3389 (s390_saved_pc_after_call): Remove.
3390 (s390_skip_prologue): Reimplement.
3391 (s390_in_function_epilogue_p): Support long displacements.
3392 (struct s390_unwind_cache): New data structure.
3393 (s390_frame_unwind_cache): New function.
3394 (s390_prologue_frame_unwind_cache): Likewise.
3395 (s390_backchain_frame_unwind_cache): Likewise.
3396 (s390_frame_this_id, s390_frame_prev_register): Likewise.
3397 (s390_frame_unwind): Define.
3398 (s390_frame_sniffer): New function.
3399 (struct s390_pltstub_unwind_cache): New data structure.
3400 (s390_pltstub_frame_unwind_cache): New function.
3401 (s390_pltstub_frame_this_id): Likewise.
3402 (s390_pltstub_frame_prev_register): Likewise.
3403 (s390_pltstub_frame_unwind): Define.
3404 (s390_pltstub_frame_sniffer): New function.
3405 (struct s390_sigtramp_unwind_cache): New data structure.
3406 (s390_sigtramp_frame_unwind_cache): New function.
3407 (s390_sigtramp_frame_this_id): Likewise.
3408 (s390_sigtramp_frame_prev_register): Likewise.
3409 (s390_sigtramp_frame_unwind): Define.
3410 (s390_sigtramp_frame_sniffer): New function.
3411 (s390_frame_base_address, s390_local_base_address): New functions.
3412 (s390_frame_base): Define.
3413 (s390_unwind_pc, s390_unwind_sp): New function.
3414 (s390_push_dummy_call): Use new frame base location.
3415 (s390_unwind_dummy_id): Likewise.
3416 (s390_gdbarch_init): Remove calls to:
3417 set_gdbarch_frameless_function_invocation,
3418 set_gdbarch_deprecated_init_frame_pc,
3419 set_gdbarch_deprecated_frame_chain,
3420 set_gdbarch_deprecated_frame_init_saved_regs,
3421 set_gdbarch_deprecated_pop_frame,
3422 set_gdbarch_deprecated_init_extra_frame_info,
3423 set_gdbarch_deprecated_init_frame_pc_first,
3424 set_gdbarch_deprecated_target_read_fp,
3425 set_gdbarch_deprecated_frame_saved_pc,
3426 set_gdbarch_deprecated_saved_pc_after_call,
3427 set_gdbarch_deprecated_fp_regnum.
3428 Add calls to:
3429 set_gdbarch_in_solib_call_trampoline,
3430 frame_unwind_append_sniffer,
3431 frame_base_set_default,
3432 set_gdbarch_unwind_pc,
3433 set_gdbarch_unwind_sp.
3434 * Makefile.in (s390-tdep.o): Update dependencies.
3435
b0cf273e
JB
3436 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
3437 (S390_STACK_FRAME_OVERHEAD): Remove.
3438 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
3439 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
3440 (s390_promote_integer_argument): Remove.
3441 (s390_cannot_extract_struct_value_address): Remove.
3442 (s390_use_struct_convention, s390_store_struct_return): Remove.
3443 (s390_extract_return_value, s390_store_return_value): Remove.
3444 (s390_return_value_convention, s390_return_value): New functions.
3445 (is_float_singleton): Handle typedefs.
8a1dac83 3446 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
3447 Remove, replace by ...
3448 (s390_function_arg_pass_by_reference, s390_function_arg_float,
3449 s390_function_arg_integer): ... these new functions.
3450 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
3451 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
3452 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
3453 Fill in tdep->abi.
3454 Remove calls to:
3455 set_gdbarch_deprecated_store_struct_return,
3456 set_gdbarch_deprecated_extract_return_value,
3457 set_gdbarch_deprecated_store_return_value,
3458 set_gdbarch_use_struct_convention,
3459 set_gdbarch_extract_struct_value_address,
3460 set_gdbarch_deprecated_pc_in_call_dummy,
3461 set_gdbarch_deprecated_push_arguments,
3462 set_gdbarch_deprecated_save_dummy_frame_tos,
3463 set_gdbarch_deprecated_push_return_address,
3464 set_gdbarch_deprecated_sizeof_call_dummy_words,
3465 set_gdbarch_deprecated_call_dummy_words,
3466 set_gdbarch_deprecated_dummy_write_sp.
3467 Add calls to:
3468 set_gdbarch_push_dummy_call,
3469 set_gdbarch_unwind_dummy_id,
3470 set_gdbarch_return_value.
8a1dac83 3471
e1457d83
JB
3472 * config/s390/nm-linux.h: Update comments.
3473 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
3474 (STOPPED_BY_WATCHPOINT): Redefine.
3475 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
3476 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
3477 (s390_stopped_by_watchpoint): Likewise.
3478 (watch_area_cnt): Remove.
3479 * s390-nat.c: Update comments.
3480 (watch_area): Remove typedef.
3481 Global replace watch_area by struct watch_area.
3482 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 3483 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
3484 use s390_inferior_tid. Add short-cut for the no watchpoint case.
3485 (s390_fix_watch_points): Remove pid argument,
3486 use s390_inferior_tid. Recompute area spanned by watchpoints.
3487 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
3488 argument. Reimplement.
3489
d0f54f9d
JB
3490 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
3491 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
3492 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 3493 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
3494 core-regset.o.
3495 * config/s390/s390x.mt: Remove.
3496 * config/s390/tm-s390.h: Remove.
3497 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
3498 (TARGET_ELF64): Remove.
3499 (SKIP_TRAMPOLINE_CODE): Do not undefine.
3500 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
3501 s390*-*-* case; always set gdb_target to s390.
3502 * regformats/reg-s390.dat: Remove control registers.
3503 * regformats/reg-s390x.dat: Likewise.
3504 * s390-tdep.h: New file.
8a1dac83 3505 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
3506 Include "inferior.h" and "s390-tdep.h".
3507 Remove private definition of offsetof.
3508 (s390_register_u_addr): Remove.
3509 (regmap_gregset, regmap_fpregset): Define.
3510 (supply_gregset, fill_gregset): Reimplement.
3511 (supply_fpregset, fill_fpregset): Likewise.
3512 (s390_inferior_tid): New function.
3513 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
3514 (fetch_inferior_registers, store_inferior_registers): Likewise.
3515 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
3516 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
3517 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
3518 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
3519 (struct gdbarch_tdep): Define.
3520 (struct s390_register_info): Define.
3521 (s390_register_info): New variable.
3522 (s390_register_name): Reimplement.
3523 (s390_register_type): New function.
3524 (s390_register_raw_size, s390x_register_raw_size): Remove.
3525 (s390_cannot_fetch_register): Remove.
3526 (s390_register_byte): Remove.
3527 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
3528 (s390_dwarf_regmap): New variable.
3529 (s390_dwarf_reg_to_regnum): New function.
3530 (s390_stab_reg_to_regnum): Remove.
3531 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
3532 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
3533 (s390_convert_register_p): Likewise.
3534 (s390_register_to_value, s390_value_to_register): Likewise.
3535 (s390_register_reggroup_p): Likewise.
3536 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
3537 s390_gregset, s390x_gregset, s390_fpregset): New variables.
3538 (s390_supply_regset, s390_regset_from_core_section): New functions.
3539 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
3540 (S390_FPR_SIZE): Likewise.
3541 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
3542 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
3543 (S390_NUM_GPRS): Move here from tm-s390.h.
3544 (S390_NUM_FPRS): Likewise.
3545 (s390_in_function_epilogue_p): New function.
3546 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
3547 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
3548 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
3549 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
3550 Replace S390_FP_REGNUM by S390_SP_REGNUM.
3551 Remove calls to:
3552 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
3553 set_gdbarch_deprecated_max_register_virtual_size,
3554 set_gdbarch_deprecated_register_byte,
d0f54f9d 3555 set_gdbarch_cannot_fetch_register,
8a1dac83 3556 set_gdbarch_cannot_store_register,
d0f54f9d
JB
3557 set_gdbarch_deprecated_register_size,
3558 set_gdbarch_deprecated_register_raw_size,
3559 set_gdbarch_deprecated_register_virtual_size,
3560 set_gdbarch_deprecated_register_virtual_type,
3561 set_gdbarch_deprecated_register_bytes.
3562 Add calls to:
3563 set_gdbarch_num_pseudo_regs,
3564 set_gdbarch_register_type,
3565 set_gdbarch_convert_register_p,
3566 set_gdbarch_register_to_value,
3567 set_gdbarch_value_to_register,
3568 set_gdbarch_register_reggroup_p,
3569 set_gdbarch_regset_from_core_section,
3570 set_gdbarch_pseudo_register_read,
3571 set_gdbarch_pseudo_register_write,
3572 set_gdbarch_in_function_epilogue_p.
3573 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
3574 (s390_tdep_h): New variable.
3575
8cfe231d
JB
35762004-02-17 Jim Blandy <jimb@redhat.com>
3577
4589a601
JB
3578 * findvar.c (value_from_register): If the type has no length, just
3579 return an acceptable value --- don't report an internal error.
3580
8cfe231d
JB
3581 * stabsread.c (read_type): If we find any type numbers that are
3582 forward references, complain if the references aren't resolved by
3583 the time we're finished reading.
3584 (cleanup_undefined_types): Make error message more appropriate for
3585 a complaint.
3586
5bf0017e
EZ
35872004-02-17 Elena Zannoni <ezannoni@redhat.com>
3588
9d62932d
EZ
3589 * Makefile.in (defs_h): Remove dependency on progress_h.
3590 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
3591 progress.h.
3592 * main.c (captured_main): Delete use of START_PROGRESS and
3593 END_PROGRESS.
3594
35952004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 3596
5bf0017e
EZ
3597 * objfiles.c (terminate_minimal_symbol_table): Add back
3598 initialization of MSYMBOL_TYPE.
3599
9fc9f5e2
AC
36002004-02-17 David Mosberger <davidm@hpl.hp.com>
3601
3602 Committed by Andrew Cagney.
3603 * Makefile.in (ia64_tdep_h): New macro.
3604 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
3605 (ia64-tdep.o): Likewise.
3606 * ia64-tdep.h: New file.
3607 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
3608 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
3609 (ia64_aix_sigcontext_register_address): Likewise.
3610 (ia64_linux_getunwind_table): Delete declaration.
3611 * ia64-linux-tdep.c: Likewise.
3612
76cd2bd9
CV
36132004-02-17 Corinna Vinschen <vinschen@redhat.com>
3614
3615 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
3616 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
3617 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
3618
634aa483
AC
36192004-02-17 Andrew Cagney <cagney@redhat.com>
3620
3621 * symtab.c (skip_prologue_using_sal): New function.
3622 * symtab.h (skip_prologue_using_sal): Declare.
3623 * frv-tdep.c: Include "symtab.h".
3624 (skip_prologue_using_sal): Delete function.
3625 * mips-tdep.c (skip_prologue_using_sal): Delete function.
3626 * rs6000-tdep.c (refine_prologue_limit): Mention
3627 skip_prologue_using_sal.
3628 * ia64-tdep.c (refine_prologue_limit): Ditto.
3629 * Makefile.in: Update dependencies.
3630
36312004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 3632
39ce7b3f
AC
3633 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
3634 START_INFERIOR_TRAPS_EXPECTED.
3635 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
3636 START_INFERIOR_TRAPS_EXPECTED.
3637 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
3638 Delete macro.
3639 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
3640 macro, moved to "nm-osf.h". Update copyright.
3641 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
3642 update copyright.
3643
19772a2c
AC
3644 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
3645 and function replacing FRAMELESS_FUNCTION_INVOCATION.
3646 * blockframe.c (legacy_frameless_look_for_prologue): Rename
3647 frameless_look_for_prologue.
3648 * frame.h (legacy_frameless_look_for_prologue): Rename
3649 frameless_look_for_prologue.
3650 * gdbarch.h, gdbarch.c: Re-generate.
3651 * sh64-tdep.c (sh64_gdbarch_init): Update.
3652 * sh-tdep.c (sh_gdbarch_init): Update.
3653 * s390-tdep.c (s390_gdbarch_init): Update.
3654 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3655 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
3656 * m68k-tdep.c (m68k_gdbarch_init): Update.
3657 (delta68_frame_args_address): Update.
3658 * m32r-tdep.c (m32r_gdbarch_init): Update.
3659 * hppa-tdep.c (hppa_gdbarch_init): Update.
3660 * h8300-tdep.c (h8300_gdbarch_init): Update.
3661 * frv-tdep.c (frv_gdbarch_init): Update.
3662 (frv_frameless_function_invocation): Update.
3663 * cris-tdep.c (cris_gdbarch_init): Update.
3664 (cris_frameless_function_invocation): Update.
3665 * avr-tdep.c (avr_gdbarch_init): Update.
3666 * arm-tdep.c (arm_gdbarch_init): Update.
3667 * stack.c (frame_info): Update, call predicate.
3668 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
3669 * frame.c (legacy_get_prev_frame): Update, call predicate..
3670 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
3671 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
3672 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
3673 invocation.
3674 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3675 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
3676 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
3677
3678 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
3679 function.
3680
7dcaac91
DJ
36812004-02-16 Daniel Jacobowitz <drow@mvista.com>
3682
3683 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
3684 initializations.
3685
88289b6e
AC
36862004-02-16 Andrew Cagney <cagney@redhat.com>
3687
3688 * tui/tui-windata.c: Include "gdb_string.h".
3689 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
3690 * tui/tui-layout.c, tui/tui-command.c: Ditto.
3691 * Makefile.in: Update dependencies.
3692
9f976b41
DJ
36932004-02-16 Daniel Jacobowitz <drow@mvista.com>
3694
3695 * Makefile.in (infrun.o): Add $(gdb_assert_h).
3696 * infrun.c: Include "gdb_assert.h".
3697 (singlestep_ptid, saved_singlestep_ptid)
3698 (stepping_past_singlestep_breakpoint): New variables.
3699 (resume): Set singlestep_ptid. Check for singlestep thread
3700 hop.
3701 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
3702 (handle_inferior_event): Handle singlestep thread hop.
3703
c324d747
AC
37042004-02-16 Andrew Cagney <cagney@redhat.com>
3705
f090b9b1
AC
3706 * dwarf2-frame.c (dwarf2_frame_ops): New function.
3707 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
3708 (dwarf2_frame_init_reg): Ditto.
3709
fd33e6cb
AC
3710 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
3711 suggested by Joshua Neuheisel
3712
c324d747
AC
3713 * configure.in: Always check for curses, including pdcurses.
3714 Warn, instead of error, when no curses are found. Enable TUI when
3715 curses is available.
3716 * configure: Re-generate.
3717
b66ba949
CV
37182004-02-16 Corinna Vinschen <vinschen@redhat.com>
3719
3720 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
3721 sh_sh4_register_convert_to_virtual.
3722 (sh_register_convert_to_raw): Rename from
3723 sh_sh4_register_convert_to_raw.
3724 (sh_pseudo_register_read): Accomodate above name change.
3725 (sh_pseudo_register_write): Ditto.
3726
b58cbbf2
CV
37272004-02-16 Corinna Vinschen <vinschen@redhat.com>
3728
3729 * sh-tdep.c (sh_generic_register_name): Remove.
3730 (sh_gdbarch_init): Use sh_sh_register_name in default case.
3731
5929a910
AC
37322004-02-15 Andrew Cagney <cagney@redhat.com>
3733
4566dfcf
AC
3734 * configure.in (build_warnings): Add -Wunused-function.
3735 * configure: Re-generate.
3736
db11ed55
AC
3737 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
3738 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
3739
46ac7a5d
AC
3740 * procfs.c (procfs_init_inferior): Assume that
3741 START_INFERIOR_TRAPS_EXPECTED is defined.
3742 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
3743 * config/ns32k/tm-nbsd.h: Delete file,
3744 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
3745
ba801595
AC
3746 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
3747 * config/vax/tm-vax.h: Delete file.
3748
5929a910
AC
3749 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
3750 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
3751 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
3752 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
3753 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
3754 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
3755 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
3756
8f22cb90
MK
37572004-02-15 Mark Kettenis <kettenis@gnu.org>
3758
3759 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
3760 * dwarf2-frame.c (dwarf2_frame_data): New variable.
3761 (struct dwarf2_frame_ops): New.
3762 (dwarf2_frame_default_init_reg): New function, based on
3763 dwarf2_frame_init_reg.
3764 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
3765 (dwarf2_frame_init_reg): Call architecture-specific function.
3766 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
3767 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
3768 instead of dwarf2_frame_data.
3769 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
3770 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
3771
8132723e
AC
37722004-02-15 Andrew Cagney <cagney@redhat.com>
3773
046a4708
AC
3774 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
3775 register_gdbarch_swap.
3776 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
3777 * f-lang.c (_initialize_f_language): Update, use
3778 DEPRECATED_REGISTER_GDBARCH_SWAP.
3779 * remote.c (_initialize_remote): Ditto.
3780 * regcache.c (_initialize_regcache): Ditto.
3781 * parse.c (_initialize_parse): Ditto.
3782 * infrun.c (_initialize_infrun): Ditto.
3783 * mi/mi-main.c (_initialize_mi_main): Ditto.
3784 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 3785
549c1eea
AC
3786 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
3787 poking .cacheable directly.
3788 * symfile.c (symfile_bfd_open): Ditto.
3789
0c0b39de
AC
3790 * Makefile.in: Update all dependencies.
3791
8132723e
AC
3792 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
3793 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
3794 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
3795 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
3796 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 3797
b9d26eb9
AC
37982004-02-14 Andrew Cagney <cagney@redhat.com>
3799
8e1f669a
AC
3800 * arch-utils.c (legacy_convert_register_p): Check
3801 DEPRECATED_REGISTER_CONVERTIBLE_P.
3802 * findvar.c (value_of_register): Ditto.
3803
cd0bfa36
AC
3804 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
3805 * gdbarch.h, gdbarch.c: Re-generate.
3806 * arch-utils.c (deprecated_register_convertible_not): Delete.
3807 * arch-utils.h (deprecated_register_convertible_not): Delete.
3808 * mi/mi-main.c (get_register): Update. Update copyright.
3809 * infcmd.c (default_print_registers_info): Update.
3810
b9d26eb9
AC
3811 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
3812 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
3813 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 3814 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
3815 * frame.c (deprecated_get_next_frame_hack): Delete function.
3816 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
3817 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
3818 Update.
3819 * infcall.c (call_function_by_hand): Update.
3820
9ab9195f
EZ
38212004-02-14 Elena Zannoni <ezannoni@redhat.com>
3822
3823 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 3824 from here...
9ab9195f
EZ
3825 * objfiles.c (init_entry_point_info, entry_point_address):..to
3826 here.
3827 * symfile.h (init_entry_point_info, entry_point_address): Remove
3828 prototypes.
3829 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 3830 prototypes.
9ab9195f
EZ
3831 * cris-tdep.c: Remove include of symfile.h. Add include of
3832 objfiles.h.
3833 * infcall.c: Ditto.
3834 * mcore-tdep.c: Ditto.
3835 * mn10300-tdep.c: Ditto.
3836 * sh64-tdep.c: Ditto.
3837 * v850-tdep.c: Ditto.
3838 * arm-tdep.c: Remove include of symfile.h.
3839 * blockframe.c: Ditto.
3840 * coffread.c: Ditto.
3841 * dbxread.c: Ditto.
3842 * dwarf2read.c: Ditto.
3843 * dwarfread.c: Ditto.
8a1dac83 3844 * frv-tdep.c: Ditto.
9ab9195f
EZ
3845 * ia64-tdep.c: Ditto.
3846 * mdebugread.c: Ditto.
3847 * mipsread.c: Ditto.
8a1dac83 3848 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
3849 * s390-tdep.c: Ditto.
3850 * sh-tdep.c: Ditto.
8a1dac83 3851 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
3852 * gdbarch.sh: Remove include of symfile.h.
3853 * gdbarch.c: Regenerate.
3854 * solib-irix.c (enable_break): Use entry_point_address().
3855 Add comment about include file.
3856 * xcoffread.c: Add comment about include file.
8a1dac83
RM
3857 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
3858 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
3859 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
3860 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
3861 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
3862
c4c5b7ba
AC
38632004-02-13 Andrew Cagney <cagney@redhat.com>
3864
3865 * corelow.c (core_xfer_partial): Use "struct bfd_section".
3866 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
3867 copyright.
3868 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
3869
3e7879de
FF
38702004-02-12 Fred Fish <fnf@redhat.com>
3871
3872 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
3873 set_gdbarch_store_return_value.
3874
6a7760b6
AC
38752004-02-12 Andrew Cagney <cagney@redhat.com>
3876
3877 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
3878 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
3879 (interrupt_query): Ditto.
3880 (ofunc): Delete unused variable.
3881 * cris-tdep.c (cris_abi): Delete unused function.
3882 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
3883 (cris_get_wide_opcode, cris_get_short_size): Ditto.
3884 (cris_get_asr_quick_shift_steps): Ditto.
3885 (cris_skip_prologue_frameless_p): Ditto.
3886 * arm-tdep.c (arm_push_return_address): Delete unused function.
3887 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
3888 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
3889 * s390-tdep.c (s390_function_start): Delete unused function.
3890
31687c3c
AC
38912004-02-12 Andrew Cagney <cagney@redhat.com>
3892
3893 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
3894 gdbarch.h, gdbarch.c: Re-generate.
3895 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
3896 to generic_prologue_frameless_p.
3897 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
3898 * arch-utils.c (generic_prologue_frameless_p): Delete function.
3899
6de918a6
DJ
39002004-02-11 Daniel Jacobowitz <drow@mvista.com>
3901
3902 * mips-linux-tdep.c: Include "frame.h".
3903 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
3904 (mips_linux_skip_resolver): New functions.
3905 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
3906 and set_gdbarch_in_solib_call_trampoline.
3907 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
3908 to after set_gdbarch_in_solib_return_trampoline. Only set the
3909 solib hooks to mips16 functions if the OS ABI is unknown.
3910 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
3911 including "config/tm-linux.h".
3912 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
3913 * Makefile.in (mips-linux-tdep.o): Update.
3914
87b3ede8
DC
39152004-02-11 David Carlton <carlton@kealia.com>
3916
3917 * linespec.c (decode_compound): Only look for a class symbol when
3918 considering all but the rightmost component.
3919
5979bc46
AC
39202004-02-11 Andrew Cagney <cagney@redhat.com>
3921
3922 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
3923 abi code are are separatly grouped.
3924
5867a2fb
AC
39252004-02-11 Andrew Cagney <cagney@redhat.com>
3926
3927 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
3928 * gdbarch.h, gdbarch.c: Re-generate.
3929 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3930 * v850-tdep.c (v850_gdbarch_init): Update.
3931 * sh64-tdep.c (sh64_gdbarch_init): Update.
3932 * sh-tdep.c (sh_gdbarch_init): Update.
3933 * s390-tdep.c (s390_gdbarch_init): Update.
3934 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3935 * mips-tdep.c (mips_gdbarch_init): Update.
3936 * mcore-tdep.c (mcore_gdbarch_init): Update.
3937 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3938 * m32r-tdep.c (m32r_gdbarch_init): Update.
3939 * ia64-tdep.c (ia64_gdbarch_init): Update.
3940 * hppa-tdep.c (hppa_gdbarch_init): Update.
3941 * h8300-tdep.c (h8300_gdbarch_init): Update.
3942 * frv-tdep.c (frv_gdbarch_init): Update.
3943 * d10v-tdep.c (d10v_gdbarch_init): Update.
3944 * cris-tdep.c (cris_gdbarch_init): Update.
3945 * avr-tdep.c (avr_gdbarch_init): Update.
3946 * arm-tdep.c (arm_gdbarch_init): Update.
3947 * alpha-tdep.c (alpha_gdbarch_init): Update.
3948
026a72f8
CV
39492004-02-11 Corinna Vinschen <vinschen@redhat.com>
3950
3951 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
3952 comma.
3953 (sh_sh4al_dsp_register_name): Ditto.
3954
3903d437
AC
39552004-02-10 Andrew Cagney <cagney@redhat.com>
3956
3957 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
3958 (mips_init_frame_pc_first): Delete function.
3959 (mips_frame_saved_pc): Delete function.
3960 (mips_frame_chain): Delete function.
3961 (mips_init_extra_frame_info): Delete function.
3962 (mips_xfer_register): Delete unused variable "reg".
3963 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
3964 (mips_n32n64_return_value): Delete unused variable "reg".
3965 (mips_n32n64_return_value): Delete unused variable "pos".
3966 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
3967 (mips_o32_return_value): Delete unused variable "pos".
3968 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
3969 (mips_print_fp_register): Delete unused variable "namelen"
3970 (mips_print_fp_register): Delete unused variable "flt2"
3971 (get_frame_pointer): Delete function.
3972 (cached_proc_desc): Delete static variable.
3973 (mips_pop_frame): Delete function.
3974 (mips_find_saved_regs): Delete function.
3975 (mips_get_saved_register): Delete function.
3976 (mips_saved_pc_after_call): Delete function.
3977 (SIGFRAME_BASE): Delete macro.
3978 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
3979 (SIGFRAME_PC_OFF): Delete macro.
3980 (SIGFRAME_REGSAVE_OFF): Delete macro.
3981 (mips_dump_tdep): Do not print deleted macro definitions.
3982
b9fb98bd
AC
39832004-02-10 Andrew Cagney <cagney@redhat.com>
3984
3985 * Makefile.in (SFILES): Remove explictly listed tui files.
3986 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
3987
78ced177 39882004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 3989
78ced177
JJ
3990 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
3991 to use paddr functions to format ia64 addresses and long values.
3992 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
3993 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
3994 (get_kernel_table, ia64_find_proc_info_x): Ditto.
3995 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
3996 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
3997
6a83354a
AC
39982004-02-10 Andrew Cagney <cagney@redhat.com>
3999
4000 * defs.h: Do not include "tui.h".
4001 * gdb_curses.h: New file.
4002 * tui/tui-hooks.h: New file.
4003 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
4004 (tui_install_hooks, tui_remove_hooks): Delete declarations.
4005 (tui_initialize_io): Delete declaration.
4006 (tui_initialize_readline: Delete redundant declaration.
4007 (struct tui_point): Delete definition.
4008 * tui/tui-data.h (struct tui_point): Define.
4009 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
4010 * utils.c: Include "tui/tui.h".
4011 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
4012 * printcmd.c [TUI]: Include "tui/tui.h".
4013 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
4014 * tui/tui-command.c: Include "gdb_curses.h".
4015 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
4016 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
4017 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
4018 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
4019 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
4020 * Makefile.in: Update all dependencies.
4021 (tui_hooks_h, gdb_curses_h): Define.
4022 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
4023
997470ef
EZ
40242004-02-10 Elena Zannoni <ezannoni@redhat.com>
4025
4026 * objfiles.h (struct objfile): Remove unused fields auxf1 and
4027 auxf2. Add comments about some other rarely used fields.
4028
4ff2cc4d
AC
40292004-02-10 Andrew Cagney <cagney@redhat.com>
4030
4031 * Makefile.in (init.c): Fix script removing duplicates. Problem
4032 reported by Peter Schauer.
4033
1ab21617
EZ
40342004-02-09 Elena Zannoni <ezannoni@redhat.com>
4035
4036 * bcache.c (bcache_xmalloc): Use obstack_init instead of
4037 obstack_specify_allocation.
4038 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 4039 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
4040 (allocate_rt_common_objfile): Ditto.
4041 * symfile.c (reread_symbols): Ditto.
4042 * gdb_obstack.h: Add comment.
4043
17763fd9
EZ
40442004-02-09 Elena Zannoni <ezannoni@redhat.com>
4045
4046 * linespec.c (decode_line_1, locate_first_half)
4047 (decode_compound, lookup_prefix_sym): Update comments. Delete old
4048 commented out code.
4049
ec5cdd75
DJ
40502004-02-09 Daniel Jacobowitz <drow@mvista.com>
4051
4052 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
4053 obstack_free.
4054
43b54b88
AC
40552004-02-09 Andrew Cagney <cagney@redhat.com>
4056
4057 * blockframe.c (find_pc_partial_function): If find_pc_overlay
4058 fails, try find_pc_section. Fix PR c++/1267.
4059 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
4060 instead of find_pc_mapped_section.
4061 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
4062 not default to the section containing PC. Fix PR symtab/1519.
4063
edfae063
AC
40642004-02-09 Andrew Cagney <cagney@redhat.com>
4065
4066 * Makefile.in (mips-tdep.o): Update dependencies.
4067 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
4068 "trad-frame.h".
4069 (mips_unwind_pc): Return the pseudo PC register.
4070 (mips_unwind_dummy_id): New function.
4071 (mips16_fetch_instruction): New function.
4072 (mips32_fetch_instruction): New function.
4073 (struct mips_frame_cache): Define.
4074 (mips_mdebug_frame_cache): New function.
4075 (mips_mdebug_frame_this_id): New function.
4076 (mips_mdebug_frame_prev_register): New function.
4077 (mips_mdebug_frame_unwind): Define.
4078 (mips_mdebug_frame_sniffer): New function.
4079 (mips_mdebug_frame_base_address): New function.
4080 (mips_mdebug_frame_base): Define.
4081 (mips_mdebug_frame_base_sniffer): New function.
4082 (mips_gdbarch_init): Append unwind and base sniffers. Set
4083 unwind_dummy_id.
4084
defc864c
AC
40852004-02-08 Andrew Cagney <cagney@redhat.com>
4086
6764ddad
AC
4087 * frame.c: Print both the register number and name.
4088
defc864c
AC
4089 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
4090 and a sed into a single sed. Make .c and .o patterns more robust.
4091 (OBS): Delete.
4092 (INIT_FILES): Replace OBS with COMMON_OBS.
4093 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
4094
645d6d10
MK
40952004-02-08 Mark Kettenis <kettenis@gnu.org>
4096
4097 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
4098 the PT_WCOOKIE request.
4099
23e3c3fc
AC
41002004-02-08 Andrew Cagney <cagney@redhat.com>
4101
58dfe9ff
AC
4102 * mips-tdep.c (mips_unwind_pc): New function.
4103 (mips_gdbarch_init): Set mips_unwind_pc.
4104
1152e35e
AC
4105 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
4106 (get_frame_id): Allow the UNKNOWN_FRAME.
4107 (frame_register_unwind, get_frame_type): Ditto.
4108
31b75dbf
AC
4109 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
4110 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
4111 unwind_dummy_id indicates a legacy frame.
4112
3483b318
AC
4113 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
4114 * configure: Re-generate.
4115
23e3c3fc
AC
4116 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
4117 methods.
4118
33f8ca73
AC
41192004-02-08 Andrew Cagney <cagney@redhat.com>
4120
4121 * configure.in (CONFIG_ALL): Set to Makefile target, and not
4122 makefile macro.
4123 * configure: Re-generate.
4124 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
4125 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
4126 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
4127 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
4128 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
4129 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
4130 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
4131 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
4132 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
4133 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
4134
6ba8e26f 41352004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 4136
20d286a5
AC
4137 * Makefile.in: Update all dependencies.
4138
d836ee13
AC
4139 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
4140 * configure: Re-generate.
4141 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
4142 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
4143 (COMMON_OBS): Add "main.o" and "annotate.o".
4144 (ANNOTATE_OBS): Delete.
4145 (OBS): Remove ANNOTATE_OBS.
4146 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
4147 CONFIG_INITS.
4148 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
4149 against CONFIG_OBS and "main.o".
4150 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
4151 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
4152
d02c80cd
AC
4153 * tui/tui-command.c: Include "gdb_string.h", delete register
4154 attribute, use ISO-C function signatures.
4155 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
4156 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
4157 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
4158 * tui/tui.c: Ditto.
6ba8e26f
AC
4159
4160 * tui/tui-command.c: Change variable and function names to lower
4161 case.
4162 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
4163 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
4164 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
4165 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
4166 * tui/tui-winsource.c, tui/tui.c: Ditto.
4167
4a146b47
EZ
41682004-02-07 Elena Zannoni <ezannoni@redhat.com>
4169
4170 * buildsym.c (free_pending_blocks, finish_block)
4171 (record_pending_block, make_blockvector, end_symtab): Replace
4172 symbol_obstack with objfile_obstack.
8a1dac83 4173 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 4174 (coff_read_enum_type): Ditto.
8a1dac83 4175 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 4176 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 4177 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
4178 (dwarf2_symbol_mark_computed): Ditto.
4179 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
4180 * elfread.c (elf_symtab_read): Ditto.
4181 * hpread.c (hpread_symfile_init, hpread_symfile_init)
4182 (hpread_read_enum_type, hpread_read_function_type)
4183 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
4184 Ditto.
8a1dac83 4185 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 4186 (java_link_class_type): Ditto.
8a1dac83 4187 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
4188 (new_symbol): Ditto.
4189 * minsyms.c (install_minimal_symbols): Ditto.
4190 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
4191 (terminate_minimal_symbol_table): Replace symbol_obstack with
4192 objfile_obstack.
4193 (free_objfile): Remove freeing of symbol_obstack.
4194 * objfiles.h: Remove symbol_obstack field.
4195 * pa64solib.c (add_to_solist): Replace symbol_obstack with
4196 objfile_obstack.
4197 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
4198 symbol_obstack.
4199 (solib_add_common_symbols): Replace symbol_obstack with
4200 objfile_obstack.
4201 * somsolib.c (som_solib_add): Ditto.
4202 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
4203 (common_block_start, common_block_end): Ditto.
4204 * symfile.c (reread_symbols): Remove freeing and init of
4205 symbol_obstack.
4206 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
4207 * symfile.h: Update comment.
4208 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
4209 stats printing.
4210 * symtab.c (symbol_set_names): Replace symbol_obstack with
4211 objfile_obstack.
4212 * symtab.h (struct general_symbol_info, struct minimal_symbol):
4213 Update comments.
4214 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
4215 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
4216 objfile_obstack.
4217
6d012f14
AC
42182004-02-07 Andrew Cagney <cagney@redhat.com>
4219
4220 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
4221 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
4222 fields and variables.
4223 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
4224 (m_beInvisible): Delete macro.
4225 * tui/tui-data.h: Fix case case fields and variables.
4226 (m_genWinPtrIsNull): Delete macro.
4227 (tui_win_list): Rename winList.
4228 (TUI_SRC_WIN): Rename srcWin.
4229 (TUI_DISASM_WIN): Rename disassemWin.
4230 (TUI_DATA_WIN): Rename dataWin.
4231 (TUI_CMD_WIN): Rename cmdWin.
4232 (m_genWinPtrNotNull): Delete macro.
4233 (m_winPtrIsNull): Delete macro.
4234 (m_winPtrNotNull): Delete macro.
4235 (tui_win_is_source_type): Replace m_winIsSourceType
4236 (tui_win_is_auxillary): Replace m_winIsAuzillary.
4237 (tui_win_has_locator): Replace m_hasLocator.
4238 (tui_set_win_highlight): Replace m_setWinHighlightOn and
4239 m_setWinHighlightOff.
4240 * tui/tui-data.c: Update references.
4241 (tui_win_is_source_type, tui_set_win_highlight): New functions.
4242 (tui_win_has_locator, tui_win_is_auxillary): New functions.
4243 * tui/tui-command.c, tui/tui-disasm.c: Update references.
4244 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
4245 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
4246 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
4247 * tui/tui-winsource.c, tui/tui.c: Ditto.
4248
7d34766b
MK
42492004-02-07 Mark Kettenis <kettenis@gnu.org>
4250
1c800673
MK
4251 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
4252 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
4253 StackGhost.
4254
7d34766b
MK
4255 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
4256 variable `i6' to `i7'.
4257 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
4258
22940a24
AC
42592004-02-07 Andrew Cagney <cagney@redhat.com>
4260
4261 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
4262 (TuiPoint, TuiPointPtr): Ditto.
4263 (TuiStatus, TuiStatusPtr): Ditto.
4264 (TuiWinType, TuiWinTypePtr): Ditto.
4265 (struct tui_point): Rename _TuiPoint.
4266 (tui_get_low_disassembly_address): Rename
4267 tuiGetLowDisassemblyAddress.
4268 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
4269 (tuiFree): Delete declaration.
4270 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
4271 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
4272 * tui/tui.c (tuiFree): Delete function.
4273 * cli/cli-cmds.c (disassemble_command): Update references.
4274 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
4275 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
4276 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
4277 * tui/tui-winsource.c: Ditto.
4278
8b92e4d5
EZ
42792004-02-07 Elena Zannoni <ezannoni@redhat.com>
4280
4281 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
4282 coffstab_build_psymtabs, elfstab_build_psymtabs)
4283 (stabsect_build_psymtabs): Replace psymbol_obstack with
4284 objfile_obstack.
4285 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
4286 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
4287 Ditto.
4288 * dwarfread.c (scan_compilation_units): Ditto.
4289 * elfread.c (elfstab_offset_sections): Ditto.
4290 * hppa-tdep.c (read_unwind_info): Ditto.
4291 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
4292 (hpread_end_psymtab): Ditto.
4293 * mdebugread.c (mdebug_build_psymtabs, add_pending)
4294 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
4295 Ditto.
4296 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 4297 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
4298 (build_objfile_section_table): Ditto.
4299 (allocate_objfile): Remove init of psymbol_obstack.
4300 (free_objfile): Remove freeing of psymbol_obstack.
4301 * objfiles.h (struct objfile): Remove field
4302 psymbol_obstack. Update comments.
4303 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
4304 psymbol_obstack with objfile_obstack.
4305 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
4306 psymbol_obstack.
4307 * somread.c (som_symfile_offsets, init_import_symbols)
4308 (init_export_symbols): Replace psymbol_obstack with
4309 objfile_obstack.
4310 * somsolib.c (som_solib_add_solib_objfile): Ditto.
4311 * symfile.c (default_symfile_offsets, syms_from_objfile)
4312 (reread_symbols): Remove freeing and init of psymbol_obstack.
4313 (cashier_psymtab): Update comment.
4314 * symmisc.c (print_objfile_statistics): Don't report stats for
4315 psymbol obstack.
4316 * symtab.h (struct general_symbol_info, struct partial_symtab):
4317 Update comments.
4318 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
4319 (xcoff_symfile_offsets): Replace psymbol_obstack with
4320 objfile_obstack.
4321
b99607ea
EZ
43222004-02-07 Elena Zannoni <ezannoni@redhat.com>
4323
4324 * objfiles.h (struct objfile): Add objfile_obstack field.
4325 Remove type_obstack field.
4326
4327 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
4328 read_structure_scope read_enumeration, new_symbol): Replace
4329 type_obstack with objfile_obstack.
4330 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 4331 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
4332 (lookup_fundamental_type): Ditto.
4333 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
4334 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
4335 (hpread_read_doc_function_type, hpread_read_struct_type)
4336 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 4337 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 4338 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
4339 (java_link_class_type): Ditto.
4340 * mdebugread.c (parse_type): Ditto.
4341 * objfiles.c (allocate_objfile, free_objfile): Ditto.
4342 * solib-sunos.c (solib_add_common_symbols): Ditto.
4343 * stabsread.c (define_symbol, read_type, read_member_functions,
4344 read_cpp_abbrev, read_one_struct_field): Ditto.
4345 * symfile.c (reread_symbols): Ditto.
4346 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 4347
2a8854a7
AC
43482004-02-07 Andrew Cagney <cagney@redhat.com>
4349
4350 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
4351 (tui_exec_info_content): Rename TuiExecInfoContent.
4352 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
4353 (TuiWinInfo, TuiWinInfoPtr): Ditto.
4354 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
4355 (TuiList, TuiListPtr): Ditto.
4356 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
4357 (TuiDataType, TuiDataTypePtr): Ditto.
4358 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
4359 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
4360 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
4361 (TuiSourceElement, TuiSourceElementPtr): Ditto.
4362 (TuiDataElement, TuiDataElementPtr): Ditto.
4363 (TuiWinElement, TuiWinElementPtr): Ditto.
4364 (TuiDataInfo, TuiDataInfoPtr): Ditto.
4365 (TuiCommandElement, TuiCommandElementPtr): Ditto.
4366 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
4367 (TuiWhichElement, TuiWhichElementPtr): Ditto.
4368 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
4369 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
4370 * tui/tui-command.c, tui/tui-data.c: Update references.
4371 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
4372 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
4373 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
4374 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 4375
05cbe71a
MK
43762004-02-07 Mark Kettenis <kettenis@gnu.org>
4377
4378 * dwarf2-frame.h: Update copyright.
4379 (enum dwarf2_frame_reg_rule): New.
4380 (struct dwarf2_frame_state_reg): New.
4381 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
4382 * dwarf2-frame.c: Update copyright.
4383 (enum dwarf2_reg_rule): Remove.
4384 (struct dwarf2_frame_state): Remove defenition of `struct
4385 dwarf2_frame_state_reg'.
4386 (read_reg): Call get_frame_arch to get the architecture instead of
4387 using CURRENT_GDBARCH.
4388 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
4389 DWARF2_FRAME_.
4390 (dwarf2_frame_init_reg): New function.
4391 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
4392 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
4393 initialize the register state. Prefix old `enum dwarf2_reg_rule'
4394 tags with DWARF2_FRAME_.
4395 (dwarf2_frame_prev_register): Call get_frame_arch to get the
4396 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
4397 dwarf2_reg_rule' tags with DWARF2_FRAME_.
4398
ec7d9e56
AC
43992004-02-06 Andrew Cagney <cagney@redhat.com>
4400
dd1abb8c
AC
4401 * tui/tui-data.h (struct tui_list): Rename _TuiList.
4402 (enum tui_data_type): Rename _TuiDataType.
4403 (struct tui_layout_def): Rename _TuiLayoutDef.
4404 (struct tui_source_element): Rename _TuiSourceElement.
4405 (struct tui_data_element): Rename _TuiDataElement.
4406 (struct tui_command_element): Rename _TuiCommandElement.
4407 (struct tui_locator_element): Rename _TuiLocatorElement.
4408 (union tui_which_element): Define.
4409 (struct tui_win_element): Rename _TuiWinElement.
4410 (struct tui_data_info): Rename _TuiDataInfo.
4411 (struct tui_source_info): Rename _TuiSourceInfo.
4412 (struct tui_command_info): Rename _TuiCommandInfo.
4413 (tui_initialize_static_data): Rename initializeStaticData.
4414 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
4415 (tui_alloc_win_info): Rename allocWinInfo.
4416 (tui_init_generic_part): Rename initGenericPart.
4417 (tui_init_win_info): Rename initWinInfo.
4418 (tui_alloc_content): Rename allocContent.
4419 (tui_add_content_elements): Rename addContentElements.
4420 (tui_init_content_element): Rename initContentElement.
4421 (tui_free_window): Rename freeWindow.
4422 (tui_free_win_content): Rename freeWinContent.
4423 (tui_free_data_content): Rename freeDataContent.
4424 (tui_free_all_source_wins_content): Rename
4425 freeAllSourceWinsContent.
4426 (tui_del_window): Rename tuiDelWindow.
4427 (tui_del_data_windows): Rename tuiDelDataWindows.
4428 (tui_partial_win_by_name): Rename partialWinByName.
4429 (tui_win_name): Rename winName.
4430 (tui_current_layout): Rename currentLayout.
4431 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
4432 (tui_term_height): Rename termHeight.
4433 (tui_set_term_height_to): Rename setTermHeightTo.
4434 (tui_term_width): Rename termWidth.
4435 (tui_set_term_width_to): Rename setTermWidthTo.
4436 (tui_set_gen_win_origin): Rename setGenWinOrigin.
4437 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
4438 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
4439 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
4440 (tui_source_windows): Rename sourceWindows.
4441 (tui_clear_source_windows): Rename clearSourceWindows.
4442 (tui_clear_source_windows_detail): Rename
4443 clearSourceWindowsDetail.
4444 (tui_clear_win_detail): Rename clearWinDetail.
4445 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
4446 (tui_default_tab_len): Rename tuiDefaultTabLen.
4447 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
4448 (tui_win_with_focus): Rename tuiWinWithFocus.
4449 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
4450 (tui_layout_def): Rename tuiLayoutDef.
4451 (tui_win_resized): Rename tuiWinResized.
4452 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
4453 (tui_next_win): Rename tuiNextWin.
4454 (tui_prev_win): Rename tuiPrevWin.
4455 (tui_add_to_source_windows): Rename addToSourceWindows.
4456 * tui/tui-winsource.c, tui/tui-win.c: Update references.
4457 * tui/tui-layout.c, tui/tui-source.c: Ditto.
4458 * tui/tui-stack.c, tui/tui-io.c: Ditto.
4459 * tui/tui.c, tui/tui-data.c: Ditto.
4460 * tui/tui-interp.c, tui/tui-data.c: Ditto.
4461 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
4462
a358af15
AC
4463 * tui/tui-source.h: Update copyright. Include "tui-data.h".
4464 (struct symtab): Declare.
4465 (tui_set_source_content): Rename tuiSetSourceContent.
4466 (tui_show_symtab_source): Rename tuiShowSource.
4467 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
4468 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
4469 * tui/tui-source.c: Update copyright. Update references.
4470 * tui/tui-win.c, tui/tui-winsource.c: Update references.
4471 * tui/tui-stack.c: Update references.
4472
a21fcd8f
AC
4473 * tui/tui-win.h: Update copyright. Include "tui-data.h".
4474 (struct tui_win_info): Declare.
4475 (tui_scroll_forward): Rename tuiScrollForward.
4476 (tui_scroll_backward): Rename tuiScrollBackward.
4477 (tui_scroll_left): Rename tuiScrollLeft.
4478 (tui_scroll_right): Rename tuiScrollRight.
4479 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
4480 (tui_resize_all): Rename tuiResizeAll.
4481 (tui_refresh_all_win): Rename tuiRefreshAll.
4482 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
4483 * tui/tui-layout.c, * tui/tui-io.c: Update references.
4484 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
4485 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
4486
edae1ccf
AC
4487 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
4488 (tui_erase_data_content): Rename tuiEraseDataContent.
4489 (tui_display_all_data): Rename tuiDisplayAllData.
4490 (tui_check_data_values): Rename tuiCheckDataValues.
4491 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
4492 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
4493 (tui_first_data_element_no_in_line): Rename
4494 tuiFirstDataElementNoInLine.
4495 (tui_delete_data_content_windows): Rename
4496 tuiDeleteDataContentWindows.
4497 (tui_refresh_data_win): Rename tuiRefreshDataWin.
4498 (tui_display_data_from): Rename tuiDisplayDataFrom.
4499 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
4500 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
4501 * tui/tui-win.c, tui/tui-regs.c: Update references.
4502 * tui/tui-layout.c, tui/tui.c: Update references.
4503
ec7d9e56
AC
4504 * tui/tui-wingeneral.h: Update copyright.
4505 (m_allBeVisible): Delete macro.
8a1dac83 4506 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
4507 (struct tui_gen_win_info): Declare.
4508 (struct tui_win_info): Declare.
4509 (tui_unhighlight_win): Rename unhighlightWin.
4510 (tui_make_visible, tui_make_invisible): Replace makeVisible.
4511 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
4512 (tui_make_window): Rename makeWindow.
4513 (tui_copy_win): Rename copyWin.
4514 (tui_box_win): Rename boxWin.
4515 (tui_highlight_win): Rename highlightWin.
4516 (tui_check_and_display_highlight_if_needed): Rename
4517 checkAndDisplayHighlightIfNeeded.
4518 (tui_refresh_all): Rename refreshAll.
4519 (tui_delete_win): Rename tuiDelwin.
4520 (tui_refresh_win): Rename tuiRefreshWin.
4521 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
4522 (tui_make_visible, tui_make_invisible): New functions.
4523 (tui_make_all_visible, tui_make_all_invisible): New functions.
4524 (make_all_visible): Rename makeAllVisible.
4525 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
4526 * tui/tui-data.c, tui/tui-winsource.c: Update references.
4527 * tui/tui-windata.c, tui/tui-win.c: Update references.
4528 * tui/tui-regs.c, tui/tui-layout.c: Update references.
4529 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
4530
1e52e2eb
MK
45312004-02-06 Mark Kettenis <kettenis@gnu.org>
4532
4533 * proc-api.c (write_with_trace): Initialize local variable to
4534 silence compiler warning.
4535
f80bda8e
AC
45362004-02-06 Andrew Cagney <cagney@redhat.com>
4537
4538 * tui/tui-source.h: Do not include "defs.h".
4539 (struct tui_win_info): Declare.
4540 (tui_set_source_content_nil): Declare.
4541 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
4542 (union tui_line_or_address): Rename _TuiLineOrAddress.
4543 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
4544 (tui_update_source_window): Rename tuiUpdateSourceWindow.
4545 (tui_update_source_window_as_is): Rename
4546 tuiUpdateSourceWindowAsIs.
4547 (tui_update_source_windows_with_addr): Rename
4548 tuiUpdateSourceWindowsWithAddr.
4549 (tui_update_source_windows_with_line): Rename
4550 tuiUpdateSourceWindowsWithLine.
4551 (tui_clear_source_content): Rename tuiClearSourceContent.
4552 (tui_erase_source_content): Rename tuiEraseSourceContent.
4553 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
4554 (tui_show_source_content): Rename tuiShowSourceContent.
4555 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
4556 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
4557 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
4558 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
4559 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
4560 (tui_update_exec_info): Rename tuiUpdateExecInfo.
4561 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
4562 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
4563 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
4564 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
4565 (struct tui_win_info): Declare.
4566 * tui/tui-stack.c: Update references.
4567 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
4568 * tui/tui-win.c, tui/tui-source.c: Ditto.
4569 * tui/tui.c, tui/tui-disasm.c: Ditto.
4570
9fbfb822
MK
45712004-02-06 Mark Kettenis <kettenis@gnu.org>
4572
4573 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
4574 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
4575
03cebad2
MK
45762004-02-05 Mark Kettenis <kettenis@gnu.org>
4577
4578 * infrun.c (handle_inferior_event): Allow for breakpoint
4579 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
4580 and SIGEMT. Update comments.
4581 * NEWS (Revised SPARC target): Mention support for non-executable
4582 stack.
4583
290281b1
MK
45842004-02-04 Mark Kettenis <kettenis@gnu.org>
4585
4586 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
4587 * inftarg.c: Update copyright year.
4588 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
4589 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
4590 (sparc_xfer_wcookie): New function.
4591 * sparc-tdep.c (sparc_fetch_wcookie): New function.
4592 * Makefile.in (sparc-nat.o): Update dependencies.
4593 * config/sparc/nm-nbsd.h: Include "target.h".
4594 (NATIVE_XFER_WCOOKIE): New define.
4595 (sparc_xfer_wcookie): New prototype.
4596
212161df
AC
45972004-02-04 Andrew Cagney <cagney@redhat.com>
4598
4599 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
4600 SYSCALL_TRAP function.
4601 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
4602
6e4c6c91
DJ
46032004-02-04 Andrew Cagney <cagney@redhat.com>
4604 Daniel Jacobowitz <drow@mvista.com>
4605
4606 * objfiles.h: Delete comments refering to inside_entry_func and
4607 DEPRECATED_FRAME_CHAIN_VALID.
4608 * defs.h (inside_entry_func): Update prototype..
4609 * blockframe.c (inside_entry_func): Rename to
4610 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
4611 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
4612
cae688ec
JJ
46132004-02-03 Jeff Johnston <jjohnstn@redhat.com>
4614
4615 * breakpoint.c (struct captured_parse_breakpoint_args): Move
4616 outside of #ifdef SOLIB_ADD region.
4617 (do_restore_lang_radix_cleanup): Ditto.
4618 (resolve_pending_breakpoint): Ditto.
4619
19217676
AC
46202004-02-03 Andrew Cagney <cagney@redhat.com>
4621
4622 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
4623 (process_note_abi_tag_sections): Delete unused function.
4624 (ia64_read_fp): Delete unused function.
4625 (gdbarch_extract_struct_value_address): Delete declaration.
4626
876753be
AC
46272004-02-02 Andrew Cagney <cagney@redhat.com>
4628
4629 * vax-tdep.c (vax_frame_chain): Delete call to
4630 deprecated_inside_entry_file.
4631 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
4632
d4f10bf2
MK
46332004-02-02 Mark Kettenis <kettenis@gnu.org>
4634
4635 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
4636 column that's "empty" or "same value" when eliminating REG_RA
4637 rules.
4638
cae688ec
JJ
46392004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4640
4641 * NEWS: Add information about new pending breakpoint support.
4642
0101ce28
JJ
46432004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4644
4645 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
4646 and pending fields for pending breakpoint support.
4647 * breakpoint.c (breakpoint_enabled): Add check for not pending.
4648 (condition_command): Only parse condition if not a pending
4649 breakpoint.
4650 (print_one_breakpoint): Add support for pending breakpoints.
4651 (describe_other_breakpoints): Add checks to verify we are not
4652 dealing with pending breakpoints.
4653 (check_duplicates): Don't check pending breakpoints.
4654 (set_raw_breakpoint): Initialize pending flag.
4655 (do_restore_lang_radix_cleanup): New cleanup routine.
4656 (resolve_pending_breakpoint): New function.
4657 (re_enable_breakpoints_in_shlibs): Try and resolve any
4658 pending breakpoints via resolve_pending_breakpoint.
4659 (mention): Add pending breakpoint support.
4660 (parse_breakpoint_sals): Add new parameter to pass to
4661 decode_line_1 to indicate silent errors when files or functions
4662 are not found. Change all callers.
4663 (do_captured_parse_breakpoint): New function.
4664 (break_command_1): Change prototype to return an rc value and to
4665 take an optional pending breakpoint pointer. Support creating
4666 a pending breakpoint if a "not found" form of error occurs when
4667 parsing the breakpoint. Also support resolving an existing pending
4668 breakpoint and be silent if the resolution fails.
4669 (create_breakpoints): Change prototype to take pending breakpoint
4670 pointer. When resolving a pending breakpoint, use the new pointer
4671 to provide a conditional or commands added by the end-user.
4672 (delete_breakpoint): Add appropriate check for pending.
4673 (breakpoint_re_set_one): Ditto.
4674 (do_enable_breakpoint): Ditto.
4675
8d577d32
DC
46762004-02-02 David Carlton <carlton@kealia.com>
4677
4678 * valops.c (enum oload_classification): New.
4679 (find_overload_match): Break implementation into separate
4680 functions; delete #if 0'd code; look for symbols within
4681 namespaces.
4682 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
4683 (find_oload_champ,oload_method_static,classify_oload_match): New.
4684 * cp-support.h: Add declaration for cp_func_name; update
4685 declaration for make_symbol_overload_list.
4686 * cp-support.c (cp_func_name): New.
4687 (overload_list_add_symbol): Fix comment, use
4688 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
4689 (make_symbol_overload_list): Take a function name and a namespace
4690 instead of a symbol; change implementation.
4691 (make_symbol_overload_list_using): New.
4692 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
4693
22e8e3c7
FF
46942004-02-02 Fred Fish <fnf@redhat.com>
4695
4696 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 4697 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
4698 * remote-sim.c (gdb_os_write_stderr): Write output to
4699 gdb_stdtargerr stream instead of gdb_stdtarg stream.
4700 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 4701 gdb_stderr stream and update copyright years.
22e8e3c7 4702
6b753f60
DJ
47032004-02-01 Daniel Jacobowitz <drow@mvista.com>
4704
4705 * Makefile.in (mips-linux-nat.o): Update dependencies.
4706 * mips-linux-nat.c: Include mips-tdep.h.
4707
47082004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
4709
4710 * sol-thread.c (sol_thread_xfer_partial): New function.
4711 (init_sol_thread_ops): Use that for to_xfer_partial hook.
4712 (init_sol_core_ops): Likewise.
4713
4714 * procfs.c (procfs_xfer_partial): New function.
4715 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
4716 * Makefile.in (procfs.o): Add $(auxv_h) dep.
4717
4718 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
4719 procfs_xfer_auxv function.
4720
4721 * procfs.c (procfs_make_note_section): If we can read
4722 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
4723 * linux-proc.c (linux_make_note_section): Likewise.
4724
4725 * auxv.h: New file.
4726 * auxv.c: New file.
4727 * Makefile.in (auxv_h): New variable.
4728 (COMMON_OBS): Add auxv.o here.
4729 (auxv.o): New target.
4730
4731 * corelow.c (core_xfer_partial): New function.
4732 (init_core_ops): Use it for core_ops.to_xfer_partial.
4733
4734 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
4735 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
4736 macro if that is defined.
4737
fa5281d0
DJ
47382004-02-01 Daniel Jacobowitz <drow@mvista.com>
4739
4740 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
4741 and check the specified thread for each breakpoint.
4742 * breakpoint.h (bpstat_stop_status): Update prototype.
4743 * infrun.c (handle_inferior_event): Update calls to
4744 bpstat_stop_status.
4745
26ee262d
DJ
47462004-02-01 Daniel Jacobowitz <drow@mvista.com>
4747
4748 * Makefile.in (cli-cmds.o): Add $(readline_h).
4749
d9b52655
DJ
47502004-02-01 Daniel Jacobowitz <drow@mvista.com>
4751
4752 * cli/cli-cmds.c: Include readline.h.
4753 (complete_command): Pass the start of the last word to
4754 complete_line.
4755
9709f61c
DJ
47562004-01-31 Daniel Jacobowitz <drow@mvista.com>
4757
4758 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
4759 argument, and change first argument to a CORE_ADDR.
4760 * breakpoint.h (bpstat_stop_status): Update prototype.
4761 * infrun.c (adjust_pc_after_break): Add a new comment.
4762 (handle_inferior_event): Update calls to bpstat_stop_status.
4763
4f1280bb
DJ
47642004-01-31 Daniel Jacobowitz <drow@mvista.com>
4765
4766 * breakpoint.h: Update copyright years.
4767
4fa8626c
DJ
47682004-01-31 Daniel Jacobowitz <drow@mvista.com>
4769
4770 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
4771 (bpstat_stop_status): Don't decrement PC.
4772 * breakpoint.h (software_breakpoint_inserted_here_p): Add
4773 prototype.
4774 * infrun.c (adjust_pc_after_break): New function.
4775 (handle_inferior_event): Call it, early. Remove later references
4776 to DECR_PC_AFTER_BREAK.
4777 (normal_stop): Add commentary.
4778
fad0733a
DJ
47792004-01-31 Daniel Jacobowitz <drow@mvista.com>
4780
4781 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
4782 2004-01-27 double-free fix.
4783
42cdca6c
MK
47842004-01-31 Mark Kettenis <kettenis@gnu.org>
4785
4786 * sparc-tdep.c (sparc_fetch_wcookie): New function.
4787 (sparc32_frame_prev_register): Handle StackGhost.
4788 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
4789
932d5416
RM
47902004-01-29 Roland McGrath <roland@redhat.com>
4791
4792 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
4793 * configure: Regenerated.
4794
4795 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
4796 * Makefile.in (procfs.o): Add dep.
4797
47d3492a
AC
47982004-01-28 Andrew Cagney <cagney@redhat.com>
4799
4800 * tui/tui-stack.h: Update copyright.
4801 (struct frame_info): Add opaque declaration.
4802 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
4803 (tui_show_locator_content): Rename tuiShowLocatorContent.
4804 (tui_show_frame_info): Rename tuiShowFrameInfo.
4805 * tui/tui-stack.c: Update copyright. Update references.
4806 * tui/tui-winsource.c: Update references.
4807 * tui/tui-win.c: Update references.
4808 * tui/tui-layout.c: Update references.
4809 * tui/tui-hooks.c: Update copyright, update references.
4810 * tui/tui.c: Update copyright, update references.
4811 * tui/tui-disasm.c: Update references.
4812
5d51ca54
DC
48132004-01-28 David Carlton <carlton@kealia.com>
4814
4815 * dwarf2read.c (add_partial_structure): Use demangled name if
4816 namespace equals "".
4817
086ed43d
JB
48182004-01-27 Jim Blandy <jimb@redhat.com>
4819
4820 Clean up misapplied patch:
4821 * dwarf2read.c (determine_prefix): Change one of the two forward
4822 declarations for 'determine_prefix_aux' to a declaration for this.
4823 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
4824 argument to 'die_specification'.
4825
2a35147e
JB
4826 * dwarf2read.c (read_func_scope): Re-indent comment.
4827
a355c7de 48282004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 4829
a355c7de
AC
4830 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
4831 b->exp to NULL after freeing so that error during re-parsing or
4832 evaluation of expressions associated with breakpoint don't
4833 eventually lead to re-freeing of storage.
4834 Committed by Andrew Cagney.
4835
63ff5125
AC
48362004-01-27 Andrew Cagney <cagney@redhat.com>
4837
4838 * source.c (ambiguous_line_spec): Delete undefined declaration.
4839 * m32r-rom.c (m32r_set_board_address): Delete unused function.
4840 (m32r_set_server_address, m32r_set_download_path): Ditto.
4841 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
4842
e142c38c
DJ
48432004-01-27 Daniel Jacobowitz <drow@mvista.com>
4844
4845 * dwarf2read.c: Update calls to changed and renamed functions, and
4846 references to moved variables.
4847
4848 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
4849 language, language_defn, list_in_scope, and ftypes members.
4850 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
4851 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
4852 (baseaddr): Remove globals.
4853
4854 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
4855 (set_cu_language, die_is_declaration, die_specification)
4856 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
4857 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
4858 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
4859 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
4860
4861 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
4862 cu.list_in_scope. Don't initialize cu_header_offset.
4863 (add_partial_symbol): Add local baseaddr.
4864 (psymtab_to_symtab_1): Add local baseaddr. Use
4865 objfile->section_offsets for consistency. Don't initialize
4866 cu_header_offset; do initialize cu.header.offset and
4867 cu.list_in_scope.
4868 (read_file_scope, read_func_scope, read_lexical_block_scope)
4869 (dwarf_decode_lines, new_symbol): Add local baseaddr.
4870
c6e06ede
MC
48712004-01-27 Michael Chastain <mec.gnu@mindspring.com>
4872
fb328ecc 4873 * PROBLEMS: Add gdb/1516.
c6e06ede 4874
48184fd4
AC
48752003-12-29 Robert Millan <robertmh@gnu.org>
4876
4877 Patch committed by Andrw Cagney.
4878 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
4879 * configure.tgt: Match knetbsd*-gnu.
4880
c1321b30
AC
48812004-01-26 Andrew Cagney <cagney@redhat.com>
4882
f3699be3
AC
4883 * breakpoint.c (catch_command_1): Delete #ifdef code.
4884 (catch_fork_command_1): Delete #ifdef wrapper.
4885 (catch_exec_command_1): Ditto.
4886 (catch_load_command_1): Ditto.
4887 (catch_unload_command_1): Ditto.
4888
c1321b30
AC
4889 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
4890 (catch_breakpoint): Delete #if0ed function.
4891 (disable_catch_breakpoint): Ditto.
4892 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
4893 (disable_catch, enable_catch, delete_catch): Ditto.
4894
b4501125
AC
48952004-01-26 Andrew Cagney <cagney@redhat.com>
4896
4897 * remote.c (echo_check, quit_flag): Delete variables.
4898 (cisco_kernel_mode): Delete variable.
4899 (minitelnet_return, tty_input, escape_count): Delete variables.
4900 (remote_cisco_mode): Delete variable.
4901 (remote_cisco_open, remote_cisco_close): Delete function.
4902 (remote_cisco_mourn, remote_cisco_wait): Delete function.
4903 (init_remote_cisco_ops): Delete function.
4904 (_initialize_remote): Do not install "remote cisco" code.
4905 (read_frame): Delete cisco specific code.
4906 (remote_info_process): Delete function.
4907 (remote_wait): Delete cisco specific code.
4908 (remote_cisco_section_offsets): Delete function.
4909 (remote_cisco_objfile_relocate): Delete function.
4910 (remote_async_wait): Delete cisco specific code.
4911 (minitelnet, readtty, readsocket): Delete function.
4912
74055713
AC
49132004-01-26 Andrew Cagney <cagney@redhat.com>
4914
4915 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
4916 comments mentioning extract_returned_value_address.
4917 * infcmd.c (print_return_value): Update. Add comments on
4918 extract_returned_value_address.
4919 * stack.c (return_command): Add comments on
4920 extract_returned_value_address.
4921 * values.c: Update comment.
4922 * m32r-tdep.c: Update comment.
4923 * sparc-tdep.c: Update comment.
4924 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
4925 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
4926 * sh64-tdep.c (sh64_gdbarch_init): Update.
4927 * sh-tdep.c (sh_gdbarch_init): Update.
4928 * s390-tdep.c (s390_gdbarch_init): Update.
4929 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4930 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
4931 * m68k-tdep.c (m68k_gdbarch_init): Update.
4932 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
4933 * m32r-tdep.c (m32r_gdbarch_init): Update.
4934 * ia64-tdep.c (ia64_gdbarch_init): Update.
4935 * h8300-tdep.c (h8300_gdbarch_init): Update.
4936 * frv-tdep.c (frv_gdbarch_init): Update.
4937 * arm-tdep.c (arm_gdbarch_init): Update.
4938 * alpha-tdep.c (alpha_gdbarch_init): Update.
4939
a67af2b9
AC
49402004-01-26 Andrew Cagney <cagney@redhat.com>
4941
4942 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
4943 SYMBOL_LOCATION_FUNCS
4944 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
4945 "struct symbol_ops".
4946 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
4947 type to "struct symbol_ops".
4948 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
4949 (struct symbol): Replace ".aux_value.loc.funcs" and
4950 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
4951 (SYMBOL_OBJFILE): Delete macro.
4952 (SYMBOL_LOCATION_FUNCS): Delete macro.
4953 (SYMBOL_LOCATION_BATON): Update.
4954 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
4955 intead of SYMBOL_LOCATION_FUNCS.
4956 * ax-gdb.c (gen_var_ref): Ditto.
4957 * printcmd.c (address_info): Ditto.
4958 * findvar.c (read_var_value): Ditto.
4959 (symbol_read_needs_frame): Ditto.
4960
c034e007
AC
49612004-01-26 Andrew Cagney <cagney@redhat.com>
4962
4963 * dwarf2read.c (read_func_scope): Document frame-base hack.
4964
bb472c1e
MK
49652004-01-25 Mark Kettenis <kettenis@gnu.org>
4966
4967 * infcmd.c (print_return_value): Plug memory leak; delete
4968 ui_stream object. Rename argument `structure_return' to
4969 `struct_return'.
4970
c8e737d5
MK
49712004-01-25 Mark Kettenis <kettenis@gnu.org>
4972
f941662f
MK
4973 * infcmd.c (print_return_value): Wrap long lines.
4974 (finish_command_continuation, finish_command): Remove unused
4975 variable `funcaddr'. Fix some coding-standards problems.
4976
c558d81a 4977 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
d8d65dd3 4978 SECT_SIZE is large enough, not whether it's exactly the right size.
c558d81a
MK
4979 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
4980 TDEP->fpregset to zero.
4981
bf1e5861 4982 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
4983 floating-point registers for traditional NetBSD core files.
4984 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
4985 TDEP->sizeof_fpregset here.
4986
4c72d57a
MK
49872004-01-25 Mark Kettenis <kettenis@gnu.org>
4988
566626fa
MK
4989 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
4990 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
4991 function with code split out from
4992 sparc32nbsd_sigcontext_frame_cache.
4993 (sparc32nbsd_sigcontext_frame_cache): Use
4994 sparc32nbsd_sigcontext_saved_regs.
4995 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
4996 OpenBSD.
4997 * sparcobsd-tdep.c: New file.
4998 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
4999 (sparcobsd-tdep.o): New dependency.
5000 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
5001 * config/sparc/obsd.mt: New file.
5002
4c72d57a
MK
5003 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
5004 TDEP->fpregset to be initialized to enable core file register
5005 sets.
5006
7e5e9f88
MK
50072004-01-24 Mark Kettenis <kettenis@gnu.org>
5008
f0f207fd 5009 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
5010 Add opaque declarations.
5011 (sparc64nbsd_sigcontext_saved_regs): New prototype.
5012 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
5013 function with code split out from
5014 sparc64nbsd_sigcontext_frame_cache.
5015 (sparc64nbsd_sigcontext_frame_cache): Use
5016 sparc64nbsd_sigcontext_saved_regs.
5017 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
5018 OpenBSD.
5019 * sparc64obsd-tdep.c: New file.
5020 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
5021 (sparc64obsd-tdep.o): New dependency.
5022 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
5023 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
5024 * config/sparc/obsd64.mt: New file.
5025
690668cc
MK
5026 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
5027 read the instruction at PC.
5028
7e5e9f88
MK
5029 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
5030 value of GDB_OSABI_DEFAULT.
5031 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
5032 instead of GDB_OSABI_NETBSD_AOUT.
5033
68b6dce9
NR
50342004-01-24 Nick Roberts <nick@nick.uklinux.net>
5035
5036 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
5037 copyright.
5038
080ce8c0
AC
50392004-01-23 Andrew Cagney <cagney@redhat.com>
5040
5041 * printcmd.c (display_command): Replace tui_set_display call with
5042 tui_set_layout_for_display_command.
5043 * tui/tui.h (enum tui_win_type): Define.
5044 (tui_set_layout): Delete declaration.
5045 (tui_set_layout_for_display_command): Rename set_tui_layout.
5046 * tui/tui-data.h (enum tui_layout_type): Define.
5047 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
5048 "tui.h".
5049 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
5050 (tui_default_win_height): Rename tuiDefaultWinHeight.
5051 (tui_default_win_viewport_height): Rename
5052 tuiDefaultWinViewportHeight.
5053 (tui_set_layout): RenametuiSetLayout.
5054 * tui/tui-layout.c: Update references.
5055 * tui/tui.c: Update references.
5056 * tui/tui-disasm.c: Update references.
5057
b368761e
DC
50582004-01-23 David Carlton <carlton@kealia.com>
5059
5060 Partial workaround for PR c++/1511:
5061 * cp-namespace.c: Include frame.h.
5062 (cp_lookup_transparent_type): New
5063 (cp_lookup_transparent_type_loop): New.
5064 * cp-support.h: Declare cp_lookup_transparent_type.
5065 * symtab.c (basic_lookup_transparent_type): Renamed from
5066 lookup_transparent_type.
5067 (lookup_transparent_type): Replace old body by a call to
5068 current_language->la_lookup_transparent_type.
5069 * symtab.h: Update copyright. Declare
5070 basic_lookup_transparent_type.
5071 * language.h: Update copyright.
5072 (struct language_defn): Add la_lookup_transparent_type.
5073 * language.c: Update copyright.
5074 (unknown_language_defn): Add basic_lookup_transparent_type.
5075 (auto_language_defn): Add basic_lookup_transparent_type.
5076 (local_language_defn): Add basic_lookup_transparent_type.
5077 * ada-lang.c: Update copyright.
5078 (ada_language_defn): Add basic_lookup_transparent_type.
5079 * c-lang.c: Update copyright.
5080 (c_language_defn): Add basic_lookup_transparent_type.
5081 (cplus_language_defn): Add basic_lookup_transparent_type.
5082 (asm_language_defn): Add basic_lookup_transparent_type.
5083 (minimal_language_defn): Add basic_lookup_transparent_type.
5084 * f-lang.c: Update copyright.
5085 (f_language_defn): Add basic_lookup_transparent_type.
5086 * jv-lang.c: Update copyright.
5087 (java_language_defn): Add basic_lookup_transparent_type.
5088 * m2-lang.c: Update copyright.
5089 (m2_language_defn): Add basic_lookup_transparent_type.
5090 * objc-lang.c: Update copyright.
5091 (objc_language_defn): Add basic_lookup_transparent_type.
5092 * p-lang.c: Update copyright.
5093 (p_language_defn): Add basic_lookup_transparent_type.
5094 * scm-lang.c: Update copyright.
5095 (scm_language_defn): Add basic_lookup_transparent_type.
5096 * Makefile.in (cp-namespace.o): Depend on frame.h.
5097
fdde2d81
DC
50982004-01-23 David Carlton <carlton@kealia.com>
5099
5100 Patch for PR c++/1520:
5101 * dwarf2read.c (read_func_scope): Set processing_current_prefix
5102 properly if we have a specification die.
5103 (determine_prefix_aux): Rename from determine_prefix.
5104 (determine_prefix): Like the old determine_prefix, but never
5105 returns NULL.
5106
5b828b6b
TR
51072004-01-23 Theodore A. Roth <troth@openavr.org>
5108
5109 * avr-tdep.c: Update copyright.
5110 (avr_iaddr_p): Delete unused function.
5111 (avr_saddr_p): Delete unused function.
5112
a1b8c067
DC
51132004-01-23 David Carlton <carlton@kealia.com>
5114
5115 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
5116 Fix for PR symtab/1534.
5117
f2cab569
MK
51182004-01-23 Mark Kettenis <kettenis@gnu.org>
5119
5120 * NEWS (New native configurations): Mention OpenBSD/sparc and
5121 OpenBSD/sparc64.
5122 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
5123 * configure.host: Likewise.
5124 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
5125 handler for OpenBSD.
5126 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
5127
642d8300
MK
51282004-01-22 Mark Kettenis <kettenis@gnu.org>
5129
89aac506
MK
5130 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
5131 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
5132
36662fde
MK
5133 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
5134 * cli/cli-cmds.c (shell_escape): Likewise.
5135
642d8300
MK
5136 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
5137 OpenBSD .note.openbsd.ident sections.
5138
fae299cd
DC
51392004-01-22 David Carlton <carlton@kealia.com>
5140
5141 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
5142 get_scope_pc_bounds.
5143 (read_file_scope): Ditto.
5144 (get_scope_pc_bounds): New function, produced by extracting code
5145 from the above two functions, consolidating it, and adding support
5146 for DW_TAG_namespace.
5147
a49d618c
MK
51482004-01-22 Mark Kettenis <kettenis@gnu.org>
5149
5150 * osabi.c (MAX_NOTESZ): New define.
5151 (check_note): New function.
5152 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
5153 check_note.
5154
fe61caab
RM
51552004-01-21 Roland McGrath <roland@redhat.com>
5156
5157 * MAINTAINERS (write after approval): Add myself.
5158
ec145965
EZ
51592004-01-21 Eli Zaretskii <eliz@gnu.org>
5160
5161 * utils.c (init_page_info): Move declarations of `rows' and
5162 `cols' before the __GO32__-specific code. Move the closing brace
5163 outside the #ifdef __GO32__..#endif block.
5164 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
5165
877522db
PB
51662004-01-21 Paul Brook <paul@codesourcery.com>
5167
5168 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
5169 BPSTAT_WHAT_CHECK_SHLIBS.
5170
dbf5be1c
PB
51712004-01-21 Paul Brook <paul@codesourcery.com>
5172
5173 * MAINTAINERS: Add myself to write-after-approval.
5174
81f08b92
AC
51752004-01-20 Andrew Cagney <cagney@redhat.com>
5176
5a1efed7
AC
5177 * ax-gdb.c (print_axs_value): Delete unused function.
5178 * jv-lang.c (java_lookup_type): Delete unused function.
5179 * cli/cli-dump.c (dump_filetype): Delete unused function.
5180 * remote-mips.c (remote_mips_insert_hw_breakpoint)
5181 (remote_mips_remove_hw_breakpoint): Delete unused functions.
5182 (mips_getstring): Delete unused function.
5183 (pmon_insert_breakpoint): Delete #if0ed function.
5184 (PMON_MAX_BP): Delete #if0ed MACRO.
5185 (mips_pmon_bp_info): Delete #if0ed variable.
5186 (pmon_remove_breakpoint): Delete #if0ed function.
5187 * monitor.c (monitor_write_even_block): Delete unused function.
5188 (monitor_write_memory_block): Delete #if0ed code.
5189 * dink32-rom.c (dink32_load): Delete unused function.
5190 (_initialize_dink32_rom): Delete #if0ed code.
5191 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
5192
b0a30fce
AC
5193 * tui/tui-command.c: Update references.
5194 * tui/tui-io.c: Update references.
5195 * tui/tui-command.h: Update copyright.
5196 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
5197
81f08b92
AC
5198 * source.c (ambiguous_line_spec): Delete never-defined function.
5199 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
5200 * gdbtypes.c (add_name, add_mangled_type): Ditto.
5201 * cli/cli-cmds.c (validate_comname): Ditto.
5202
65f05602
AC
5203 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
5204 "tui-data.h".
5205 (tui_set_disassem_content): Rename tuiSetDisassemContent.
5206 (tui_show_disassem): Rename tuiShowDisassem.
5207 (tui_show_disassem_and_update_source): Rename
5208 tuiVerticalDisassemScroll.
5209 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
5210 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
5211 * tui/tui.h: Update copyright.
5212 (enum tui_status): Define.
5213 * tui/tui-data.h (enum tui_scroll_direction): Define.
5214 * tui/tui-disasm.c: Update copyright. Update references.
5215 * tui/tui-winsource.c: Update copyright. Update references.
5216 * tui/tui-win.c: Update references.
5217 * tui/tui-layout.c: Update references.
5218
6bb0384f
AC
52192004-01-20 Andrew Cagney <cagney@redhat.com>
5220
5221 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
5222 sym2 to start of block.
5223
9175c9a3
MC
52242004-01-19 Michael Chastain <mec.gnu@mindspring.com>
5225
5226 * MAINTAINERS: Delete mmalloc.
5227 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
5228 * NEWS: Mention removal of --with-malloc.
5229 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
5230 * config.in: Regenerate.
5231 * configure: Regenerate.
6bb0384f
AC
5232 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
5233 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
5234 * gdbinit.in: Remove mmalloc.
5235 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
5236 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
5237 * config/i386/go32.mh: Likewise.
5238 * config/i386/interix.mh: Likewise.
5239 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
5240
4fcef00a
JJ
52412004-01-19 Jeff Johnston <jjohnstn@redhat.com>
5242
5243 * linespec.c (decode_variable, symtab_from_filename): Call
5244 error_silent with error message instead of throwing an exception
5245 directly.
5246 * defs.h (error_silent, error_output_message): Add prototypes.
5247 (catch_exceptions_with_msg): Ditto.
5248 * utils.c (error_silent, error_output_message): New functions.
5249 * top.c (catch_exceptions_with_msg): New function.
5250
8e94b928
NR
52512004-01-20 Nick Roberts <nick@nick.uklinux.net>
5252
5253 * mi/mi-cmds.h (enum print_values): Add definition.
5254
5255 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
5256 type and value for simple data types and just the name and type
5257 for complex ones, if required.
5258
5259 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
5260 children, if required.
5261
a02d6af8
KB
52622004-01-19 Kevin Buettner <kevinb@redhat.com>
5263
5264 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
5265 unused declarations.
5266
78a4a9b9
AC
52672004-01-19 Andrew Cagney <cagney@redhat.com>
5268
5269 * top.h (mapped_symbol_files): Delete declaration.
5270 * main.c (captured_main): Delete option "m" and "mapped".
5271 * objfiles.c (mapped_symbol_files): Delete variable.
5272 * symfile.c (symbol_file_command): Delete mmap code.
5273 (symbol_file_add_with_addrs_or_offsets): Ditto.
5274 (add_symbol_file_command, reread_separate_symbols): Ditto.
5275 * objfiles.h (OBJF_MAPPED): Delete.
5276 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
5277 (free_objfile) [USE_MMALLOC]: Ditto.
5278 (open_existing_mapped_file): Delete function.
5279 (open_mapped_file): Delete function.
5280 (map_to_file): Delete function.
5281
2dbd5e30
KB
52822004-01-19 Kevin Buettner <kevinb@redhat.com>
5283
5284 * infrun.c (step_into_function): Account for possible breakpoint
5285 adjustment when computing ``stop_func_start''.
5286
437b434f
KB
52872004-01-19 Kevin Buettner <kevinb@redhat.com>
5288
5289 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
5290 the region size against the size of a pointer, not the size of
5291 a register as given by DEPRECATED_REGISTER_SIZE.
5292
55fb0713
AC
52932004-01-19 Andrew Cagney <cagney@redhat.com>
5294
5295 * tui/tui-regs.h: Include "tui-data.h".
5296 (tuiFirstRegElementNoInLine): Delete declaration.
5297 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
5298 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
5299 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
5300 (tui_calculate_regs_column_count): Rename
5301 tuiCalculateRegsColumnCount.
5302 (tui_check_register_values): Rename tuiCheckRegisterValues.
5303 (tui_show_registers): Rename tuiShowRegisters.
5304 (tui_display_registers_from_line): Rename
5305 tuiDisplayRegistersFromLine.
5306 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
5307 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
5308 (tui_first_reg_element_no_inline): Rename
5309 tuiFirstRegElementNoInLine.
5310 * tui/tui-data.h: Update copyright.
5311 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
5312 * tui/tui-windata.c: Update copyright, update references.
5313 * tui/tui-regs.c: Update copyright, update references.
5314 * tui/tui-win.c: Update copyright, update references.
5315 * tui/tui-layout.c: Update copyright, update references.
fe61caab 5316
cebe9500
AC
53172004-01-18 Andrew Cagney <cagney@redhat.com>
5318
bcdf1568
AC
5319 * tui/tui-io.c: Update copyright.
5320 (key_is_end_sequence, key_is_backspace): New functions.
5321 (key_is_command_char, key_is_start_sequence): New function.
5322 (tui_getc): Update references.
5323 * tui/tui-io.h: Update copyright.
5324 (m_tuiStartNewLine): Delete macro.
5325 (m_isBackspace, m_isDeleteChar): Delete macros.
5326 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
5327 (m_isNextPage, m_isPrevPage): Delete macros.
5328 (m_isLeftArrow, m_isRightArrow): Delete macros.
5329 (m_isXdbStyleCommandChar): Delete macro.
5330 (key_is_start_sequence): Declare, replace m_isStartSequence.
5331 (key_is_end_sequence): Declare, replace m_isEndSequence.
5332 (key_is_backspace): Declare ,replace m_isBackspace.
5333 (key_is_command_char): Declare, replace m_isCommandChar.
5334 * tui/tui-command.c: Update copyright.
5335 (tuiDispatchCtrlChar): Update references.
5336
130d87e6
AC
5337 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
5338 tuiSourceWin.h.
5339
d7b2e967
AC
5340 * tui/tui-command.c: Rename tui/tuiCommand.c.
5341 * tui/tui-command.h: Rename tui/tuiCommand.h.
5342 * tui/tui-data.c: Rename tui/tuiData.c.
5343 * tui/tui-data.h: Rename tui/tuiData.h.
5344 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
5345 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
5346 * tui/tui-io.c: Rename tui/tuiIO.c.
5347 * tui/tui-io.h: Rename tui/tuiIO.h.
5348 * tui/tui-layout.c: Rename tui/tuiLayout.c.
5349 * tui/tui-layout.h: Rename tui/tuiLayout.h.
5350 * tui/tui-regs.c: Rename tui/tuiRegs.c.
5351 * tui/tui-regs.h: Rename tui/tuiRegs.h.
5352 * tui/tui-source.c: Rename tui/tuiSource.c.
5353 * tui/tui-source.h: Rename tui/tuiSource.h.
5354 * tui/tui-stack.c: Rename tui/tuiStack.c.
5355 * tui/tui-stack.h: Rename tui/tuiStack.h.
5356 * tui/tui-win.c: Rename tui/tuiWin.c.
5357 * tui/tui-win.h: Rename tui/tuiWin.h.
5358 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
5359 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
5360 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
5361 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
5362 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
5363 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
5364 * tui/tui-file.c: Update includes.
5365 * tui/tui-hooks.c: Update includes.
5366 * tui/tui-interp.c: Update includes.
5367 * tui/tui.c: Update includes.
5368 * Makefile.in: Update all tui/ dependencies.
5369 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
5370
b2100910
AC
5371 * Makefile.in: Update copyright. Update dependencies.
5372
cebe9500
AC
5373 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
5374 problem.
5375
c6f0559b
AC
53762004-01-18 Andrew Cagney <cagney@redhat.com>
5377
43e9390b
AC
5378 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
5379 instead of register_gdbarch_init.
5380
c6f0559b
AC
5381 * remote-sds.c (tohex): Delete unused function. Update copyright.
5382 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
5383 * v850-tdep.c (v850_register_virtual_size): Ditto.
5384 * target.c (normal_target_post_startup_inferior): Ditto.
5385 * source.c (ambiguous_line_spec): Ditto.
5386 * remote.c (adapt_remote_get_threadinfo): Ditto.
5387 * mi/mi-out.c (out_field_fmt): Ditto.
5388 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
5389 (output_control_change_notification): Ditto.
5390 * m68k-tdep.c (m68k_register_byte): Ditto.
5391 (m68k_remote_breakpoint_from_pc): Ditto.
5392 * ui-out.c (init_ui_out_state): Delete unused declaration.
5393 * stabsread.c (search_value): Ditto.
5394 * mi/mi-cmd-env.c (env_cli_command): Ditto.
5395 * maint.c (print_section_table): Ditto.
5396 * infrun.c (set_follow_fork_mode_command): Ditto.
5397
a8504492
MK
53982004-01-18 Mark Kettenis <kettenis@gnu.org>
5399
5400 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
5401 DW_CFA_def_cfa_exporession. Add support for
5402 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
5403 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
5404
0bd8997e
AC
54052004-01-18 Andrew Cagney <cagney@redhat.com>
5406
5407 * ocd.c: Update copyright.
5408 (bdm_read_register_command): Delete unused function.
5409 (_initialize_remote_ocd): Delete commented out reference.
5410 (get_quoted_char, reset_packet): Delete #if0ed function.
5411 (output_packet, put_quoted_char): Delete #if0ed function.
5412 (stu_put_packet, stu_get_packet): Delete #if0ed function.
5413 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
5414 (BDM_BREAKPOINT): Delete #if0ed macro.
5415 (remote_timeout): Delete #if0ed variable.
5416
31bb40e4
MK
54172004-01-18 Mark Kettenis <kettenis@gnu.org>
5418
5419 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
5420 (core-sol2.o): Remove dependency.
5421 * core-sol2.c: Remove file.
5422
887432a5
AC
54232004-01-17 Andrew Cagney <cagney@redhat.com>
5424
5425 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
5426 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
5427 enums.
5428
29182b13
DJ
54292004-01-17 Daniel Jacobowitz <drow@mvista.com>
5430
5431 * remote.c: Update copyright years.
5432
2963ee1d
DJ
54332004-01-17 Daniel Jacobowitz <drow@mvista.com>
5434
5435 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
5436
79d45cd4
AC
54372004-01-17 Andrew Cagney <cagney@redhat.com>
5438
ee300cd4
AC
5439 * mdebugread.c: Update copyright.
5440 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
5441 (parse_type, parse_procedure): Ditto.
5442 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
5443
fcacc9c2
AC
5444 * cris-tdep.c (cris_store_struct_return): Put back accidently
5445 deleted function.
5446
79d45cd4
AC
5447 * gdbarch.sh: Update copyright year.
5448 * gdbarch.h, gdbarch.c: Re-generate.
5449
b263358a
DJ
54502004-01-17 Daniel Jacobowitz <drow@mvista.com>
5451
5452 Suggested by George Anzinger.
5453 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
5454 correct stack offset. Include unknown opcode numbers in the error
5455 message.
5456
931aecf5
AC
54572004-01-17 Andrew Cagney <cagney@redhat.com>
5458
5459 * x86-64-tdep.c (x86_64_init_abi): No need to clear
5460 extract_struct_value_address, i386 does not set it.
5461 * sparc64-tdep.c (sparc64_init_abi): Do not set
5462 extract_struct_value_address, never called.
5463 (sparc64_extract_struct_value_address): Delete function.
5464 * m68hc11-tdep.c: Update copyright.
5465 (m68hc11_gdbarch_init): Delete redundant assignment of
5466 extract_struct_value_address.
5467 * i386-tdep.c: Update copyright.
5468 (i386_gdbarch_init): Do not set extract_struct_value_address,
5469 never called.
5470 (i386_extract_struct_value_address): Delete function.
5471 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
5472 extract_struct_value_address, never called.
5473 (sparc32_extract_struct_value_address): #if 0 function. Add
5474 comments explaining its future.
5475
756fe439
DJ
54762004-01-17 Daniel Jacobowitz <drow@mvista.com>
5477
5478 * arm-tdep.c (arm_write_pc): New function.
5479 (arm_gdbarch_init): Call set_gdbarch_write_pc.
5480
e74f0f02
DJ
54812004-01-17 Daniel Jacobowitz <drow@mvista.com>
5482
5483 * breakpoint.c (must_shift_inst_regs): Delete.
5484 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
5485 and SHIFT_INST_REGS.
5486 * infcmd.c (step_1, step_1_continuation): Delete references to
5487 SHIFT_INST_REGS.
5488 * infrun.c (keep_going): Likewise.
5489 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
5490 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
5491
b6cb9035
AC
54922004-01-17 Andrew Cagney <cagney@redhat.com>
5493
444a1e2e
AC
5494 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
5495 * gdbarch.h, gdbarch.c: Re-generate.
5496 * infcmd.c (print_return_value): Delete reference to
5497 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
5498
def7e6ed
AC
5499 * cris-tdep.c (cris_gdbarch_init): Do not set
5500 deprecated_extract_struct_value_address.
5501
07be497a
AC
5502 * xstormy16-tdep.c: Update copyright.
5503 (xstormy16_extract_struct_value_address): Update to current
5504 extract struct value address interface.
5505 (xstormy16_gdbarch_init): Set extract_struct_value_address.
5506 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
5507 current extract struct value address interface.
5508 (sh64_gdbarch_init): Set extract_struct_value_address.
5509
6b4d5c91
AC
5510 * cris-tdep.c: Update copyright.
5511 (cris_extract_struct_value_address): Delete function.
5512 (struct_return_address): Delete variable.
5513 (cris_store_struct_return): Do not set struct_return_address.
5514
464e0365
AC
5515 * mcore-tdep.c: Update copyright.
5516 (mcore_extract_struct_value_address): Delete function. Update
5517 comments.
5518 (mcore_gdbarch_init): Update.
5519 * mn10300-tdep.c: Update copyright.
5520 (mn10300_extract_struct_value_address): Delete function.
5521 (mn10300_gdbarch_init): Update.
5522 * v850-tdep.c: Update copyright.
5523 (v850_extract_struct_value_address): Delete.
5524 (v850_gdbarch_init): Update.
5525 * ns32k-tdep.c: Update copyright.
5526 (ns32k_extract_struct_value_address): Delete.
5527 (ns32k_gdbarch_init): Update.
5528 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
5529 (hppa_gdbarch_init): Update.
5530 * vax-tdep.c: Update copyright.
5531 (vax_extract_struct_value_address): Delete.
5532 (vax_gdbarch_init): Update.
5533
afb18d0f
AC
5534 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
5535 * gdbarch.h, gdbarch.c: Re-generate.
5536 * procfs.c (procfs_fetch_registers): Delete reference to
5537 DEPRECATED_NPC_REGNUM.
5538 (procfs_store_registers): Ditto.
5539 * regcache.c (generic_target_write_pc): Simplify.
5540 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
5541
a698f53e
AC
5542 * core-sol2.c (fetch_core_registers): Replace
5543 DEPRECATED_NPC_REGNUM with equivalent tdep value.
5544
adc11376
AC
5545 * hppa-tdep.c: Update copyright year.
5546 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
5547 NPC_REGNUM.
5548 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
5549
b6cb9035
AC
5550 * mips-tdep.c (mips_write_pc): New function.
5551 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
5552 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
5553 (mips_find_saved_regs, mips_software_single_step: Ditto.
5554 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
5555 mips_init_extra_frame_info, mips_pop_frame): Ditto.
5556
6d82d43b
AC
55572004-01-17 Andrew Cagney <cagney@redhat.com>
5558
5559 * mips-tdep.c: Re-indent. Group functions by ABI.
5560
71bd6bd4
AC
55612004-01-17 Andrew Cagney <cagney@redhat.com>
5562
5563 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
5564 * gdbarch.c: Re-generate.
5565 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
5566 DECR_PC_AFTER_BREAK to zero.
5567 * vax-tdep.c (vax_gdbarch_init): Ditto.
5568 * v850-tdep.c (v850_gdbarch_init): Ditto.
5569 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
5570 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
5571 * sh-tdep.c (sh_gdbarch_init): Ditto.
5572 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5573 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5574 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5575 * mips-tdep.c (mips_gdbarch_init): Ditto.
5576 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5577 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5578 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
5579 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5580 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
5581 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
5582 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5583 * frv-tdep.c (frv_gdbarch_init): Ditto.
5584 * cris-tdep.c (cris_gdbarch_init): Ditto.
5585 * avr-tdep.c (avr_gdbarch_init): Ditto.
5586 * arm-tdep.c (arm_gdbarch_init): Ditto.
5587 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
5588
a02abb62
JB
55892004-01-17 J. Brobecker <brobecker@gnat.com>
5590
5591 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
5592 Delete, no longer used.
5593 (read_subrange_type): New function, mostly extracted from
5594 read_array_type().
5595 (read_array_type): Replace extracted code by call to
5596 read_subrange_type().
5597 (dwarf2_get_attr_constant_value): New function.
5598 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
5599 (add_partial_symbol): Likewise.
5600 (process_die): Likewise.
5601 (new_symbol): Likewise.
5602 (read_type_die): Likewise.
5603
cf5b2f1b
AC
56042004-01-16 Andrew Cagney <cagney@redhat.com>
5605
5606 * symfile.c: Update copyright year.
5607 (compare_symbols): Delete unused function.
5608 * stabsread.c: Update copyright year.
5609 (lrs_general_complaint): Delete unused function.
5610 (ref_search_value): Ditto.
5611 (get_substring): Delete declaration.
5612 * sh64-tdep.c: Update copyright year.
5613 (sh64_get_gdb_regnum): Delete unused function.
5614 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
5615 Delete unused function.
5616
d33b9831
MK
56172004-01-17 Mark Kettenis <kettenis@gnu.org>
5618
5619 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
5620 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
5621
7aea86e6
AC
56222004-01-16 Andrew Cagney <cagney@redhat.com>
5623
5624 Changes from Peter Schauer.
5625 * rs6000-tdep.c: Update copyright year.
5626 (rs6000_push_dummy_call): Update the stack pointer before
5627 accessing the corresponding stack region.
5628 * rs6000-nat.c: Update copyright year.
5629 (set_host_arch): Set "info.abfd" to "exec_bfd".
5630
26b0da32
MK
56312004-01-15 Mark Kettenis <kettenis@gnu.org>
5632
5633 * blockframe.c: Update copyright year.
5634 (inside_entry_func): Don't treat a zero PC specially.
5635
86fbe6cc
EZ
56362004-01-14 Elena Zannoni <ezannoni@redhat.com>
5637
5638 * gcore.c (gcore_copy_callback): Use paddr_d to print size
5639 variable.
5640 (gcore_create_callback): Ditto. Skip any memory segment that has
5641 no permissions set.
5642
63d06c5c
DC
56432004-01-14 David Carlton <carlton@kealia.com>
5644
5645 Change symbols for C++ nested types to contain the fully qualified
5646 name, if possible. (At least in the DWARF-2 case.) Partial fix
5647 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
5648 c++/895.
5649 * c-exp.y (qualified_type): Handle types nested within classes.
5650 * cp-namespace.c: Update comments.
5651 (cp_set_block_scope): Delete #if 0.
5652 (cp_lookup_nested_type): Handle types nested within classes.
5653 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
5654 when appropriate.
5655 (add_partial_symbol): Add the name of the enclosing namespace to
5656 types.
5657 (pdi_needs_namespace): New.
5658 (add_partial_namespace): Tweak comment.
5659 (add_partial_structure): New.
5660 (psymtab_to_symtab_1): Initialize processing_current_prefix
5661 here...
5662 (process_die): instead of here.
5663 (read_structure_scope): Try to figure out the name of the class or
5664 namespace that the structure might be defined within.
5665 (read_enumeration): Generate fully-qualified names, if possible.
5666 (read_namespace): Don't set name to NULL.
5667 (die_specification): New.
5668 (new_symbol): Generate fully-qualified names for types.
5669 (read_type_die): Determine appropriate prefix.
5670 (determine_prefix): New.
5671 (typename_concat): New.
5672 (class_name): New.
5673 * valops.c (value_aggregate_elt): Pass NOSIDE to
5674 value_struct_elt_for_reference.
5675 (value_struct_elt_for_reference): Make static, add NOSIDE
5676 parameter, call value_maybe_namespace_elt as a last resort.
5677 (value_namespace_elt): Break out code into
5678 value_maybe_namespace_elt.
5679 (value_maybe_namespace_elt): New.
5680
87783b8b
AC
56812004-01-12 Andrew Cagney <cagney@redhat.com>
5682
5683 * mips-tdep.c (mips_convert_register_p): Handle both raw and
5684 cooked floating-point registers.
5685 (mips_gdbarch_init): Set convert_register_p, register_to_value,
5686 and value_to_register.
5687
6503b91e
AC
56882004-01-13 Andrew Cagney <cagney@redhat.com>
5689
5690 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
5691 * gdbarch.c: Re-generate.
5692 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
5693 FUNCTION_START_OFFSET.
5694 * v850-tdep.c (v850_gdbarch_init): Ditto.
5695 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
5696 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
5697 * sh-tdep.c (sh_gdbarch_init): Ditto.
5698 * s390-tdep.c (s390_gdbarch_init): Ditto.
5699 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
5700 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
5701 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
5702 * mips-tdep.c (mips_gdbarch_init): Ditto.
5703 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
5704 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
5705 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
5706 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
5707 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
5708 * i386-tdep.c (i386_gdbarch_init): Ditto.
5709 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
5710 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
5711 * frv-tdep.c (frv_gdbarch_init): Ditto.
5712 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
5713 * cris-tdep.c (cris_gdbarch_init): Ditto.
5714 * avr-tdep.c (avr_gdbarch_init): Ditto.
5715 * arm-tdep.c (arm_gdbarch_init): Ditto.
5716 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
5717
ea1dd7bc
DJ
57182004-01-13 Daniel Jacobowitz <drow@mvista.com>
5719
5720 * infrun.c (follow_fork_mode_ask): Remove.
5721 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
5722 (follow_fork): Simplify and remove internal error for
5723 follow_fork_mode_ask.
5724 (_initialize_infrun): Update "set follow-fork-mode" help text.
5725
0f0cffd2
AC
57262004-01-13 Andrew Cagney <cagney@redhat.com>
5727
5728 * configure.in: Update copyright year.
5729 (build_warnings): Add -Wunused-label.
5730 * configure: Re-generate.
5731
de38af99
AC
57322004-01-12 Andrew Cagney <cagney@redhat.com>
5733
954a7fba
AC
5734 * exec.h (exec_ops): Make "extern".
5735
de38af99
AC
5736 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
5737 the function is void.
5738 (mips_pseudo_register_write): Ditto.
5739
1a111ce3
AC
57402004-01-12 Andrew Cagney <cagney@redhat.com>
5741
5742 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
5743 call. Never defined.
5744 * sparc-tdep.h (struct frame_info): Add opaque declaration.
5745 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
5746 (struct sparc_gregset, struct regcache): Ditto.
5747 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
5748
48efe704
AC
57492004-01-12 Andrew Cagney <cagney@redhat.com>
5750
5751 * mi/ChangeLog: Delete file. Renamed to ...
5752 * mi/ChangeLog-1999-2003: New file.
5753 * tui/ChangeLog: Delete file. Renamed to ...
5754 * tui/ChangeLog-1998-2003: New file.
fe61caab 5755
a54124c5
MK
57562004-01-11 Mark Kettenis <kettenis@gnu.org>
5757
2ca62865
MK
5758 * sparc64nbsd-tdep.c: Include "regset.h".
5759 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
5760 Remove variables.
5761 (fetch_core_registers): Remove function.
5762 (sparc64nbsd_core_fns): Remove variable.
5763 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
5764 functions.
5765 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
5766 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
5767 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
5768
ca9d58e9
MK
5769 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
5770 sparc_extract_struct_value_address.
5771 (sparc32_gdbarch_init): Set extract_struct_value_address.
5772 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
5773 function.
5774 (sparc64_init_abi): Set extract_struct_value_address. Don't set
5775 return_value_on_stack.
5776
3cc87ec0
MK
5777 * NEWS: Mention that %cs and %ss have been added to the AMD64
5778 configurations
5779
5bf00f29
MK
5780 * frame.c: Update copyright year.
5781 (get_prev_frame): Improve comment.
5782
4f7ec84e
MK
5783 * sparc64fbsd-tdep.c: Include "regset.h".
5784 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
5785 Remove variables.
5786 (fetch_core_registers): Remove function.
5787 (sparc64fbsd_core_fns): Remove variable.
5788 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
5789 functions.
5790 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
5791 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 5792 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 5793
4e7b0cd3
MK
5794 * sparcnbsd-tdep.c: Include "regset.h".
5795 (fetch_core_registers): Remove function.
5796 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
5797 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
5798 functions.
5799 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
5800 TDEP->fpregset.
46b58ce9 5801 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 5802
a54124c5
MK
5803 * sparc-tdep.h (struct regset): Provide opaque declaration.
5804 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
5805 fpregset and sizeof_fpregset members.
5806 * sparc-tdep.c (struct regset): Provide opaque declaration.
5807 (sparc_regset_from_core_section): New function.
5808 (sparc32_gdbarch_init): Initialize TDEP->gregset,
5809 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
5810 Set regset_from_core_section when appropriate.
5811
29ff87c5
MK
58122004-01-10 Mark Kettenis <kettenis@gnu.org>
5813
79b1ab3d
MK
5814 * x86-64-tdep.c (amd64_non_pod_p): New function.
5815 (amd64_classify_aggregate): Return class memory for non-POD
5816 C++ structure types.
5817
6470d250
MK
5818 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
5819 argument. Use it to reserve a register if necessary.
5820 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
5821 amd64_push_arguments.
5822
562c50c2
MK
5823 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
5824
af233647
MK
5825 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
5826 register numbers in comments.
5827 * x86-64-tdep.h: Update copyright year.
5828 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
5829 Adjust for addition of %cs and %ss.
5830 * amd64fbsd-nat.c: Update copyright year.
5831 (reg_offset): Add register offsets for %cs and %ss.
5832 * amd64fbsd-tdep.c: Update copyright year.
5833 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
5834 (amd64fbsd_sc_reg_offset): Likewise.
5835 * x86-64-linux-nat.c: Update copyright year.
5836 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
5837 and %ss.
5838 * amd64nbsd-nat.c: Update copyright year.
5839 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
5840 * amd64nbsd-tdep.c: Update copyright year.
5841 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
5842 * x86-64-linux-tdep.c: Update copyright year.
5843 (user_to_gdb_regmap): Add mapping for %cs and %ss.
5844 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
5845 * regformats/reg-x86-64.dat: Add %cs and %ss.
5846
29ff87c5
MK
5847 * blockframe.c (inside_entry_func): Reformat. Introduce new local
5848 variables to prevent long lines. Update comments to reflect
5849 reality.
5850
38d518c9
EZ
58512004-01-09 David Carlton <carlton@kealia.com>
5852
5853 Checked in by Elena Zannoni <ezannoni@redhat.com>.
5854 * dwarf2read.c (read_namespace): Pull out name-generating code
5855 into namespace_name. Rename previous_namespace to previous_prefix
5856 and processing_current_namespace to processing_current_prefix..
5857 (namespace_name): New function.
5858 (add_partial_symbol): Substitute uses of pdi->name with
5859 actual_name.
5860 * cp-support.h: Rename processing_current_namespace to
5861 processing_current_prefix.
5862 Update copyright year.
5863 * cp-namespace.c: Rename processing_current_namespace to
5864 processing_current_prefix.
5865 Update copyright year.
fe61caab 5866
1e4728e7
AC
58672004-01-09 Andrew Cagney <cagney@redhat.com>
5868
5869 * jv-valprint.c, ser-unix.c: Add missing copyright years.
5870
c77c642a
MK
58712004-01-09 Mark Kettenis <kettenis@gnu.org>
5872
5873 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
5874 complaining.
5875 (process_one_symbol): Deal with N_PATCH stabs.
5876
b44e9041
EZ
58772004-01-09 Elena Zannoni <ezannoni@redhat.com>
5878
5879 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
5880 ifdeffed code.
5881 Update copyright year.
38d518c9 5882
eccfb640
MC
58832004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5884
5885 * config/pa/tm-hppa.h: Update extern declarations for
5886 hppa32_hpux_frame_saved_pc_in_sigtramp,
5887 hppa32_hpux_frame_base_before_sigtramp, and
5888 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
5889
848c5feb
MC
58902004-01-08 Michael Chastain <mec.gnu@mindspring.com>
5891
5892 * config/pa/tm-hppah.h: Update copyright years.
5893
3cc5d663
AC
58942004-01-08 Andrew Cagney <cagney@redhat.com>
5895
5896 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
5897 (mips_o32_reg_struct_has_addr): Delete function.
5898 (mips_gdbarch_init): Update.
5899 (mips_extract_struct_value_address): Delete function.
5900
bfec0b41
JJ
59012004-01-08 David Mosberger <davidm@hpl.hp.com>
5902
5903 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
5904 reality.
5905
16e109ca
AC
59062004-01-07 Andrew Cagney <cagney@redhat.com>
5907
6214a8a1
AC
5908 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
5909 architecture's elf flags (when available).
5910
8d5838b5
AC
5911 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
5912 FPU to the start, check the MIPS FPU when looking for an old
5913 architecture.
5914 (set_mipsfpu_single_command): Update the architecture.
5915 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
5916
480d3dd2
AC
5917 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
5918 (mips_mask_address_p): Add "tdep" parameter.
5919 (show_mask_address, mips_addr_bits_remove): Update.
5920 (mips_dump_tdep): Update.
5921 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
5922 (MIPS_STACK_ARGSIZE): Delete macro.
5923 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
5924 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
5925 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
5926 (mips_dump_tdep): Update.
5927 (MIPS_SAVED_REGSIZE): Delete macro.
5928 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
5929 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
5930 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
5931 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
5932 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
5933 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
5934 (mips_pop_frame, return_value_location): Update.
5935 (mips_n32n64_return_value, mips_dump_tdep): Update.
5936
ec03c1ac
AC
5937 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
5938 MIPS ABI.
5939
16e109ca
AC
5940 * mips-tdep.c: Update copyright.
5941 (mips_gdbarch_init): Merge two code blocks handling the register
5942 name and number layout.
5943
15255275
MS
59442004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
5945
5946 * tracepoint.c (validate_actionline): Fix segv at EOF
5947
9f9057da
MC
59482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
5949
5950 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
5951 properly for static fields.
5952
0127c0d3 59532004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 5954 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
5955
5956 * disasm.c: Update copyright to include 2004.
5957 (do_mixed_source_and_assembly): For uiout asm list
5958 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 5959 NULL and do so prior to loop. Only reset when we close off
0127c0d3 5960 the tuple/list. Move check for whether to close off the
fe61caab 5961 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
5962 on each loop iteration.
5963
5269965e
AC
59642004-01-05 Andrew Cagney <cagney@redhat.com>
5965
54f1137d
AC
5966 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
5967 should be a switch case and not a label.
5968 * mips-tdep.c (mips32_next_pc): Delete unused labels
5969 "greater_equal_branch" and "less_zero_branch".
5970 * jv-valprint.c (java_print_value_fields): Delete unused label
5971 "flush_it".
5972
5269965e
AC
5973 * target.c (unpush_target): Only close a target that is in the
5974 target stack.
5975
dbc22fa1
MK
59762004-01-05 Mark Kettenis <kettenis@gnu.org>
5977
9515395e
MK
5978 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
5979 address from [sp + 64] instead of %o2.
5980
dbc22fa1
MK
5981 * frame.c (get_prev_frame): Don't try to unwind the PC. This
5982 fixes PR backtrace/1476.
5983
5439edaa
AC
59842004-01-05 Andrew Cagney <cagney@redhat.com>
5985
5986 * libunwind-frame.h (struct frame_id): Add opaque declaration,
5987 move to start of file.
5988 * i386-tdep.h (struct regcache): Add opaque declaration.
5989 * config/ia64/nm-linux.h (struct target_ops): Add opaque
5990 declaration.
5991 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
5992 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
5993 * win32-nat.c (fake_create_process): Use ISO C style definition.
5994 * stabsread.c (define_symbol): Delete #ifndef
5995 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
5996 stabs_argument_has_addr call, macro never defined.
5997
19061abe
MC
59982004-01-04 Michael Chastain <mec.gnu@mindspring.com>
5999
6000 * op50-rom.c: Delete.
6001 * w89k-rom.c: Delete.
6002 * Makefile.in: Remove references.
6003
e53bef9f
MK
60042004-01-04 Mark Kettenis <kettenis@gnu.org>
6005
6006 * x86-64-tdep.c: Update copyright year.
6007 (struct amd64_register_info): Rename from x86_64_register_info.
6008 (amd64_register_info): Rename from x86_64_register_info.
6009 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
6010 (amd64_register_name): Rename from x86_64_register_name.
6011 (amd64_register_type): Rename from x86_64_register_type.
6012 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
6013 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
6014 (amd64_dwarf_reg_to_regnum): Rename from
6015 x86_64_dwarf_reg_to_regnum.
6016 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
6017 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
6018 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
6019 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
6020 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
6021 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
6022 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
6023 (amd64_frame_cache): Rename from x86_64_frame_cache.
6024 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
6025 (amd64_frame_prev_register): Rename from
6026 x86_64_frame_prev_register.
6027 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
6028 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
6029 (amd64_sigtramp_frame_cache): Rename from
6030 x86_64_sigtramp_frame_cache.
6031 (amd64_sigtramp_frame_prev_register): Rename from
6032 x86_64_sigtramp_frame_prev_register.
6033 (amd64_sigtramp_frame_unwind): Rename from
6034 x86_64_sigtramp_frame_unwind.
6035 (amd64_sigtramp_frame_sniffer): Rename from
6036 x86_64_sigtramp_frame_sniffer.
6037 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
6038 (amd64_frame_base): Rename from x86_64_frame_base.
6039 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
6040 (amd64_frame_align): Rename from x86_64_frame_align.
6041 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
6042 (amd64_regset_from_core_section): Rename from
6043 x86_64_regset_from_core_section.
6044 (x86_64_init_abi): Update comments.
6045
fca6aa58
NR
60462004-01-04 Nick Roberts <nick@nick.uklinux.net>
6047
6048 * MAINTAINERS (write after approval): Add myself.
6049
8ada74e3
MK
60502004-01-04 Mark Kettenis <kettenis@gnu.org>
6051
6052 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
6053 `float' arguments.
6054
5154b0cd
MK
60552004-01-04 Mark Kettenis <kettenis@gnu.org>
6056
6057 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
6058 such that it mentions a specific version of GCC that exhibits this
6059 bug.
6060
fb316966
MK
60612004-01-03 Mark Kettenis <kettenis@gnu.org>
6062
200cc553
MK
6063 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
6064 structure that has a single `float' member, store it in %f1 in
6065 addition to %f0.
6066
e226a4a0
MK
6067 * sparc-sol2-nat.c: Add missing '\'.
6068
b9d4c5ed
MK
6069 * sparc-tdep.c (sparc32_return_value): New function.
6070 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
6071 Remove functions.
6072 (sparc32_gdbarch_init): Set return_value, don't set
6073 extract_return_value, store_return_value, use_struct_convention
6074 and return_value_on_stack.
6075
fb316966
MK
6076 * sparc-sol2-nat.c: Add missing ')'.
6077
1af510a8
JB
60782004-01-03 J. Brobecker <brobecker@gnat.com>
6079
6080 * infrun.c (handle_step_into_function): New function.
6081 (handle_inferior_event): Extract out some code into the new
6082 function above.
6083
5cf4d23a
JB
60842004-01-03 J. Brobecker <brobecker@gnat.com>
6085
6086 * infrun.c (handle_inferior_event): Move the declaration of
6087 real_stop_pc inside the if blocks where it is used.
6088
60af1db2
MK
60892004-01-03 Mark Kettenis <kettenis@gnu.org>
6090
6091 * sparc64-tdep.c (sparc64_16_byte_align_p)
6092 (sparc64_store_floating_fields, sparc64_store_floating_fields):
6093 Use check_typedef to get subtypes of structures and unions.
6094 (sparc64_store_return_value): Fix calculation of the appropriate
6095 offset into VALBUF when storing a structure or union.
6096 (sparc64_return_value): New function.
6097 (sparc64_use_struct_convention): Remove function.
6098 (sparc64_init_abi): Set return_value, don't set
6099 extract_return_value, store_return_value and
6100 use_struct_convention.
6101
1a901d3f
EZ
61022004-01-03 Eli Zaretskii <eliz@elta.co.il>
6103
6104 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
6105 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
6106 gdb/config/alpha/xm-alphaosf.h,
6107 gdb/config/powerpc/tm-ppcle-eabi.h,
6108 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
6109 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
6110 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
6111 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
6112 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
6113 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
6114 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
6115 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
6116 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
6117 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
6118 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
6119 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
6120 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
6121 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
6122 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
6123 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
6124 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
6125 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
6126 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
6127 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
6128 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
6129 Remove lines for .cvsignore files.
6130
ef52e463
JB
61312004-01-03 J. Brobecker <brobecker@gnat.com>
6132
6133 * infrun.c: Back out the previous change.
6134
cb1bf9dc
MK
61352004-01-03 Mark Kettenis <kettenis@gnu.org>
6136
f0424ef6
MK
6137 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
6138 sparc-*-sunos4* to the list of REMOVED configurations.
6139
cb1bf9dc
MK
6140 * configure.tgt: Add back sparc-*-vxworks*.
6141 * remote-vxsparc.c: Remove all includes except for "defs.h",
6142 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
6143 Include "sparc-tdep.h".
6144 (SPARC_R_G1): New define.
6145 (vxsparc_gregset): New variable.
6146 (ext_format_sparc): Remove extern declaration.
6147 (vx_read_register): Rewrite to use sparc32_supply_gregset and
6148 sparc32_supply_fpregset.
6149 (vx_write_register): Rewrite to use sparc32_collect_gregset,
6150 sparc_collect_rwindow and sparc32_collect_fpregset.
6151 * config/sparc/tm-vxworks.h: New file, based on recently removed
6152 tm-vxsparc.h.
6153 * config/sparc/vxworks.mt: New file, based on recently removed
6154 vxworks.mt.
fe61caab 6155
5e938f9f
JB
61562004-01-03 J. Brobecker <brobecker@gnat.com>
6157
6158 * infrun.c (handle_step_into_function): New function.
6159 (handle_inferior_event): Extract out some code into the new
6160 function above.
6161
386c036b
MK
61622004-01-02 Mark Kettenis <kettenis@gnu.org>
6163
6164 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
6165 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
6166 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
6167 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
6168 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
6169 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
6170 (sparc_nat_h): New variable.
6171 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
6172 (tm-sun4os4.h): Remove dependency.
6173 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
6174 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
6175 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
6176 sparc-tdep.o): Update dependencies.
6177 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
6178 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
6179 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
6180 dependencies.
6181 * configure.host: Remove existing sparc-*-lynxos*,
6182 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
6183 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
6184 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
6185 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
6186 triplets.
6187 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
6188 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
6189 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
6190 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
6191 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
6192 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
6193 sparc64-*-solaris2* and sparc64-*-* triplets.
6194 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
6195 "symtab.h" and "objfiles.h".
6196 (BIAS): Remove define.
6197 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
6198 (X_DISP19): Remove macros.
6199 (sparc_fetch_instruction): Remove function.
6200 (struct gdbarch_tdep): Remove definition.
6201 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
6202 (sparc_breakpoint_from_pc): Remove function.
6203 (struct sparc64_frame_cache): Remove definition.
6204 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
6205 sparc64_unwind_pc): Remove functions.
6206 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
6207 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
6208 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
6209 (sparc64_frame_cache): Change return type to `struct
6210 sparc_frame_cache *'. Simply call sparc_frame_cache.
6211 (sparc64_frame_this_id, sparc64_frame_prev_register,
6212 sparc64_frame_base_address): Use `struct sparc_frame_cache'
6213 instead of `struct sparc64_frame_cache.
6214 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
6215 sparc_analyze_control_transfer, sparc_software_single_step,
6216 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
6217 _initialize_sparc64_tdep): Remove functions.
6218 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
6219 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
6220 macros.
6221 (sparc64_supply_gregset, sparc64_collect_gregset,
6222 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
6223 (sparc64_init_abi): New function.
6224 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
6225 inclusion guard. Include "sparc-tdep.h".
6226 (BIAS): Define.
6227 (r_tstate_offset, r_fprs_offset): New defines.
6228 (enum sparc_regnum): Remove defenition.
6229 (enum sparc64_regnum): Reformat.
6230 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
6231 (sparc64_init_abi, sparc64_supply_gregset,
6232 sparc64_collect_gregset, sparc64_supply_fpregset,
6233 sparc64_collect_fpregset): New prototypes.
6234 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
6235 Add extern declarations.
6236 (sparc64_sol2_init_abi): New prototype.
6237 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
6238 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
6239 prototypes.
6240 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
6241 "sparnbsd-nat.h".
6242 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
6243 functions.
6244 (_initialize_sparc64fbsd_nat): Remove initialization of
6245 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
6246 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 6247 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
6248 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
6249 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
6250 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
6251 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
6252 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
6253 (sparc64fbsd_r_y_offset): Remove variables.
6254 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
6255 Make static and const.
6256 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
6257 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
6258 functions.
6259 (sparc64fbsd_gregset): New variable.
6260 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
6261 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
6262 and sparc64_supply_fpregset.
6263 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
6264 (sparc64fbsd_sigtramp_frame_this_id)
6265 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
6266 (sparc64fbsd_sigtramp_frame_unwind): New variable.
6267 (sparc64fbsd_sigtramp_frame_sniffer): New function.
6268 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
6269 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
6270 * sparcnbsd-tdep.c: Update copyright year. Include
6271 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
6272 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
6273 "value.h" and "sparcnbsd-tdep.h".
6274 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
6275 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
6276 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
6277 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
6278 defines.
6279 (sparcnbsd_gregset): New variable.
6280 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
6281 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
6282 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
6283 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
6284 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
6285 variables.
6286 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
6287 (sparc32nbsd_sigcontext_frame_this_id)
6288 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
6289 (sparc32nbsd_sigcontext_frame_unwind): New variable.
6290 (sparc32nbsd_sigtramp_frame_sniffer): New function.
6291 (sparcnbsd_get_longjmp_target_32,
6292 sparcnbsd_get_longjmp_target_64): Remove functions.
6293 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
6294 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
6295 sparcnbsd_init_elf): Remove.
6296 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
6297 (sparcnbsd_elf_init_abi): New functions.
6298 (_initialize_sparcnbsd_tdep): New prototype.
6299 (_initialize_sparnbsd_tdep): Update.
6300 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
6301 corelow.o. Add sparc64-nat.o and sparc-nat.o.
6302 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
6303 * config/sparc/linux.mh: Update comment.
6304 (XM_FILE, HOST_IPC): Remove variables.
6305 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
6306 sparc-linux-nat.o.
6307 * config/sparc/linux.mt: Update comment.
6308 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
6309 * config/sparc/nbsd.mt: Reformat.
6310 * config/sparc/nbsd64.mh: Update comment.
6311 (NATDEPFILES): Add sparc-nat.o.
6312 * config/sparc/nbsd64.mt: Update comment.
6313 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
6314 (TM_FILE): Set to tm-nbsd.h.
6315 * config/sparc/nbsdelf.mh: Update comment.
6316 (NATDEPFILES): Add sparc-nat.o.
6317 (XM_FILE): Delete.
6318 * config/sparc/nbsdaout.mh: Update comment.
6319 (NATDEPFILES): Add sparc-nat.o
6320 (XM_FILE): Delete.
6321 * config/sparc/nm-linux.h: Update copyright year. Don't include
6322 "config/nm-svr4.h" and "solib.h". Add protection against multiple
6323 inclusion.
6324 (KERNEL_U_SIZE): Remove define.
6325 (kernel_u_size): Remove prototype.
6326 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
6327 * config/sparc/nm-nbsd.h: Update copyright. Don't include
6328 "regcache.h".
6329 (CHILD_PREPARE_TO_STORE): Remove define.
6330 * config/sparc/nm-nbsdaout.h: Tweak some comments.
6331 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
6332 sparcnbsd-nat.c: Rewrite files.
6333 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
6334 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
6335 sparcnbsd-tdep.h: Remove files.
6336 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
6337 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
6338 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
6339 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
6340 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
6341 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
6342 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
6343 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
6344 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
6345 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
6346 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
6347 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
6348 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
6349 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
6350 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
6351 * config/sparc/linux64.mh, config/sparc/linux64.mt,
6352 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
6353 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
6354 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
6355
ee84457a
AC
63562004-01-02 Andrew Cagney <cagney@redhat.com>
6357
6358 From 2003-12-18 Kazuhiro Inaoka:
6359 * configure.host: Add m32r-linux target.
6360
0bc2134e
MC
63612004-01-02 Michael Chastain <mec.gnu@mindspring.com>
6362
6363 * top.c (print_gdb_version): Update year to 2004.
6364
89a72f9c
MM
63652004-01-02 Mark Mitchell <mark@codesourcery.com>
6366
6367 * MAINTAINERS: Add myself to the write-after-approval category.
6368
86b013ed
DJ
63692004-01-02 Daniel Jacobowitz <drow@mvista.com>
6370
6371 From Bernardo Innocenti <bernie@develer.com>:
6372 * configure.tgt: Add uClinux target.
6373
e42c9534
AC
63742004-01-02 Andrew Cagney <cagney@redhat.com>
6375
6376 * utils.c (do_my_cleanups): Make static, add forward declaration.
6377 * defs.h (do_my_cleanups): Delete declaration.
6378
162467d3
EZ
63792004-01-02 Eli Zaretskii <eliz@elta.co.il>
6380
6381 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
6382 bfd/ChangeLog-0203.
6383
78434e59
MK
63842004-01-02 Mark Kettenis <kettenis@gnu.org>
6385
6386 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
6387 in <machine/reg.h>.
6388 * configure, config.in: Regenerate.
6389
48efe704
AC
6390For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
6391tui/ChangeLog-1998-2003.
c906108c
SS
6392\f
6393Local Variables:
6394mode: change-log
6395left-margin: 8
6396fill-column: 74
6397version-control: never
6398End:
This page took 0.9646 seconds and 4 git commands to generate.