* elf-m10300.c (mn10300_elf_relax_section): Preserve reloc addend
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
18ed0c4e
JB
12004-05-26 Jim Blandy <jimb@redhat.com>
2
3 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): Deleted.
4 (rs6000_stab_reg_to_regnum, rs6000_dwarf2_reg_to_regnum): New
5 functions, updated to match the register numberings used in GCC.
6 (rs6000_gdbarch_init): Register rs6000_stab_reg_to_regnum and
7 rs6000_dwarf2_reg_to_regnum as register number conversions
8 functions for STABS and Dwarf2.
9
779af9e3
RC
102004-05-26 Randolph Chung <tausq@debian.org>
11
12 * infttrace.h (target_waitkind): Forward declare type instead of pulling
13 in header file.
14
c23968a2
JB
152004-05-25 Joel Brobecker <brobecker@gnat.com>
16
17 * NEWS: Document new "start" command.
18
3a7d1c27
RC
192004-05-25 Randolph Chung <tausq@debian.org>
20
21 * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
22 hppa-linux.
23
43613416
RC
242004-05-25 Randolph Chung <tausq@debian.org>
25
26 * hppa-hpux-tdep.c (offsetof): Define.
27 (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp)
28 (hppa32_hpux_frame_base_before_sigtramp)
29 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
30 (hppa64_hpux_frame_saved_pc_in_sigtramp)
31 (hppa64_hpux_frame_base_before_sigtramp)
32 (hppa64_hpux_frame_find_saved_regs_in_sigtramp): Remove unused
33 functions.
34 (struct hppa_hpux_sigtramp_unwind_cache, hppa_hpux_tramp_reg)
35 (hppa_hpux_sigtramp_frame_unwind_cache)
36 (hppa_hpux_sigtramp_frame_this_id)
37 (hppa_hpux_sigtramp_frame_prev_register)
38 (hppa_hpux_sigtramp_frame_unwind)
39 (hppa_hpux_sigtramp_unwind_sniffer): New signal trampoline unwinder.
40 (hppa_hpux_init_abi): Register sigtramp unwinder.
41 * Makefile.in (hppa-hpux-tdep.o): Update dependencies.
42
6d1be3f1
RC
432004-05-25 Randolph Chung <tausq@debian.org>
44
45 * hppa-tdep.c (hppa_fallback_frame_cache): Handle stack adjustment,
46 and multiple stack unwinds.
47 (hppa_stub_unwind_sniffer): Handle unwind from pc == 0.
48
97c34f65
AC
492004-05-25 Andrew Cagney <cagney@gnu.org>
50
51 * symfile.h (symbol_file_add_from_memory): Delete declaration.
52 * symfile-mem.h: Delete file.
53 * symfile-mem.c: Do not include "symfile-mem.h".
54 (symbol_file_add_from_memory): Make static. Use "struct bfd" and
55 "struct bfd_section". When an error do not bother returning NULL.
56 (add_symbol_file_from_memory_command): Use "struct bfd" and
57 "struct bfd_section".
58 * Makefile.in (symfile_mem_h): Delete.
59 (symfile-mem.o): Update dependencies.
60
e23cbd82
NR
612004-05-25 Nick Roberts <nickrob@gnu.org>
62
63 * gdb-mi.el: New file.
64
20d2ca3e
AC
652004-05-25 Andrew Cagney <cagney@gnu.org>
66
67 * inftarg.c: Include "observer.h".
68 (child_attach, child_create_inferior): Notify inferior_created.
69 * corelow.c: Include "observer.h".
70 (core_open): Notify inferior_created.
71 * Makefile.in (inftarg.o, corelow.o): Update dependencies.
72
c27cda74
AC
732004-05-25 Andrew Cagney <cagney@gnu.org>
74
75 * target.h (struct target_ops): Add from_tty to
76 to_create_inferior.
77 (target_create_inferior, find_default_create_inferior): Update.
78 * infcmd.c (run_command): Update.
79 * wince.c (child_create_inferior): Update.
80 * win32-nat.c (child_create_inferior): Update.
81 * uw-thread.c (uw_thread_create_inferior): Update.
82 * thread-db.c (thread_db_create_inferior): Update.
83 * target.c (debug_to_create_inferior)
84 (find_default_create_inferior): Update.
85 (maybe_kill_then_create_inferior): Update.
86 * sol-thread.c (sol_thread_create_inferior): Update.
87 * remote.c (extended_remote_async_create_inferior)
88 (extended_remote_create_inferior): Update.
89 * remote-vx.c (vx_create_inferior): Update.
90 * remote-st.c (st2000_create_inferior): Update.
91 * remote-sim.c (gdbsim_create_inferior): Update.
92 * remote-sds.c (sds_create_inferior): Update.
93 * remote-rdp.c (remote_rdp_create_inferior): Update.
94 * remote-rdi.c (arm_rdi_create_inferior): Update.
95 * remote-m32r-sdi.c (m32r_create_inferior): Update.
96 * remote-e7000.c (e7000_create_inferior): Update.
97 * procfs.c (procfs_create_inferior): Update.
98 * ocd.c (ocd_create_inferior): Update.
99 * ocd.h (ocd_create_inferior): Update.
100 * nto-procfs.c (procfs_create_inferior): Update.
101 * monitor.c (monitor_create_inferior): Update.
102 * lin-lwp.c (lin_lwp_create_inferior): Update.
103 * inftarg.c (child_create_inferior): Update.
104 * hpux-thread.c (hpux_thread_create_inferior): Update.
105 * gnu-nat.c (gnu_create_inferior): Update.
106
1db2a798
AC
1072004-05-25 Andrew Cagney <cagney@gnu.com>
108
109 * MAINTAINERS: Update e-mail address.
110
007d08bb
RC
1112004-05-24 Randolph Chung <tausq@debian.org>
112
113 * thread.c (info_threads_command, thread_apply_all_command)
114 (thread_apply_command, thread_command, do_captured_thread_select):
115 Remove HPUXHPPA-specific code.
116
69e7b95e
RC
1172004-05-24 Randolph Chung <tausq@debian.org>
118
119 * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove
120 unused symbols.
121 * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more
122 references.
123
a4d5f2e0
JB
1242004-05-24 Joel Brobecker <brobecker@gnat.com>
125
126 * infcmd.c (kill_if_already_running): New function, extracted
127 from run_command().
128 (run_command): Replace extracted code by call to
129 kill_if_already_running().
130 (start_command): New function.
131 (_initialize_infcmd): Add "start" command.
132
bf2ca189
MK
1332004-05-24 Mark Kettenis <kettenis@gnu.org>
134
135 Add OpenBSD/m88k support.
136 * NEWS (New native configurations): Mention OpenBSD/m88k.
137 * m88k-tdep.c, m88k-tdep.h, m88kbsd-nat.c, config/m88k/nm-obsd.h,
138 config/m88k/obsd.mh, config/m88k/obsd.mt: New files.
139 * Makefile.in (m88k_tdep_h): New variable.
140 (ALLDEPFILES): Add m88k-tdep.c and m88kbsd-nat.c.
141 (m88kbsd-nat.o, m88k-tdep.o): New dependencies.
142 * configure.host: Add m88*-*-openbsd*.
143 * configure.tgt: Add m88*-*-openbsd*.
144
80fadb11
JB
1452004-05-24 Jim Blandy <jimb@redhat.com>
146
147 * MAINTAINERS (tracing bytecode stuff): Allow global maintainers
148 to approve changes.
149
19e2d14b
KB
1502004-05-24 Kevin Buettner <kevinb@redhat.com>
151
152 * symtab.c (fixup_section): Search section table when lookup by
153 name fails.
154
1b07b470
RC
1552004-05-24 Randolph Chung <tausq@debian.org>
156
157 * hppa-tdep.c: Fix handling of 8-byte structures; they should not
158 be "small_struct".
159
368702b1
MK
1602004-05-24 Mark Kettenis <kettenis@gnu.org>
161
5df97fde
MK
162 * m68kbsd-nat.c (m68kbsd_collect_gregset): Specify correct
163 register number in regcache_raw_collect call.
164 (m68kbsd_collect_fpregset): Likewise.
165 * vaxbsd-nat.c (vaxbsd_collect_gregset): Likewise.
166
368702b1
MK
167 * regset.h (struct regset): Add back `regset' member.
168
a770d4ec
MK
1692004-05-23 Mark Kettenis <kettenis@gnu.org>
170
70f9f479
MK
171 * configure.in: Check for td_pcb in `struct thread'.
172 * configure, config.in: Regenerated.
173
2e16d79e
MK
174 * dpx2-nat.c: Remove file.
175 * Makefile.in (ALLDEPFILES): Remove dpx2-nat.c.
176 (dpx2-nat.o): Remove dependencies.
177
492cf391
MK
178 * amd64obsd-nat.c: Include "gdbcore.h", "regcache.h",
179 <sys/types.h>, <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
180 (amd64obsd_supply_pcb): New function.
181 (_initialize_amd64obsd_nat): Enable libkvm interface.
182 * Makefile.in (amd64obsd-nat.o): Update dependencies.
183 * config/i386/obsd64.mh (NATDEPFILES): Add bsd-kvm.o
184 (LOADLIBES): New variable.
185
a770d4ec
MK
186 * sparcnbsd-nat.c: Include "gdbcore.h", "regcache.h",
187 <sys/types.h>, <machine/pcb.h> and "bsd-kvm.h".
188 (sparc32nbsd_supply_pcb): New function.
189 (_initialize_sparcnbsd_nat): Enable libkvm interface.
190 * Makefile.in (sparcnbsd-nat.o): Update dependencies.
191 * config/sparc/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
192 (LOADLIBES): New variable.
193
9ea75c57
MK
1942004-05-22 Mark Kettenis <kettenis@gnu.org>
195
2e0c3539
MK
196 * bsd-kvm.c, bsd-kvm.h: New files.
197 * i386fbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
198 "bsd-kvm.h".
199 (i386fbsd_supply_pcb): New function.
200 * Makefile.in (ALLDEPFILES): Add bsd-kvm.c.
201 (i386fbsd-nat.o): Update dependencies.
202 (bsd_kvm_h): New variable.
203 (bsd-kvm.o): New dependency.
204 * config/i386/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
205 (LOADLIBES): New variable.
206
9ea75c57
MK
207 * regset.c: Tweak comment.
208 (regset_alloc): Remove descr argument. Use GDBARCH_OBSTACK_ZALLOC
209 macro.
210 * regset.h: Update copyright year.
211 (struct regset): Remove `descr' member, add `gdbarch' member.
212 (regset_alloc): Adjust prototype and comment.
213 * i386-tdep.c (i386_supply_gregset): Get TDEP from REGSET->arch.
214 (i386_supply_fpregset): Likewise.
215 (i386_regset_from_core_section): Update call to regset_alloc.
216 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get TDEP from
217 REGSET->arch.
218 (i386obsd_aout_regset_from_core_section): Update call to
219 regset_alloc.
220 * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Get TDEP from
221 REGSET->arch.
222 (i386nbsd_aout_regset_from_core_section): Update call to
223 regset_alloc.
224 * amd64-tdep.c (amd64_supply_fpregset): Get TDEP from
225 REGSET->arch.
226 (amd64_regset_from_core_section): Update call to regset_alloc.
227 * amd64obsd-tdep.c (amd64obsd_supply_regset): Get TDEP from
228 REGSET->arch.
229 (amd64obsd_regset_from_core_section): Update call to regset_alloc.
230 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Directly pass
231 &sparc32nbsd_gregset in sparc32_supply_gregset call.
232 (sparc32nbsd_init_abi): Update call to regset_alloc.
233 * sparc64obsd-tdep.c (sparc64obsd_supply_gregset): Directly pass
234 &sparc64obsd_core_gregset in sparc64_supply_gregset call.
235 (sparc64obsd_init_abi): Update call to regset_alloc.
236 * sparc64nbsd-tdep.c (sparc64nbsd_supply_gregset): Directly pass
237 &sparc64nbsd_gregset in sparc64_supply_gregset call.
238 (sparc64nbsd_init_abi): Update call to regset_alloc.
239 * sparc64fbsd-tdep.c (sparc64fbsd_supply_gregset): Directly pass
240 &sparc64fbsd_gregset in sparc64_supply_gregset call.
241 (sparc64fbsd_init_abi): Update call to regset_alloc.
242
867e2dc5
JB
2432004-05-22 Jim Blandy <jimb@redhat.com>
244
245 * ppc-tdep.h (spe_register_p): New declaration.
246 (struct gdbarch_tdep): New members: ppc_acc_regnum and
247 ppc_spefscr_regnum.
248 * rs6000-tdep.c (spe_register_p): New function.
249 (rs6000_dwarf2_stab_reg_to_regnum): Recognize numbers for acc and
250 spefscr.
251 (rs6000_gdbarch_init): Initialize the new members of the tdep
252 structure.
253
617a4cba
JB
2542004-05-21 Jim Blandy <jimb@redhat.com>
255
0397dee1
JB
256 * ppc-linux-nat.c (fetch_register): Move code back to be next
257 to the comment that describes it. (Moved code, instead of
258 comment, for symmetry with store_register.)
259
617a4cba
JB
260 Allocate regset structures in the gdbarch's obstack, not using
261 xmalloc.
262 * regset.c (regset_alloc): Renamed from regset_xmalloc.
263 Add 'arch' argument. Allocate the regset on arch's obstack, not
264 using xmalloc.
265 * regset.h (regset_alloc): Update declaration.
266 * am64-tdep.c (amd64_regset_from_core_section): Update call; pass
267 gdbarch argument.
268 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
269 * i386-tdep.c (i386_regset_from_core_section): Same.
270 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
271 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
272 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
273 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
274 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
275 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
276
9aa3914d
JB
2772004-05-21 Joel Brobecker <brobecker@gnat.com>
278
279 * config/djgpp/fnchange.lst: Undo previous change, was useless.
280
99c87dab
JB
2812004-05-21 Jim Blandy <jimb@redhat.com>
282
283 * dwarf2expr.c (execute_stack_op): Add 'break' statements after
284 cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
285
c2b6b4aa
JB
2862004-05-20 Jim Blandy <jimb@redhat.com>
287
288 * rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
289
144529d0
MK
2902004-05-20 Mark Kettenis <kettenis@gnu.org>
291
292 * regset.h: Make prototype const-correct.
293 * regset.c (regset_xmalloc): Make const-correct.
294
4725b721
PH
2952004-05-20 Paul N. Hilfinger <hilfinger@gnat.com>
296
297 * symtab.h (SYMBOL_SEARCH_NAME): New definition.
298 (SYMBOL_MATCHES_SEARCH_NAME): New definition.
299 (symbol_search_name): Declare.
300
301 * dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
302 (iter_name_next_hashed): Ditto.
303 (iter_name_next_linear): Ditto.
304 (insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
305
306 * symtab.c (lookup_partial_symbol): Assume symbols ordered by
307 search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
308 (symbol_search_name): New function.
309
310 * symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
311
312 * minsyms.c (build_minimal_symbol_hash_tables): Change
313 test for adding to demangled hash table to check for difference
314 between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
315
be07a590
JB
3162004-05-19 Jim Blandy <jimb@redhat.com>
317
318 Use a constructor function to create regset structures.
319 * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
320 (struct regset): Use supply_regset_ftype. Add new
321 'collect_regset' member.
322 (regset_xmalloc): New declaration.
323 * regset.c: New file.
324 * am64-tdep.c (amd64_regset_from_core_section): Use
325 regset_xmalloc to construct regset structures.
326 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
327 * i386-tdep.c (i386_regset_from_core_section): Same.
328 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
329 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
330 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
331 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
332 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
333 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
334 * Makefile.in (COMMON_OBS): Add regset.o.
335 (regset.o): New rule.
336
604368f5
JB
3372004-05-19 Joel Brobecker <brobecker@gnat.com>
338
339 * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
340 and pthread_cond_wait.c.
341
82d69f8b
JB
3422004-05-18 Jim Blandy <jimb@redhat.com>
343
344 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
345 before the mach-specific switch, and then let the individual cases
346 override the defaults, rather than leaving them uninitialized
347 until the switch and then setting them in each case.
348
5859efe5
RC
3492004-05-18 Randolph Chung <tausq@debian.org>
350
351 * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
352 millicode functions.
353
9ca80cf8
RC
3542004-05-18 Randolph Chung <tausq@debian.org>
355
356 * somsolib.c (som_solib_remove_inferior_hook): Make all the size
357 references to dld_flags_buffer consistent.
358
ed70ba00
RC
3592004-05-18 Randolph Chung <tausq@debian.org>
360
361 * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
362 it for unwinding the stack.
363
63100632
RC
3642004-05-18 Randolph Chung <tausq@debian.org>
365
366 * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
367 Undefine these so we can overide them using gdbarch.
368
090ccbb7
RC
3692004-05-18 Randolph Chung <tausq@debian.org>
370
371 * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
372 handling for 64-bit HPUX (elf).
373
594706e6
DJ
3742004-05-18 Daniel Jacobowitz <dan@debian.org>
375
376 * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
377 constants.
378 * amd64-tdep.c (amd64_skip_prologue): Likewise.
379 * ia64-tdep.c (examine_prologue): Likewise.
380 * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
381 * v850-tdep.c (v850_fix_call_dummy): Likewise.
382
e5483145
MK
3832004-05-18 Mark Kettenis <kettenis@gnu.org>
384
385 * vax-tdep.c (vax_return_value): Implement
386 RETURN_VALUE_ABI_RETURNS_ADDRESS.
387
caed1a45
MK
3882004-05-17 Mark Kettenis <kettenis@gnu.org>
389
390 * vax-tdep.c (vax_return_value): Fix typo.
391
3c0b7db2
AC
3922004-05-17 Andrew Cagney <cagney@redhat.com>
393
5aae53e5
AC
394 * MAINTAINERS: Mark Salter was also responsible for
395 testsuite/config/
396
3c0b7db2
AC
397 * NEWS: Mention signal fixes.
398
22b0923d
RC
3992004-05-17 Randolph Chung <tausq@debian.org>
400
401 * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
402 check to see if we are unwinding an export stub. Export stubs clobber
403 the %rp in the call path and stores the original rp in a stack slot.
404
22f2b2f3
JB
4052004-05-17 Jim Blandy <jimb@redhat.com>
406
407 * MAINTAINERS: Update address for J.T. Conklin.
408
cea96d64
RC
4092004-05-17 Randolph Chung <tausq@debian.org>
410
411 * hppa-tdep.c: Remove superfluous #include's.
412 * Makefile.in (hppa-tdep.o): Update dependencies.
413
f08f6a4a
RC
4142004-05-17 Randolph Chung <tausq@debian.org>
415
416 * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
417 (THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
418 (unwind_command, hppa_alignof, prologue_inst_adjust_sp)
419 (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
420 (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
421 Remove static function declarations.
422
51da707a
MK
4232004-05-17 Mark Kettenis <kettenis@gnu.org>
424
caed1a45
MK
425 * alphabsd-nat.c: Update copyright year.
426 (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
427
c0c2b0db
MK
428 * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
429 and M68K_A2_REGNUM.
430
51da707a
MK
431 * m68k-tdep.c (m68k_svr4_return_value): Implement
432 RETURN_VALUE_ABI_RETURNS_ADDRESS.
433
8d027a04
MK
4342004-05-16 Mark Kettenis <kettenis@gnu.org>
435
436 * sol-thread.c Update copyright year. Fix various coding
437 standards violations. Tweak a few comments.
438 (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
439 Delete prototypes.
440
0d99fdb9
RC
4412004-05-15 Randolph Chung <tausq@debian.org>
442
443 * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
444 as pointer instead of array reference since HPUX compiler does
445 not accept unsized array arguments.
446 * somsolib.c (dld_flags_buffer): Use constant array size.
447
f7e3843a
MK
4482004-05-15 Mark Kettenis <kettenis@gnu.org>
449
0fe85704
MK
450 * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
451 offset with decimal offset.
452 (amd64obsd_sigcontext_addr): Return correct address for entire
453 signal trampoline.
454
a54f9a00
MK
455 * vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
456 instead of get_frame_base.
457
feae6502
MK
458 * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
459 (fill_gregset): Use regcache_raw_collect.
460
0382d099
MK
461 * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
462 ppcobsd-tdep.c.
463
f7e3843a
MK
464 * config/sparc/tm-nbsd64.h: Remove file.
465 * config/tm-sunos.h: Remove file.
466
773df3e5
JB
4672004-05-15 Joel Brobecker <brobecker@gnat.com>
468
469 * rs6000-tdep.c (store_param_on_stack_p): New function,
470 an improved version of some code extracted from skip_prologue().
471 (skip_prologue): Use store_param_on_stack_p() to detect
472 instructions saving a parameter on the stack. Detect when r0
473 is used to save a parameter.
474 Do not mark "li rx, SIMM" instructions as part of the prologue,
475 unless the following instruction is also part of the prologue.
476
95918acb
AC
4772004-05-14 Andrew Cagney <cagney@redhat.com>
478
06f32659
AC
479 * infrun.c (handle_inferior_event): Simplify
480 STEP_OVER_UNDEBUGGABLE.
481
95918acb
AC
482 * infrun.c (handle_step_into_function): Delete function.
483 (handle_inferior_event): Inline calls to
484 handle_step_into_function.
485
42203e46
JG
4862004-05-14 Jerome Guitton <guitton@rome.act-europe.fr>
487
488 * rs6000-nat.c: Fix a comment.
489
02f60eae
JB
4902004-05-12 David Anderson <davea@sgi.com>
491
492 Committed by Jim Blandy <jimb@redhat.com>:
493 * regcache.c (struct regcache_descr): fix comment spelling.
494
552e377b
JB
4952004-05-13 J. Brobecker <brobecker@gnat.com>
496
497 * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
498 Fixes a link link failure.
499
349766b2
JB
5002004-05-13 J. Brobecker <brobecker@gnat.com>
501
502 * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
503 error that was causing the build to fail.
504
0d4d5484
JB
5052004-05-13 J. Brobecker <brobecker@gnat.com>
506
507 * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
508 * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
509
0b30808c
AC
5102004-05-13 Andrew Cagney <cagney@redhat.com>
511
512 * infrun.c (handle_inferior_event): Check for
513 STEP_OVER_UNDEBUGGABLE after signal trampolines and function
514 calls. Update comments.
515
cdf2c5f5
JB
5162004-05-13 Jim Blandy <jimb@redhat.com>
517
063715bf
JB
518 * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
519 (fetch_regs_user_thread, fetch_regs_kernel_thread)
520 (store_regs_user_thread, store_regs_kernel_thread): Use
521 ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
522 * ppc-linux-nat.c (fill_gregset): Same.
523 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
524 (ppc_linux_sigtramp_cache): Same.
525 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
526 (ppcnbsd_sigtramp_cache_init): Same.
527 * rs6000-nat.c (fetch_core_registers): Same.
528 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
529 (rs6000_frame_cache): Same.
530
cdf2c5f5
JB
531 * aix-thread.c (supply_gprs64, fetch_regs_user_thread)
532 (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
533 of assuming that the gprs are numbered starting with zero.
534 * ppc-linux-nat.c (fill_gregset): Same.
535 * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
536 * ppcnbsd-nat.c (getregs_supplies): Same.
537 * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
538 * rs6000-nat.c (fetch_core_registers): Same.
539 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
540
450bd37b
MS
5412004-05-07 Michael Snyder <msnyder@redhat.com>
542
543 * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
544 LOC_COMPUTED_ARG, and LOC_INDIRECT.
545
4a72a2a6
AC
5462004-05-13 Andrew Cagney <cagney@redhat.com>
547
548 * infrun.c (handle_inferior_event): Use frame_unwind_id.
549
8edfa926
BM
5502004-05-13 Bryce McKinlay <mckinlay@redhat.com>
551
552 * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
553 base_address for shared libraries.
554
723e0e3d
BM
5552004-05-13 Bryce McKinlay <mckinlay@redhat.com>
556
557 * MAINTAINERS (write after approval): Add myself.
558
00d4360e
UW
5592004-05-13 Ulrich Weigand <uweigand@de.ibm.com>
560
561 * breakpoint.c (bpstat_stop_status): Add new argument
562 STOPPED_BY_WATCHPOINT. Use it instead of testing
563 target_stopped_data_address agaist 0 to check whether
564 or not we stopped due to a hardware watchpoint.
565 * breakpoint.h (bpstat_stop_status): Adapt prototype.
566 * infrun.c (handle_inferior_event): Call bpstat_stop_status
567 with new argument.
568
ec76baa5
JB
5692004-05-12 Jim Blandy <jimb@redhat.com>
570
571 * configure.in: When checking whether we should use the -bbigtoc
572 option, don't forget to restore the original value of LDFLAGS.
573 * configure: Regenerated.
574
f2c9ca08
AC
5752004-05-12 Andrew Cagney <cagney@redhat.com>
576
577 * thread.c (load_infrun_state): Delete step_sp.
578 * infrun.c (context_switch): Ditto.
579 * inferior.h (step_sp): Ditto.
580 * infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
581 * gdbthread.h (struct thread_info, save_infrun_state)
582 (restore_infrun_state): Ditto.
583
090ddb2a
UW
5842004-05-12 Ulrich Weigand <uweigand@de.ibm.com>
585
586 * MAINTAINERS (write after approval): Add myself.
587
8aad930b
AC
5882004-05-12 Andrew Cagney <cagney@redhat.com>
589
590 * infrun.c (adjust_pc_after_break): Rewrite decr logic,
591 eliminate reference to step_sp.
592 (struct execution_control_state, init_execution_control_state)
593 (handle_inferior_event, keep_going): Delete update_step_sp and
594 step_sp.
595 * infcmd.c (step_sp): Note that variable is unused.
596
922d5ae0
AC
5972004-05-11 Andrew Cagney <cagney@redhat.com>
598
599 * infrun.c (step_over_function): Delete function.
600 (handle_step_into_function): Use insert_step_resume_breakpoint.
601 (insert_step_resume_breakpoint): Fix assertion.
602
017c5ca5
NR
6032004-05-11 Nick Roberts <nickrob@gnu.org>
604
605 * utils.c (defaulted_query): Just use the normal query input type
606 when printing the annotations.
607
42edda50
AC
6082004-05-11 Andrew Cagney <cagney@redhat.com>
609
610 * infrun.c (handle_inferior_event): Simplify code handling
611 step-into or return-from a signal trampoline.
612
d28b44a7
AC
6132004-05-11 Andrew Cagney <cagney@redhat.com>
614
615 * ppcnbsd-tdep.c: Include "gdb_assert.h".
616 * Makefile.in (ppcnbsd-tdep.o): Update dependencies.
617
383f0f5b
JB
6182004-05-10 Jim Blandy <jimb@redhat.com>
619
d0b57c3a
JB
620 * ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
621 with a call to internal_error.
622
383f0f5b
JB
623 * ppc-tdep.h (struct gdbarch_tdep): Change definition of
624 ppc_fp0_regnum and ppc_fpscr_regnum: if they are -1, then this
625 processor variant lacks those registers.
626 (ppc_floating_point_unit_p): Change description to make it clear
627 that this returns info about the ISA, not the ABI.
628 * rs6000-tdep.c (ppc_floating_point_unit_p): Decide whether to
629 return true or false by checking tdep->ppc_fp0_regnum and
630 tdep->ppc_fpscr_regnum. The original code replicated the BFD
631 arch/mach switching done in rs6000_gdbarch_init; it's better to
632 keep that logic there, and just check the results here.
633 (rs6000_gdbarch_init): On the E500, set tdep->ppc_fp0_regnum and
634 tdep->ppc_fpscr_regnum to -1 to indicate that we have no
635 floating-point registers.
636 (ppc_supply_fpregset, ppc_collect_fpregset)
637 (rs6000_push_dummy_call, rs6000_extract_return_value)
638 (rs6000_store_return_value): Assert that we have floating-point
639 registers.
640 (rs6000_dwarf2_stab_reg_to_regnum): Add FIXME.
641 (rs6000_frame_cache): Don't note the locations at which
642 floating-point registers were saved if we have no fprs.
643 * aix-thread.c (supply_fprs, fill_fprs): Assert that we have FP
644 registers.
645 (fetch_regs_user_thread, fetch_regs_kernel_thread)
646 (store_regs_user_thread, store_regs_kernel_thread): Only call
647 supply_fprs / fill_fprs if we actually have floating-point
648 registers.
649 (special_register_p): Check ppc_fpscr_regnum before matching
650 against it.
651 (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32): Don't
652 supply / collect fpscr if we don't have it.
653 * ppc-bdm.c: #include "gdb_assert.h".
654 (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Assert that we
655 have floating-point registers, since I can't test this code on
656 FP-free systems to adapt it.
657 * ppc-linux-nat.c (ppc_register_u_addr): Don't match against the
658 fpscr and floating point register numbers if they don't exist.
659 (fetch_register): Assert that we have floating-point registers
660 before we reach the code that handles them.
661 (store_register): Same. And use tdep instead of calling
662 gdbarch_tdep again.
663 (fill_fpregset): Don't try to collect FP registers and fpscr if we
664 don't have them.
665 (ppc_linux_sigtramp_cache): Don't record the saved locations of
666 fprs and fpscr if we don't have them.
667 (ppc_linux_supply_fpregset): Don't supply fp regs and fpscr if we
668 don't have them.
669 * ppcnbsd-nat.c: #include "gdb_assert.h".
670 (getfpregs_supplies): Assert that we have floating-point registers.
671 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg): Same.
672 * ppcobsd-tdep.c: #include "gdb_assert.h".
673 (ppcobsd_supply_gregset, ppcobsd_collect_gregset): Assert that we
674 have floating-point registers.
675 * rs6000-nat.c (regmap): Don't match against the fpscr and
676 floating point register numbers if they don't exist.
677 (fetch_inferior_registers, store_inferior_registers,
678 fetch_core_registers): Only fetch / store / supply the
679 floating-point registers and the fpscr if we have them.
680 * Makefile.in (ppc-bdm.o, ppc-linux-nat.o, ppcnbsd-nat.o)
681 (ppcobsd-tdep.o): Update dependencies.
682
15960608
AC
6832004-05-10 Andrew Cagney <cagney@redhat.com>
684
685 * infrun.c (through_sigtramp_breakpoint): Delete variable.
686 (context_switch): Do not switch through_sigtramp_breakpoint.
687 * gdbthread.h (save_infrun_state, load_infrun_state)
688 (struct thread_info): Delete through_sigtramp_breakpoint parameter
689 and structure member.
690 * thread.c (load_infrun_state, save_infrun_state): Update.
691
5ab5aa0f
MK
6922004-05-10 Mark Kettenis <kettenis@gnu.org>
693
694 * m68kbsd-tdep.c (m68kbsd_elf_init_abi): Call m68k_svr4_init_abi.
695
da78b0e7
DJ
6962004-05-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
697
698 * acinclude.m4: Quote macro names being defined by AC_DEFUN
699 throughout.
700 * aclocal.m4: Regenerate.
701
cca0d3b0
NW
7022004-05-10 Nathan J. Williams <nathanw@wasabisystems.com>
703
704 * alphanbsd-tdep.c: Fix include of "gdb_string.h".
705
d303a6c7
AC
7062004-05-10 Andrew Cagney <cagney@redhat.com>
707
708 * infrun.c (check_sigtramp2): Delete function.
709 (handle_inferior_event): When single stepping, and taking a
710 signal, set a breakpoint at the signal return address. Delete
711 redundant calls to check_sigtramp2.
712 (insert_step_resume_breakpoint): New function.
713 (through_sigtramp_breakpoint, handle_inferior_event)
714 (follow_exec, wait_for_inferior, fetch_inferior_event)
715 (currently_stepping, keep_going): Delete most uses of
716 through_sigtramp_breakpoint, not that it should be deleted.
717 (delete_breakpoint_current_contents): Delete function.
718
03f4cc20
RC
7192004-05-10 Randolph Chung <tausq@debian.org>
720
721 * config/pa/linux.mt (TM_FILE): Use new tm-linux.h for hppa-linux
722 target.
723 * config/pa/tm-linux.h: New file.
724
37fc812e
DJ
7252004-05-10 Daniel Jacobowitz <drow@mvista.com>
726
727 * cli/cli-setshow.c (cmd_show_list): Check for "show" in the middle
728 of prefixes. Don't print the prefix twice in the CLI.
729
26c0b942
JB
7302004-05-10 Jim Blandy <jimb@redhat.com>
731
2e56e9c1
JB
732 * rs6000-tdep.c (ppc_collect_gregset): When regnum == -1, do
733 collect all the gprs.
734
26c0b942
JB
735 * rs6000-tdep.c (ppc_collect_gregset): Correct off-by-one error in
736 loop collecting gprs.
737
dc497459
AC
7382004-05-09 Andrew Cagney <cagney@redhat.com>
739
740 * remote-vx.c (net_step): Delete step-range code.
741 * remote.c (remote_resume, init_all_packet_configs)
742 (set_remote_protocol_E_packet_cmd)
743 (show_remote_protocol_E_packet_cmd)
744 (remote_protocol_E, show_remote_cmd, _initialize_remote)
745 (remote_protocol_e, set_remote_protocol_e_packet_cmd)
746 (show_remote_protocol_e_packet_cmd): Ditto.
747
0543f387
MK
7482004-05-09 Mark Kettenis <kettenis@gnu.org>
749
c481d1ca
MK
750 * hppa-tdep.h (enum hppa_regnum): Name enum, add HPPA_R1_REGNUM.
751
f626a069
MK
752 * hppa-tdep.h: Update copyright year.
753 (struct trad_frame_saved_reg): Add opaque declaration.
754
6fa57a7d
MK
755 * amd64-tdep.c (amd64_return_value): Implement
756 RETURN_VALUE_ABI_RETURNS_ADDRESS.
757
e47577ab
MK
758 * m68k-tdep.c (m68k_convert_register_p, m68k_register_to_value)
759 (m68k_value_to_register): New functions.
760 (m68k_gdbarch_init): Set convert_register_p, register_to_value and
761 value_to_register.
762
31db7b6c
MK
763 * defs.h (enum return_value_convention): Add
764 RETURN_VALUE_ABI_RETURNS_ADDRESS and
765 RETURN_VALUE_ABI_PRESERVES_ADDRESS.
766 * infcmd.c (legacy_return_value): New function.
767 (print_return_value): Rwerite to implement
768 RETURN_VALUE_ABI_RETURNS_ADDRESS.
769 * values.c (using_struct_return): Check for inequality to
770 RETURN_VALUE_REGISTER_CONVENTION instead of equality to
771 RETURN_VALUE_STRUCT_CONVENTION.
772 * i386-tdep.c (i386_return_value): Implement
773 RETURN_VALUE_ABI_RETURNS_ADDRESS.
774
0543f387
MK
775 * vax-tdep.c: Tweak comments. Reorder include files. Don't
776 include "symtab.h", "opcode/vax.h" and "inferior.h".
777 (vax_skip_prologue): Replace calls to read_memory_integer by calls
778 to read_memory_unsigned_integer.
779 (vax_gdbarch_init): Reorder.
780 (_initialize_vax_tdep): Spell out prototype.
781 * Makefile.in (vax-tdep.o): Update dependencies.
782
0c93b7b6
AC
7832004-05-08 Andrew Cagney <cagney@redhat.com>
784
e6b55ae2
AC
785 * infrun.c (resume): Delete call to DO_DEFERRED_STORES.
786 * target.c (target_detach, target_disconnect): Ditto.
787
1ac839b8
AC
788 * infcall.c (call_function_by_hand): When no
789 DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
790 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set
791 DEPRECATED_SAVE_DUMMY_FRAME_TOS.
792 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
793 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
794
28954179
AC
795 * gdbarch.sh (DEPRECATED_FIX_CALL_DUMMY): Delete.
796 * gdbarch.h, gdbarch.c: Re-generate.
797 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
798 deprecated_fix_call_dummy.
799 * v850-tdep.c (v850_gdbarch_init): Ditto.
800 * infcall.c (call_function_by_hand): Do not call
801 DEPRECATED_FIX_CALL_DUMMY.
802
434b87dd
AC
803 * gdbarch.sh (DEPRECATED_CALL_DUMMY_WORDS)
804 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Delete.
805 * gdbarch.h, gdbarch.c: Re-generate.
806 * arm-linux-tdep.c (arm_linux_call_dummy_words)
807 (arm_linux_init_abi): Do not set deprecated_call_dummy_words or
808 deprecated_sizeof_call_dummy_words.
809 * arm-tdep.c (arm_call_dummy_words, arm_gdbarch_init): Ditto.
810 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
811 * v850-tdep.c (v850_gdbarch_init): Ditto.
812 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
813 * ns32k-tdep.c (ns32k_call_dummy_words, ns32k_gdbarch_init): Ditto.
814 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
815 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
816 * arch-utils.h (legacy_call_dummy_words)
817 (legacy_sizeof_call_dummy_words): Delete declarations.
818 * arch-utils.c (legacy_call_dummy_words)
819 (legacy_sizeof_call_dummy_words): Delete variables.
820
58d28df8
AC
821 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Delete.
822 * gdbarch.h, gdbarch.c: Re-generate.
823 * inferior.h (PUSH_DUMMY_FRAME): Delete macro.
824 * infcall.c (call_function_by_hand): Eliminate call to
825 DEPRECATED_PUSH_DUMMY_FRAME.
826 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
827 push_dummy_frame.
828 (ns32k_push_dummy_frame): Delete function.
829
e4a2df64
AC
830 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
831 deprecated_call_dummy_breakpoint_offset or
832 deprecated_call_dummy_start_offset.
833 * dummy-frame.c, arm-tdep.c: Update comments.
834 * gdbarch.sh (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET)
835 (DEPRECATED_CALL_DUMMY_START_OFFSET): Delete.
836 * gdbarch.h, gdbarch.c: Re-generate.
837
d3712828
AC
838 * infcall.c (legacy_push_dummy_code): Delete function.
839 (push_dummy_code): Delete call.
840
7a882905
AC
841 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete.
842 * gdbarch.h, gdbarch.c: Re-generate.
843 * blockframe.c (legacy_frame_chain_valid): Simplify by eliminating
844 DEPRECATED_USE_GENERIC_DUMMY_FRAMES.
845 * infcall.c (legacy_push_dummy_code, call_function_by_hand): Ditto.
846 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Ditto.
847
0ec5872b
AC
848 * breakpoint.h (deprecated_frame_in_dummy): Delete declaration.
849 (struct frame_info): Delete opaque declaration.
850 * breakpoint.c (deprecated_frame_in_dummy): Delete function.
851 * frame.c (get_frame_type): Delete call.
852
0c93b7b6
AC
853 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set deprecated
854 pc_in_call_dummy.
855 * inferior.h (deprecated_pc_in_call_dummy_on_stack): Delete.
856 * blockframe.c (deprecated_pc_in_call_dummy_on_stack): Delete.
857
75536971
MK
8582004-05-08 Mark Kettenis <kettenis@gnu.org>
859
527ca6bb
MK
860 * alphanbsd-tdep.c: Include "gdb_string.h".
861 * armnbsd-tdep.c: Update copyright year.
862 Include "gdb_string.h".
863 * Makefile.in (alphanbsd-tdep.o, armnbsd-tdep.o): Update
864 dependencies.
865
d39fdc61
MK
866 * delta68-nat.c: Remove file.
867 * m68k-tdep.c (delta68_in_sigtramp, delta68_frame_args_address)
868 (delta68_frame_saved_pc, delta68_frame_num_args): Remove functions.
869 * Makefile.in (ALLDEPFILES): Remove delta68-nat.c.
870 (delta68-nat.o): Remove dependency.
871
75536971
MK
872 * m68k-tdep.c (m68k_frameless_function_invocation): Remove
873 function.
874 (m68k_gdbarch_init): Don't set
875 deprecated_frameless_function_invocation.
876
f4ca1d1f
RC
8772004-05-07 Randolph Chung <tausq@debian.org>
878
879 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Use
880 read_memory_nobpt for code reading when doing frame unwinding.
881 * hppa-linux-tdep.c (insns_match_pattern): Likewise.
882
2f0e8c7a
RC
8832004-05-07 Randolph Chung <tausq@debian.org>
884
885 * hppa-linux-tdep.c (hppa_linux_sigtramp_find_sigcontext): Pass in pc
886 instead of sp, handle sigaltstack case.
887 (hppa_linux_sigtramp_frame_unwind_cache): Adjust calls to
888 hppa_linux_sigtramp_find_sigcontext, and set base to the frame of the
889 signal handler and not that of the caller.
890 (hppa_linux_sigtramp_unwind_sniffer): Adjust calls to
891 hppa_linux_sigtramp_find_sigcontext.
892
959464ff
RC
8932004-05-07 Randolph Chung <tausq@debian.org>
894
895 * Makefile.in (ALLDEPFILES): Add hppa-linux-tdep.c and
896 hppa-linux-nat.c.
897 (hppa-linux-tdep.o, hppa-linux-nat.o): Define rules.
898 * hppa-linux-nat.c (fetch_register, store_register): Define.
899 (fetch_inferior_registers, store_inferior_registers): Define.
900 (supply_gregset): Add comment and clean up some unneeded code.
901 (fill_gregset): Add comment and fix so that it saves registers in
902 the right place in the gregset.
903 (fill_fpregset): Fix buffer overrun problem.
904 * config/pa/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
905
0da28f8a
RC
9062004-05-07 Randolph Chung <tausq@debian.org>
907
908 * hppa-tdep.c (hppa_frame_prev_register_helper): New function to
909 do common handling of the pcoqt register.
910 (hppa_frame_prev_register, hppa_stub_frame_prev_register): Convert
911 to use helper function.
912 (hppa_frame_unwind_sniffer): Only use if unwind entry is present.
913 (hppa_fallback_frame_cache, hppa_fallback_frame_this_id)
914 (hppa_fallback_frame_prev_register, hppa_fallback_frame_unwind): New
915 generic fallback unwinder when all else fails.
916 (hppa_gdbarch_init): Add fallback sniffer.
917 * hppa-tdep.h (hppa_frame_prev_register_helper): Prototype.
918 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): Convert
919 to use helper function.
920
b9ec757a
JB
9212004-05-08 Joel Brobecker <brobecker@gnat.com>
922
923 * config/djgpp/fnchange.lst: Add translation rules for
924 gdb.arch/powerpc-aix-prologue.c and gdb.arch/powerpc-aix-prologue.exp.
925
756e95f1
MK
9262004-05-08 Mark Kettenis <kettenis@gnu.org>
927
928 * frame.c (get_prev_frame_1): Work around GCC bug.
929 * frame.h: Add comment about GCC bug.
930
2b4855ab
AC
9312004-05-07 Andrew Cagney <cagney@redhat.com>
932
933 * observer.c: Include "commands.h" and "gdbcmd.h".
934 (observer_debug, _initialize_observer): Add the
935 command "set/show debug observer".
936 * observer.sh: When observer debugging, log notify calls.
937 * Makefile.in (observer.o): Update dependencies.
938
ba3e8e46
JM
9392004-05-07 Jason Molenda (jmolenda@apple.com)
940
941 * cli/cli-decode.c: Fix "SHOW_DOR" comment typeos.
942
16796152
JB
9432004-05-07 Jim Blandy <jimb@redhat.com>
944
daf6dc85
JB
945 * aix-thread.c (fetch_regs_kernel_thread, fill_gprs64,
946 fill_gprs32, store_regs_kernel_thread): Use tdep->ppc_gp0_regnum
947 to recognize gpr regnums, instead of assuming that
948 tdep->ppc_fp0_regnum marks the end of the general-purpose
949 registers.
950
16796152
JB
951 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Assert that
952 the given architecture has floating-point registers.
953
c69b8bfc
AC
9542004-05-07 Andrew Cagney <cagney@redhat.com>
955
956 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Replace with
957 macro defined to 1.
958 * gdbarch.h, gdbarch.c: Re-generate.
959 * ns32k-tdep.c (ns32k_gdbarch_init): Do not set
960 deprecated_use_generic_dummy_frames.
961
7243600a
BF
9622004-05-07 Brian Ford <ford@vss.fsi.com>
963
964 * NEWS: Mention Cygwin DWARF 2 support.
965
73c1e0a1
AC
9662004-05-07 Andrew Cagney <cagney@redhat.com>
967
968 * objfiles.h (struct entry_info): Delete unused fields
969 deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
970 * objfiles.c (init_entry_point_info, objfile_relocate): Update.
971 * mipsread.c (mipscoff_symfile_read): Update.
972 * mdebugread.c (parse_partial_symbols): Update.
973 * dwarfread.c (read_file_scope): Update.
974 * dwarf2read.c (read_file_scope): Update.
975 * dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
976 * coffread.c (complete_symtab): Update.
977
1d3056ac
MK
9782004-05-07 Mark Kettenis <kettenis@gnu.org>
979
980 * infcall.c (_initialize_infcall): Fix typo.
981
15170568
AC
9822004-05-07 Andrew Cagney <cagney@redhat.com>
983
984 * cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
985 * command.h (add_setshow_zinteger_cmd): Declare.
986
34f75cc1
RC
9872004-05-06 Randolph Chung <tausq@debian.org>
988
989 * config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
990 (HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
991 (PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
992 (EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
993 (RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
994 (CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
995 (ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM
996 definitions ...
997 * hppa-tdep.h: ... to here, with HPPA_ prefix.
998 * Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
999 * hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
1000 (hppa64_hpux_frame_find_saved_regs_in_sig)
1001 (child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
1002 * hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
1003 * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
1004 (hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
1005 (hppa_linux_sigtramp_frame_prev_register): Likewise.
1006 * hppa-tdep.c (hppa32_return_value, hppa64_return_value)
1007 (hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
1008 (hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
1009 (hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
1010 (hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
1011 (hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
1012 (hppa32_register_type, hppa_cannot_store_register)
1013 (hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
1014 * hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
1015 * hpread.c (hpread_process_one_debug_symbol): Likewise.
1016 * pa64solib.c (pa64_solib_have_load_event)
1017 (pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
1018 (pa64_solib_unloaded_library_pathname): Likewise.
1019 * somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
1020 (som_solib_library_pathname): Likewise.
1021
0a5e7efe
JI
10222004-05-05 Jim Ingham <jingham@apple.com>
1023
1024 * breakpoint.c (create_breakpoints): Copy the ignore count and
1025 thread id over from the pended breakpoint to the actual
1026 breakpoint.
1027
10a4b113
AC
10282004-05-05 Andrew Cagney <cagney@redhat.com>
1029
1030 * gdbarch.sh (PARM_BOUNDARY): Delete.
1031 gdbarch.h, gdbarch.c: Re-generate.
1032 * valops.c (PARM_BOUNDARY): Delete macro.
1033 (value_push): Delete PARM_BOUNDARY code.
1034 * m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.
1035
366f009f
JB
10362004-05-04 Jim Blandy <jimb@redhat.com>
1037
32b99774
JB
1038 * ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
1039 Don't assume that the gprs, fprs, and UISA sprs are
1040 contiguous, start at register number zero, and end with fpscr.
1041 Instead, use the numbers from the tdep structure.
1042
366f009f
JB
1043 * config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
1044 should no longer be used in code specific to the RS6000 and its
1045 derivatives.
1046 * ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
1047 * rs6000-tdep.c (rs6000_gdbarch_init): Initialize
1048 tdep->ppc_fp0_regnum.
1049 (ppc_supply_fpregset, ppc_collect_fpregset)
1050 (rs6000_push_dummy_call, rs6000_extract_return_value)
1051 (rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
1052 (rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
1053 FP0_REGNUM.
1054 * aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
1055 (fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
1056 Same.
1057 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
1058 bdm_ppc_store_registers): Same.
1059 * ppc-linux-nat.c (ppc_register_u_addr, fetch_register)
1060 (store_register, fill_fpregset): Same.
1061 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache)
1062 (ppc_linux_supply_fpregset): Same.
1063 * ppcnbsd-nat.c (getfpregs_supplies): Same.
1064 * ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
1065 Same.
1066 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
1067 do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
1068 ppc64_sysv_abi_return_value): Same.
1069 * rs6000-nat.c (regmap, fetch_inferior_registers)
1070 (store_inferior_registers, fetch_core_registers): Same.
1071
827f338d
MK
10722004-05-01 Mark Kettenis <kettenis@gnu.org>
1073
1074 * m68knbsd-nat.c: Remove file.
1075 * m68knbsd-tdep.c: Remove file.
1076 * Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
1077 dependencies.
1078 * configure.host: Add m68k-*-netbsdelf*.
1079 * configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
1080 * config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
1081 solib.o and solib-sunos.o. Remove m68knbsd-nat.o, corelow.o.
1082 (XM_FILE): Remove.
1083 * config/m68k/nbsdelf.mh: New file.
1084 * config/m68k/nbsd.mt: New file.
1085 * config/m68k/nbsdaout.mt: Remove file.
1086 * config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
1087 <machine/vmparam.h> and "m68k/tm-m68k.h". Include "solib.h".
1088 (BPT_VECTOR, STACK_END_ADDR): Remove defines.
1089 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
1090 (use_struct_convention): Remove prototype.
1091 (USE_STRUCT_CONVENTION): Remove define.
1092 * config/m68k/xm-nbsd.h: Remove file.
1093
66894781
MS
10942004-05-04 Michael Snyder <msnyder@redhat.com>
1095
1096 * m68k-tdep.c (m68k_gdbarch_init): Default to using
1097 reg_struct_return method (as gcc usually does for cross targets).
1098
f0f63663
AC
10992004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1100
1101 Committed by Andrew Cagney.
1102 * s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
1103 alignment padding when accessing ucontext struct members.
1104
edf61169
JB
11052004-05-04 Jim Blandy <jimb@redhat.com>
1106
8bf659e8
JB
1107 * config/ppc-tdep.h (struct gdbarch_tdep): Delete
1108 'ppc_gplast_regnum' member.
1109 (ppc_num_gprs): New enum constant.
1110 * ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
1111 and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
1112 * rs6000-nat.c (regmap, fetch_inferior_registers,
1113 store_inferior_registers): Same.
1114 * rs6000-tdep.c (e500_pseudo_register_read)
1115 (e500_pseudo_register_write): Same.
1116 (rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.
1117
b967e06f
JB
1118 * config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
1119 * ppc-tdep.h (ppc_num_fprs): New enum constant.
1120 * aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
1121 store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
1122 FPLAST_REGNUM.
1123 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
1124 Same.
1125 * ppc-linux-nat.c (ppc_register_u_addr): Same.
1126 * rs6000-nat.c (regmap, fetch_inferior_registers)
1127 (store_inferior_registers): Same.
1128
edf61169
JB
1129 * aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
1130 with FPLAST_REGNUM.
1131
58a9656e
JB
11322004-05-03 Joel Brobecker <brobecker@gnat.com>
1133
1134 * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
1135 failure detected by recent versions of GCC.
1136 (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
1137 to be consistent with the usage in dwarf2_create_include_psymtab.
1138
dc305454
MS
11392004-05-03 Michael Snyder <msnyder@redhat.com>
1140
1141 * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
1142 (heuristic_proc_start): Whitespace cleanup.
1143
29972665
MK
11442004-05-04 Mark Kettenis <kettenis@gnu.org>
1145
6b57680d
MK
1146 * sun3-nat.c: Remove file.
1147 * Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
1148 dependencies.
1149 (ALLDEPFILES): Remove sun3-nat.c.
1150 (sun3-nat.o): Remove dependencies.
1151
29972665
MK
1152 * i386-interix-nat.c, i386-interix-tdep.c,
1153 config/i386/nm-interix.h, config/i386/interix.mh,
1154 config/i386/interix.mt: Remove files.
1155 * Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
1156 dependencies.
1157
f595cb19
MK
11582004-05-03 Mark Kettenis <kettenis@gnu.org>
1159
1160 * m68k-tdep.h (struct gdbarch_tdep): Add member
1161 struct_value_regnum.
1162 (m68k_svr4_init_abi): New prototype.
1163 * m68k-tdep.c: Include "floatformat.h". Add comment about all the
1164 different calling conventions.
1165 (m68k_extract_return_value): Remove code dealing with single-field
1166 structs.
1167 (m68k_store_return_value): Remove code dealing with single-field
1168 structs. Correctly store return values of 5, 6, 7 or 8 bytes.
1169 (m68k_extract_struct_value_address): Remove function.
1170 (m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
1171 (m68k_reg_struct_return_p, m68k_return_value)
1172 (m68k_svr4_return_value): New functions.
1173 (m68k_use_struct_convention): Remove function.
1174 (m68k_push_dummy_call): Use new struct_value_regnum member of
1175 `struct gdbarch_tdep' instead of hardcoded register number to
1176 store STRUCT_ADDR.
1177 (m68k_svr4_init_abi): New function.
1178 (m68k_gdbarch_init): Don't set extract_return_value,
1179 store_return_values, deprecated_extract_struct_value_address and
1180 use_struct_convention. Set return_value instead. Initialize new
1181 struct_value_regnum member of `struct gdbarch_tdep'.
1182 * m68klinux-tdep.c: Update copyright year.
1183 (m68k_linux_extract_return_value, m68k_linux_store_return_value)
1184 (m68k_linux_extract_struct_value_address): Remove function.
1185 (m68k_linux_init_abi): Don't set extract_return_value,
1186 store_return_values, deprecated_extract_struct_value_address and
1187 use_struct_convention. Call m68k_svr4_init_abi but override the
1188 new struct_value_regnum member of `struct gdbarch_tdep'.
1189 * Makefile.in (m68k-tdep.o): Update dependencies.
1190
aaa75496
JB
11912004-05-03 J. Brobecker <brobecker@gnat.com>
1192
1193 * dwarf2read.c (line_header): Add new included_p field in
1194 field file_names.
1195 (partial_die_info): New field has_stmt_list. New field line_offset.
1196 (dwarf2_create_include_psymtab): New function.
1197 (dwarf2_build_include_psymtabs): New function.
1198 (add_file_name): Add forward declaration. Initialize new field.
1199 (dwarf_decode_lines): Add new parameter. Enhance this procedure
1200 to be able to determine the list of files included by the
1201 given unit, and build their associated psymtabs.
1202 (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
1203 files as well.
1204 (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
1205 (read_file_scope): Update call to dwarf_decode_lines.
1206 (read_partial_die): Handle DW_AT_stmt_list attributes.
1207
c848556f
MC
12082004-05-02 Michael Chastain <mec.gnu@mindspring.com>
1209
1210 Unfix PR gdb/1626.
1211 * configure.in: Revert special case for osf5.*.
1212 * configure: Regenerate.
1213
eb4556d7
JB
12142004-05-02 Jim Blandy <jimb@redhat.com>
1215
1216 Move the symbol-file-from-memory functions into their own file.
1217 * symfile-mem.c, symfile-mem.h: New files.
1218 * symfile.c (symbol_file_add_from_bfd): New function.
1219 (symbol_file_add): Call symbol_file_add_from_bfd.
1220 (symbol_file_add_from_memory, add_symbol_file_from_memory_command):
1221 Moved to symfile-mem.c.
1222 (_initialize_symfile): Move definition of
1223 add-symbol-file-from-memory command to symfile-mem.c.
1224 * symfile.h (symbol_file_add_from_bfd): New declaration.
1225 * config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
1226 * config/powerpc/linux.mt (TDEPFILES): Same.
1227 * Makefile.in (SFILES): Add symfile-mem.c.
1228 (symfile_mem_h): New variable.
1229 (HFILES_NO_SRCDIR): Add symfile-mem.h.
1230 (symfile-mem.o): New rule.
1231
80bb239e
AC
12322004-05-01 Andrew Cagney <cagney@redhat.com>
1233
7789d0fa
AC
1234 * breakpoint.c (insert_bp_location): Use get_frame_id, and
1235 frame_find_by_id instead of frame_relative_level.
1236 (do_enable_breakpoint): Ditto.
1237 * thread.c: Update copyright.
1238 (info_threads_command): Ditto, simplify.
1239
80bb239e
AC
1240 * frame.c (deprecated_generic_get_saved_register): Delete
1241 function, moved to "xstormy16-tdep.c".
1242 * xstormy16-tdep.c (xstormy16_get_saved_register): Inline
1243 deprecated_generic_get_saved_register from "frame.c".
1244 (xstormy16_frame_saved_register): Call
1245 xstormy16_get_saved_register.
1246 * dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
1247 static.
1248 * dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
1249 * frame.h (deprecated_generic_get_saved_register): Delete.
1250
b2a871dd
MC
12512004-05-01 Michael Chastain <mec.gnu@mindspring.com>
1252
1253 * dwarfread.c: Update documentation on the state of dwarf-1.
1254
0e100dab
AC
12552004-05-01 Andrew Cagney <cagney@redhat.com>
1256
acd8056e
AC
1257 * stack.c (select_frame_command): Delete call to
1258 frame_relative_level.
1259 (print_frame, set_backtrace_limit_command, backtrace_limit_info):
1260 Delete #if0 code.
1261 (frame_info): Do not print FRAMELESS.
1262 (print_block_frame_labels): Replace DEPRECATED_STREQ.
1263 (catch_info): Delete #if0 code.
1264
0e100dab
AC
1265 * frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
1266 * dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
1267 of frame_relative_level.
1268 * sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
1269 to SENTINEL_FRAME.
1270 * frame.h (enum frame_type): Add SENTINEL_FRAME.
1271 * s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
1272 frame_relative_level.
1273
55699d59
AC
1274 * frame.h (deprecated_set_frame_type): Delete declaration.
1275 * frame.c (deprecated_set_frame_type): Delete function, update
1276 comments.
1277
fcf70625
AC
1278 * gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
1279 * gdbarch.h, gdbarch.c: Re-generate.
1280 * shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
1281 (shnbsd_pc_in_sigtramp): Delete.
1282 * i386-interix-tdep.c (i386_interix_init_abi): Do not set
1283 pc_in_sigtramp.
1284 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
1285 pc_in_sigtramp.
1286 * frame.h: Update comments.
1287 * ppc-linux-tdep.c: Update comments.
1288 * breakpoint.c (bpstat_what): Update comments.
1289
ac5eccb7
AC
1290 * Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
1291 m68klinux-tdep.o's dependencies, were previously added to
1292 m68klinux-nat.o.
1293
f2524b93
AC
1294 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
1295 * alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
1296 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
1297 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
1298 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
1299
17e20bce
AC
1300 * Makefile.in (m68klinux-nat.o): Update dependencies.
1301 * m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
1302 (m68k_linux_sigtramp_frame_cache)
1303 (m68k_linux_sigtramp_frame_this_id)
1304 (m68k_linux_sigtramp_frame_prev_register)
1305 (m68k_linux_sigtramp_frame_unwind)
1306 (m68k_linux_sigtramp_frame_sniffer)
1307 (struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
1308 m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
1309 names, use trad-frame.h.
1310 * m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
1311 (struct m68k_sigtramp_info): Delete.
1312 * m68k-tdep.c (m68k_sigtramp_frame_cache)
1313 (m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
1314 (m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
1315 (m68k_gdbarch_init): Delete all the sigtramp code, moved to
1316 "m68klinux-tdep.c".
1317
c8864fa2
AC
1318 * infrun.c (check_sigtramp2): Delete check for
1319 DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.
1320
511dd2cd
MK
13212004-05-01 Mark Kettenis <kettenis@gnu.org>
1322
1323 * m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
1324
8c6b0e06
AC
13252004-05-01 Andrew Cagney <cagney@redhat.com>
1326
9df0bb3f
AC
1327 * frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
1328 (frv_linux_sigtramp_frame_cache)
1329 (frv_linux_sigtramp_frame_this_id)
1330 (frv_linux_sigtramp_frame_prev_register)
1331 (frv_linux_sigtramp_frame_unwind)
1332 (frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
1333 include "linux" in function and variable names, directly call
1334 frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
1335 the latest trad-frame code.
1336 (frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
1337 not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
1338 * Makefile.in (frv-linux-tdep.o): Update dependencies.
1339 * frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
1340 * frv-tdep.c (frv_sigtramp_frame_cache)
1341 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
1342 (frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
1343 frv-linux-tdep.c.
1344 (frv_gdbarch_init): Do not append a sigtramp sniffer.
1345 (struct gdbarch_tdep): Delete sigcontext_reg_addr.
1346 (frv_set_sigcontext_reg_addr): Delete function.
1347
8c6b0e06
AC
1348 * gdbarch.sh (DEPRECATED_SIGTRAMP_START)
1349 (DEPRECATED_SIGTRAMP_END): Delete.
1350 * gdbarch.h, gdbarch.c: Re-generate.
1351 * arch-utils.c (legacy_pc_in_sigtramp): Simplify.
1352 * config/vax/tm-vaxbsd.h: Update copyright.
1353 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
1354 (DEPRECATED_IN_SIGTRAMP): Define.
1355 * config/m68k/tm-nbsd.h: Update copyright.
1356 (DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
1357 (DEPRECATED_IN_SIGTRAMP): Define.
1358
50ea7769
MK
13592004-05-01 Mark Kettenis <kettenis@gnu.org>
1360
03ac2a74
MK
1361 * dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
1362 encondings. Fixes PR gdb/1628.
1363
50ea7769
MK
1364 * dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
1365 DW_CFA_restore state without a matching DW_CFA_remember_state
1366 instead of aborting. Fixes PR backtrace/1589.
1367
9a5d7be1
JB
13682004-04-30 Joel Brobecker <brobecker@gnat.com>
1369
1370 * MAINTAINERS: Add self as AIX maintainer.
1371 Update my e-mail address in write-after-approval section.
1372
2593d1cd
AC
13732004-04-30 Andrew Cagney <cagney@redhat.com>
1374
ce12bbf9
AC
1375 * frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
1376 (legacy_get_prev_frame): Ditto.
1377
36710c63
AC
1378 * mips-tdep.c (mips_pc_in_sigtramp): Delete.
1379 (mips_gdbarch_init): Do not set pc_in_sigtramp.
1380 * mipsread.c (sigtramp_address): Delete extern variable.
1381 (mipscoff_new_init): Delete reference.
1382 * mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
1383 (fixup_sigtramp): Delete function.
1384 * config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
1385 (fixup_sigtramp): Delete declarations.
1386
2593d1cd
AC
1387 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
1388 deprecated_pc_in_sigtramp.
1389 (ppcnbsd_pc_in_sigtramp): Delete function.
1390
2a25f91c
MK
13912004-05-01 Mark Kettenis <kettenis@gnu.org>
1392
1393 * config/m68k/nm-nbsd.h: Tweak comments.
1394 * config/m68k/nm-nbsdaout.h: Likewise.
1395
0b281939
AC
13962004-04-30 Andrew Cagney <cagney@redhat.com>
1397
1398 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Call
1399 legacy_pc_in_sigtramp.
1400 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.
1401
8f2d3ea0
MK
14022004-05-01 Mark Kettenis <kettenis@gnu.org>
1403
1404 Add OpenBSD/m68k support.
1405 * NEWS (New native configurations): Mention OpenBSD/m68k.
1406 * m68kbsd-tdep.c: New file.
1407 * m68kbsd-nat.c: New file.
1408 * Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
1409 (m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
1410 * configure.host: Add m68k-*-openbsd.
1411 * configure.tgt: Add m68k-*-openbsd.
1412 * config/m68k/tm-obsd.h: New file.
1413 * config/m68k/obsd.mt: New file.
1414 * config/m68k/obsd.mh: New file.
1415 * config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
1416 m68kbsd-tdep.c.
1417
c40f49a4
AC
14182004-04-30 Andrew Cagney <cagney@redhat.com>
1419
1420 * mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
1421 (mipsnbsd_init_abi): Do not set pc_in_sigtramp.
1422
e81554cd
MK
14232004-04-30 Mark Kettenis <kettenis@gnu.org>
1424
1425 * m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
1426 * config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.
1427
d4dc1a91
BF
14282004-04-30 Brian Ford <ford@vss.fsi.com>
1429
1430 Revert 2004-04-16 change.
1431 * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
1432 (i386_coff_init_abi): Remove.
1433 * i386-tdep.h (i386_coff_init_abi): Remove.
1434 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
1435
2f72f850
AC
14362004-04-30 Andrew Cagney <cagney@redhat.com>
1437
e492f9d6
AC
1438 * blockframe.c (find_pc_partial_function): Delete use of
1439 DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
1440 DEPRECATED_SIGTRAMP_END.
1441
7b7adad0
AC
1442 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
1443 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
1444 * config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
1445 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
1446 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.
1447
2f72f850
AC
1448 * defs.h (deprecated_inside_entry_file): Delete declaration.
1449 * blockframe.c (deprecated_inside_entry_file): Delete function.
1450 (legacy_frame_chain_valid): Delete call.
1451 * sh64-tdep.c (sh64_frame_chain): Delete call.
1452 * objfiles.h: Update comments.
1453 * i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
1454 call.
1455 * frame.c (get_prev_frame): Delete call, update comments.
1456
283f90a7
BF
14572004-04-30 Brian Ford <ford@vss.fsi.com>
1458
1459 * MAINTAINERS (Write After Approval): Add myself.
1460
8ee56bcf
AC
14612004-04-30 Andrew Cagney <cagney@redhat.com>
1462
1463 * gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
1464 * gdbarch.h, gdbarch.c: Re-generate.
1465 * stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
1466 code.
1467
ee27e1b6
AC
14682004-04-30 Andrew Cagney <cagney@redhat.com>
1469
1470 * gdb-events.sh (selected_thread_changed)
1471 (selected_frame_level_changed, target_changed): Delete.
1472 * gdb-events.h, gdb-events.c: Re-generate.
1473 * valops.c (value_assign): Update.
1474 * stack.c (select_frame_command, up_silently_base)
1475 (down_silently_base): Update.
1476
d5ac5a39
AC
14772004-04-29 Andrew Cagney <cagney@redhat.com>
1478
1479 * mips-tdep.c (mips_register_type): Re-write, handle 32-bit ABI
1480 registers correctly.
1481 (print_gp_register_row, mips32_heuristic_proc_desc)
1482 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call)
1483 (mips_o64_push_dummy_call, mips_eabi_push_dummy_call): Eliminate
1484 references to mips_isa_regsize.
1485
ceae6e75
AC
14862004-04-29 Andrew Cagney <cagney@redhat.com>
1487
1488 * mips-tdep.c (struct gdbarch_tdep): Delete
1489 mips_fp_register_double.
1490 (FP_REGISTER_DOUBLE): Delete macro, replace with test for
1491 mips_abi_regsize.
1492 (mips_gdbarch_init): Do not set mips_fp_register_double.
1493 (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
1494
a587af0b
AC
14952004-04-29 Joel Brobecker <brobecker@gnat.com>
1496
1497 Committed by Andrew Cagney.
1498 * infrun.c (handle_inferior_event): Rely on frame IDs to detect
1499 function calls.
1500
13326b4e
AC
15012004-04-29 Andrew Cagney <cagney@redhat.com>
1502
1503 * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
1504 gdbarch, use mips_abi, update callers.
1505 (mips_stack_argsize): Replace tdep parameter with gdbarch, use
1506 mips_abi_regsize, update callers.
1507 (struct gdbarch_tdep): Delete mips_default_stack_argsize and
1508 mips_default_abi_regsize.
1509 (mips_gdbarch_init): Do not set mips_default_stack_argsize and
1510 mips_default_abi_regsize.
1511
711cc5cd
AC
15122004-04-29 Andrew Cagney <cagney@redhat.com>
1513
1b13c4f6
AC
1514 * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
1515 (mips_abi_regsize_string): Rename mips_saved_regsize_string.
1516 (struct gdbarch_tdep): Rename mips_default_saved_regsize to
1517 mips_default_abi_regsize.
1518 (mips_isa_regsize): Rename mips_regisze.
1519 * mipsnbsd-tdep.c: Update.
1520 * mips-linux-tdep.c: Update.
1521 * irix5-nat.c: Update.
1522 * mips-tdep.h (mips_isa_regsize): Update.
1523
711cc5cd
AC
1524 * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
1525 Delete all disabled code.
1526 * gdb-events.h, gdb-events.c: Re-generate.
1527
e63bbc88
MK
15282004-04-19 Jerome Guitton <guitton@gnat.com>
1529 Mark Kettenis <kettenis@gnu.org>
1530
1531 * i386-tdep.c (i386_skip_prologue): follow the last jump only if
1532 the function begins with a branch instruction.
1533
fd35795f
MK
15342004-04-29 Mark Kettenis <kettenis@gnu.org>
1535
1536 * i386-tdep.c: Fix spelling mistakes.
1537
c960c18f
AC
15382004-04-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1539 Andrew Cagney <cagney@redhat.com>
1540
1541 * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
1542 <sys/proc.h>.
1543 * acconfig.h: Provide default _KMEMUSER value.
1544 * config.in, configure: Re-generate.
1545 * NEWS: Mention fix.
1546
50306a9d
RC
15472004-04-24 Randolph Chung <tausq@debian.org>
1548
1549 * configure.host (hppa*-*-linux*): New target.
1550 * configure.tgt (hppa*-*-linux*): Likewise.
1551 * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
1552 gdbarch_init_osabi() call earlier so that osabi-specific frame
1553 unwinders can be registered first.
1554 * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
1555 hppa-linux-nat.c.
1556 * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
1557 (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
1558 * config/pa/linux.mh: New file.
1559 * config/pa/linux.mt: New file.
1560 * config/pa/nm-linux.h: New file.
1561 * config/pa/xm-linux.h: New file.
1562 * hppa-linux-nat.c: New file.
1563 * hppa-linux-tdep.c: New file.
1564
2a6228ef
RC
15652004-04-28 Randolph Chung <tausq@debian.org>
1566
1567 * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
1568 return values.
1569 (hppa32_push_dummy_call): Fix small struct and floating point argument
1570 passing, and make sure the stack frame is properly aligned.
1571
82c10df6
AC
15722004-04-28 Andrew Cagney <cagney@redhat.com>
1573
d762c46a
AC
1574 * stack.c (print_stack_frame): Fix description.
1575
82c10df6
AC
1576 * NEWS: Mention gdb/gdbserver/configure execute permission
1577 changed. PR server/519.
1578
0faf0076
AC
15792004-04-28 Andrew Cagney <cagney@redhat.com>
1580
1581 * stack.c (print_stack_frame_stub): Delete declaration.
1582 (struct print_stack_frame_args, print_stack_frame)
1583 (print_frame_info, print_frame): Replace "source" with print what.
1584 Replace "print" with "print_level". Replace "args" with
1585 "print_args".
1586 * frame.h (show_and_print_stack_frame, print_stack_frame)
1587 (print_frame_info): Update declarations.
1588 * stack.c (select_and_print_frame, frame_command)
1589 (current_frame_command, up_command, down_command): Update calls -
1590 use get_selected_frame, pass "enum print_what" for source, do not
1591 call frame_relative_level.
1592 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
1593 * remote-rdp.c (remote_rdp_open): Ditto.
1594 * remote-mips.c (common_open): Ditto.
1595 * remote-e7000.c (e7000_start_remote): Ditto.
1596 * ocd.c (ocd_start_remote): Ditto.
1597 * mi/mi-main.c (mi_cmd_exec_return): Ditto.
1598 * infrun.c (normal_stop): Ditto.
1599 * inflow.c (kill_command): Ditto.
1600 * infcmd.c (finish_command): Ditto.
1601 * corelow.c (core_open): Ditto.
1602 * tracepoint.c (finish_tfind_command): Ditto.
1603 * thread.c (info_threads_command, info_threads_command)
1604 (restore_current_thread, do_captured_thread_select): Ditto.
1605 * ada-tasks.c (task_command): Ditto.
1606
f4c5303c
OF
16072004-04-26 Orjan Friberg <orjanf@axis.com>
1608
1609 * frame.c: Include "observer.h".
1610 (frame_observer_target_changed): New function.
1611 (_initialize_frame): Attach target_changed observer.
1612 * regcache.c: Include "observer.h".
1613 (regcache_observer_target_changed): New function.
1614 (_initialize_regcache): Attach target_changed observer.
1615 * valops.c: Include "observer.h".
1616 (value_assign): Notify target_changed event when modifying register.
1617 * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
1618
7270d8f2
OF
16192004-04-26 Orjan Friberg <orjanf@axis.com>
1620
1621 From Paul Koning <pkoning@equallogic.com>:
1622 * breakpoint.c (free_valchain): New function.
1623 (insert_bp_location, delete_breakpoint): Use free_valchain.
1624 (remove_breakpoint): Do not remove the valchain.
1625 (bpstat_stop_status): If not stopped by watchpoint, skip
1626 watchpoints when generating stop status list.
1627 * infrun.c (handle_inferior_event): Make
1628 stepped_after_stopped_by_watchpoint a global variable.
1629 * remote.c (remote_stopped_data_address): Return watch data
1630 address rather than zero if stepped_after_stopped_by_watchpoint is
1631 set.
1632
02d62932
MC
16332004-04-25 Michael Chastain <mec.gnu@mindspring.com>
1634
1635 Fix PR gdb/1626.
1636 * configure.in: Check for curses after termcap.
1637 On osf5.*, do not check for ncurses.
1638 * configure: Regenerate.
1639
3e9a183c
MK
16402004-04-25 Mark Kettenis <kettenis@gnu.org>
1641
c79ac407
MK
1642 * ppcobsd-nat.c: Include "ppc-tdep.h".
1643 * Makefile.in (ppcobsd-nat.o): Update dependencies.
1644
3e9a183c
MK
1645 * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
1646 Fixes PR tdep/1623 and PR tdep/1624.
1647
38cc9c28
MC
16482004-04-24 Michael Chastain <mec.gnu@mindspring.com>
1649
1650 * xmodem.h, xmodem.c: Remove files.
1651 * Makefile.in: Remove references to xmodem.h, xmodem.c.
1652
7f07c5b6
RC
16532004-04-23 Randolph Chung <tausq@debian.org>
1654
1655 * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
1656 (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
1657 (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
1658 for handling stackless frames.
1659 (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer.
1660
9f7194c3
RC
16612004-04-23 Randolph Chung <tausq@debian.org>
1662
1663 * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
1664 starts at a pc before the frame is created.
1665
dcff6009
JB
16662004-04-23 Joel Brobecker <brobecker@gnat.com>
1667
1668 * ChangeLog-2002: Fix year in one of the ChangeLog entries.
1669
65951cd9
JG
16702004-04-23 Jerome Guitton <guitton@gnat.fr>
1671
1672 * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
1673 use convert_typed_floating to get the appropriate format.
1674
abc485a1
RC
16752004-04-22 Randolph Chung <tausq@debian.org>
1676
1677 * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
1678 (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
1679 (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
1680 (hppa_sign_extend): Add prototype.
1681 * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
1682 (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
1683 (sign_extend): Rename with hppa_ prefix and make non-static. Other
1684 hppa targets will also use these functions.
1685 (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
1686 (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
1687 (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
1688 (hppa_gdbarch_init): Remove gdbarch setting of
1689 skip_trampoline_code, in_solib_call_trampoline and
1690 in_solib_return_trampoline.
1691 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
1692 (hppa64_hpux_in_solib_call_trampoline): New functions, split from
1693 hppa_in_solib_call_trampoline.
1694 (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
1695 Moved from hppa-tdep.c.
1696 (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code,
1697 in_solib_call_trampoline and in_solib_return_trampoline.
1698
369aa520
RC
16992004-04-22 Randolph Chung <tausq@debian.org>
1700
1701 * hppa-tdep.c (hppa_debug): New variable.
1702 (find_unwind_entry, hppa_frame_cache): Add debug output.
1703 (_initialize_hppa_tdep): Add command to set debug flag.
1704
476be15e
AC
17052004-04-22 Andrew Cagney <cagney@redhat.com>
1706
1707 * ppcnbsd-tdep.c: Update copyright. Include "tramp-frame.h" and
1708 "trad-frame.h".
1709 (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
1710 signal trampoline unwinder.
1711 (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
1712
d195bc9f
MK
17132004-04-22 Mark Kettenis <kettenis@gnu.org>
1714
1715 Add OpenBSD/powerpc support.
1716 * NEWS (New native configurations): Mention OpenBSD/powerpc.
1717 * ppc-tdep.h (struct ppc_reg_offsets): New structure.
1718 (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
1719 (ppc_collect_fpregset): New prototypes.
1720 * ppcobsd-nat.c: New file.
1721 * ppcobsd-tdep.c: New file.
1722 * ppcobsd-tdep.h: New file.
1723 * rs6000-tdep.c: Include "regset.h".
1724 (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
1725 (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
1726 New functions.
1727 * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
1728 (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
1729 (rs6000-tdep.o): Update dependencies.
1730 * configure.host: Add powerpc-*-openbsd.
1731 * configure.tgt: Add powerpc-*-openbsd.
1732 * config/powerpc/obsd.mh: New file.
1733 * config/powerpc/nm-obsd.h: New file.
1734 * config/powerpc/obsd.mt: New file.
1735
6f14cc33
AC
17362004-04-22 Andrew Cagney <cagney@redhat.com>
1737
fcf29e5f
AC
1738 * frame.h (show_frame_info): Delete declaration.
1739
6f14cc33
AC
1740 * arm-tdep.c (arm_prologue_this_id): Delete redundant cycle test.
1741 * m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
1742 * m32r-tdep.c (m32r_frame_this_id): Ditto.
1743 * frv-tdep.c (frv_frame_this_id): Ditto.
1744 * avr-tdep.c (avr_frame_this_id): Ditto.
1745
e5786a5c
EZ
17462004-04-22 Elena Zannoni <ezannoni@redhat.com>
1747
1748 * MAINTAINERS: Drop maintenance of gdb.stabs, and linespec.c.
1749
26e75e5c
JB
17502004-04-22 Jim Blandy <jimb@redhat.com>
1751
1752 * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
1753 register number zero.
1754
d8d65dd3
MS
17552004-04-21 Michael Snyder <msnyder@redhat.com>
1756
1757 * mips-tdep.c (heuristic_proc_start):
1758 Warning() already prefixes "Warning: ".
1759
9a4105ab
AC
17602004-04-21 Andrew Cagney <cagney@redhat.com>
1761
1762 * annotate.h (deprecated_annotate_starting_hook)
1763 (deprecated_annotate_stopped_hook)
1764 (deprecated_annotate_exited_hook)
1765 (deprecated_annotate_signal_hook)
1766 (deprecated_annotate_signalled_hook): Deprecate.
1767 * tracepoint.h (deprecated_create_tracepoint_hook)
1768 (deprecated_delete_tracepoint_hook)
1769 (deprecated_modify_tracepoint_hook)
1770 (deprecated_trace_find_hook)
1771 (deprecated_trace_start_stop_hook): Deprecate.
1772 * target.h (deprecated_target_new_objfile_hook): Deprecate.
1773 * remote.h (deprecated_target_resume_hook)
1774 (deprecated_target_wait_loop_hook): Deprecate.
1775 * gdbcore.h (deprecated_exec_file_display_hook)
1776 (deprecated_file_changed_hook): Deprecate.
1777 * frame.h (deprecated_selected_frame_level_changed_hook): Deprecate.
1778 * defs.h (deprecated_modify_breakpoint_hook)
1779 (deprecated_command_loop_hook, deprecated_show_load_progress)
1780 (deprecated_print_frame_info_listing_hook)
1781 (deprecated_query_hook, deprecated_warning_hook)
1782 (deprecated_flush_hook, deprecated_create_breakpoint_hook)
1783 (deprecated_delete_breakpoint_hook)
1784 (deprecated_interactive_hook, deprecated_registers_changed_hook)
1785 (deprecated_readline_begin_hook, deprecated_readline_hook)
1786 (deprecated_readline_end_hook, deprecated_register_changed_hook)
1787 (deprecated_memory_changed_hook, deprecated_init_ui_hook)
1788 (deprecated_context_hook, deprecated_target_wait_hook)
1789 (deprecated_attach_hook, deprecated_detach_hook)
1790 (deprecated_call_command_hook, deprecated_set_hook)
1791 (deprecated_error_hook, deprecated_error_begin_hook)
1792 (deprecated_ui_load_progress_hook): Deprecate.
1793 * valops.c, uw-thread.c, utils.c, tui/tui-io.c: Update.
1794 * tui/tui-hooks.c, tracepoint.c, top.c, thread-db.c: Update.
1795 * target.c, symfile.c, stack.c, sol-thread.c, rs6000-nat.c: Update.
1796 * remote.c, remote-mips.c, regcache.c, mi/mi-interp.c: Update.
1797 * main.c, interps.c, infcmd.c, hpux-thread.c, frame.c: Update.
1798 * exec.c, dsrec.c, d10v-tdep.c, corefile.c, complaints.c: Update.
1799 * cli/cli-script.c, cli/cli-setshow.c, breakpoint.c: Update.
1800 * annotate.c, aix-thread.c: Update.
1801
62cf13cc
AC
18022004-04-21 Andrew Cagney <cagney@redhat.com>
1803
b2e31a62
AC
1804 * Makefile.in (vaxnbsd-tdep.o): Update dependencies.
1805 * vaxnbsd-tdep.c: Include "gdb_string.h".
1806
62cf13cc
AC
1807 * symfile.c (symbol_file_add_from_memory): #if 0 function.
1808 (add_symbol_file_from_memory_command): #if 0 function body, call
1809 error instead.
1810
00e32a35
AC
18112004-04-21 Andrew Cagney <cagney@redhat.com>
1812
1813 * gdbcore.h: Update copyright.
1814 (deprecated_add_core_fns): Rename add_core_fns.
1815 * win32-nat.c (_initialize_core_win32): Update.
1816 * sun3-nat.c (_initialize_core_sun3): Update.
1817 * shnbsd-tdep.c (_initialize_shnbsd_tdep): Update.
1818 * rs6000-nat.c (_initialize_core_rs6000): Update.
1819 * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Update.
1820 * nto-tdep.c (_initialize_nto_tdep): Update.
1821 * ns32knbsd-nat.c (_initialize_ns32knbsd_nat): Update.
1822 * mipsnbsd-tdep.c (_initialize_mipsnbsd_tdep): Update.
1823 * mips-nat.c (_initialize_core_mips): Update.
1824 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
1825 * m68knbsd-nat.c (_initialize_m68knbsd_nat): Update.
1826 * m68klinux-nat.c (_initialize_m68k_linux_nat): Update.
1827 * lynx-nat.c (_initialize_core_lynx): Update.
1828 * irix5-nat.c (_initialize_core_irix5): Update.
1829 * i386-interix-nat.c (_initialize_core_interix): Update.
1830 * cris-tdep.c (_initialize_cris_tdep): Update.
1831 * corelow.c (deprecated_add_core_fns): Update.
1832 * core-regset.c (_initialize_core_regset): Update.
1833 * core-aout.c (_initialize_core_aout): Update.
1834 * armnbsd-nat.c (_initialize_arm_netbsd_nat): Update.
1835 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Update.
1836 * alpha-nat.c (_initialize_core_alpha): Update.
1837
13c7b1ca
JB
18382004-04-21 Jim Blandy <jimb@redhat.com>
1839
1840 * rs6000-tdep.c (registers_e500, registers_7400): Doc fixes.
1841
7b5a2f43
DJ
18422004-04-19 Daniel Jacobowitz <drow@mvista.com>
1843
1844 * dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
1845 Delete.
1846 (dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
1847 (read_attribute_value): Update calls to dwarf_alloc_block.
1848 (dwarf2_build_psymtabs_hard): Don't initialize or clean up
1849 dwarf2_tmp_obstack.
1850 (psymtab_to_symtab_1): Likewise. Clean up using
1851 free_stack_comp_unit.
1852 (add_to_cu_func_list): Use the comp_unit_obstack.
1853
05cf31d1
JB
18542004-04-19 Joel Brobecker <brobecker@gnat.com>
1855
1856 * dwarf2read.c (dwarf2_flag_true_p): New function.
1857 (die_is_declaration): Use the function above. Add some comments.
1858
adf93a2f
MK
18592004-04-19 Mark Kettenis <kettenis@gnu.org>
1860
1861 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
1862 architecture when registering sparcnbsd_core_osabi_sniffer.
1863 Adjust comment.
1864
748894bf
MK
18652004-04-18 Mark Kettenis <kettenis@gnu.org>
1866
f622ad42
MK
1867 * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
1868 return value.
1869
c4fc7f1b
MK
1870 Based on a patch from Brian Ford <ford@vss.fsi.com>:
1871 * i386-tdep.c: Correct register numbering scheme comments
1872 throughout.
1873 (i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
1874 (i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
1875 (i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
1876 (i386_gdb_arch_init): Likewise.
1877
b4ead1bd
MK
1878 * Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
1879 and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
1880 ppcnbsd-tdep.o.
1881
748894bf
MK
1882 * m68k-tdep.h: Tweak comments.
1883 * m68k-tdep.c: Tweak comment.
1884
fdd72f95
RC
18852004-04-17 Randolph Chung <tausq@debian.org>
1886
1887 * Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
1888 * hppa-hpux-tdep.c (hppa-tdep.h): Include.
1889 (hppa_hpux_som_init_abi): Set is_elf to 0.
1890 (hppa_hpux_elf_init_abi): Set is_elf to 1.
1891 * hppa-tdep.c (low_text_segment_address): Remove global.
1892 (record_text_segment_lowaddr): Pass in low address as parameter. Use
1893 section offset to calculate segment address.
1894 (internalize_unwinds): Define low_text_segment_address as local and
1895 pass to record_text_segment_lowaddr for ELF targets.
1896 (hppa_gdbarch_init): Zero fill tdep structure.
1897 (hppa_dump_tdep): Print tdep structure.
1898 * hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
1899
0f8d9d59
RC
19002004-04-17 Randolph Chung <tausq@debian.org>
1901
1902 * hppa-tdep.c (hppa_pseudo_register_read): Define.
1903 (hppa_gdbarch_init): Set pseudo_register_read.
1904 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
1905 * regcache.c (supply_register): Remove check for
1906 DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
1907
7c46b9fb
RC
19082004-04-17 Randolph Chung <tausq@debian.org>
1909
1910 * Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
1911 * hppa-tdep.h (INSTRUCTION_SIZE): Move from tm-hppa.h.
1912 (hpread_adjust_stack_address): Move to hpread.c.
1913 * hppa-tdep.h (unwind_table_entry, unwind_stub_types, obj_unwind_info,
1914 obj_private_struct): Move from tm-hppa.h.
1915 * hpread.c (hppa-tdep.h): Include.
1916 (hpread_adjust_stack_address): Move from hppa-tdep.c.
1917 (hpread_read_function_type, hpread_read_doc_function_type)
1918 (hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
1919 directly.
1920 * pa64solib.c (hppa-tdep.h): Include.
1921 * somsolib.c (hppa-tdep.h): Include.
1922 * config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type,
1923 inferior_status): Remove unused forward declarations.
1924 (INSTRUCTION_SIZE): Move to hppa-tdep.c.
1925 (unwind_table_entry, unwind_stub_types, obj_unwind_info,
1926 obj_private_struct): Move to hppa-tdep.h.
1927 (HPREAD_ADJUST_STACK_ADDRESS): Remove.
1928
8d153463
RC
19292004-04-17 Randolph Chung <tausq@debian.org>
1930
1931 * hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
1932 (hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
1933 (hppa_in_solib_return_trampoline, hppa_cannot_store_register)
1934 (hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
1935 Remove forward declaration and make static.
1936 (hppa_reg_struct_has_addr): Remove.
1937
350c2e5b
JB
19382004-04-16 Joel Brobecker <brobecker@gnat.com>
1939
1940 * observer.sh: Move comments in sed command to first column.
1941
bbde78fa
JM
19422004-04-16 Jason Molenda (jmolenda@apple.com)
1943
1944 * frame.c: Minor typeo corrections in comments.
1945
e0270fd9
JB
19462004-04-16 Joel Brobecker <brobecker@gnat.com>
1947
1948 * observer.c (observer_test_first_notification_function): Update
1949 function profile.
1950 (observer_test_second_notification_function): Likewise.
1951 (observer_test_third_notification_function): Likewise.
1952
3d049254
MK
19532004-04-16 Mark Kettenis <kettenis@gnu.org>
1954
1955 From Brian Ford <ford@vss.fsi.com>:
1956 * i386-tdep.c (i386_coff_init_abi): New function.
1957 * i386-tdep.h (i386_coff_init_abi): New prototype.
1958 * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
1959 register number translation functions for DWARF and DWARF 2.
1960
7867684d
JB
19612004-04-16 Joel Brobecker <brobecker@gnat.com>
1962
1963 * dwarf2read.c: Back out my previous change, it was incorrect.
1964
72bf9492
DJ
19652004-04-16 Daniel Jacobowitz <drow@mvista.com>
1966
1967 * dwarf2read.c: Include "hashtab.h".
1968 (struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
1969 has_namespace_info.
1970 (struct partial_die_info): Add comments. Use bitfields to reduce
1971 memory footprint. Add scope, scope_set, has_specification,
1972 spec_offset, die_parent, die_child, and die_sibling.
1973 (peek_die_abbrev): Add prototype.
1974 (partial_read_comp_unit_head): New function, broken out from
1975 dwarf2_build_psymtabs_hard.
1976 (dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
1977 Use partial_read_comp_unit_head. Initialize the CU and
1978 comp_unit_obstack. Update calls to read_partial_die and
1979 scan_partial_symbols. Use free_stack_comp_unit and
1980 load_partial_dies.
1981 (scan_partial_symbols): Change PDI to a pointer. Use the child and
1982 sibling pointers to walk partial DIEs. Call fixup_partial_die.
1983 Update calls to helper functions. Remove NAMESPACE argument.
1984 Update comments.
1985 (partial_die_parent_scope, partial_die_full_name): New functions.
1986 (add_partial_symbol): Remove namespace argument. Update call to
1987 pdi_needs_namespace. Use partial_die_full_name. Handle
1988 DW_TAG_namespace. Check has_namespace_info flag.
1989 (pdi_needs_namespace): Remove NAMESPACE argument. Just check the
1990 tag. Handle namespaces.
1991 (add_partial_namespace, add_partial_enumeration): Simplify.
1992 (guess_structure_name): New function, derived from
1993 add_partial_structure.
1994 (add_partial_structure): Remove.
1995 (determine_class_name): Update comment.
1996 (dwarf2_read_abbrevs): Set has_namespace_info flag.
1997 (is_type_tag_for_partial, load_partial_dies): New functions.
1998 (read_partial_die): Pass abbrev and abbrev_len as arguments.
1999 Record specifications instead of following them immediately.
2000 (find_partial_die_in_comp_unit, find_partial_die)
2001 (fixup_partial_die, free_stack_comp_unit)
2002 (hashtab_obstack_allocate, dummy_obstack_deallocate)
2003 (partial_die_hash, partial_die_eq): New functions.
2004 * Makefile.in (hashtab_h): Define.
2005 (dwarf2read.o): Update dependencies.
2006 (observer_inc, observer_h): Move to the correct section.
2007
fdc860a3
JB
20082004-04-15 Joel Brobecker <brobecker@gnat.com>
2009
2010 * dwarf2read.c (dwarf2_attribute_true_p): New function.
2011 (die_is_declaration): Use the function above. Add comment.
2012
dc718098
JB
20132004-04-15 Joel Brobecker <brobecker@gnat.com>
2014
2015 * dwarf2read.c (read_structure_scope): Identify stub types
2016 using die_is_declaration() only.
2017
8718a420
RM
20182004-04-15 Roland McGrath <roland@redhat.com>
2019
2020 * symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
2021 argument instead of NAME.
2022 (symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
2023 in call to symbol_file_add_with_addrs_or_offsets.
2024 (build_addr_info): New function, helper for ...
2025 (symbol_file_add_from_memory): New function.
2026 (add_symbol_file_from_memory_command): New function using that.
2027 (_initialize_symfile): Register it for add-symbol-file-from-memory.
2028 (pre_add_symbol_hook): Add const to argument type.
2029 * symfile.h (symbol_file_add_from_memory): Declare it.
2030
8b910bab
MK
20312004-04-15 Mark Kettenis <kettenis@gnu.org>
2032
9f076e7a
MK
2033 * NEWS (New native configurations): Mention OpenBSD/vax.
2034 * configure.host: Add vax-*-openbsd*.
2035 * config/vax/obsd.mh: New file.
2036 * config/vax/nm-obsd.h: New file.
2037
8b910bab
MK
2038 * vax-tdep.c: Include "regset.h".
2039 (vax_supply_gregset): New function.
2040 (vax_gregset): New variable.
2041 (vax_regset_from_core_section): New function.
2042 (vax_gdbarch_init): Set regset_from_core_section.
2043 * Makefile.in (vax-tdep.o): Update dependencies.
2044
7a464420
AC
20452004-04-15 Andrew Cagney <cagney@redhat.com>
2046
2047 * observer.c (normal_stop_subject, observer_notify_normal_stop)
2048 (observer_normal_stop_notification_stub)
2049 (observer_attach_normal_stop, observer_detach_normal_stop):
2050 Delete, replaced by #include "observer.inc".
2051 * infrun.c (normal_stop): Pass "stop_bpstat" to
2052 observer_notify_normal_stop.
2053 * Makefile.in (observer_inc): Define.
2054 (observer.o): Update dependencies.
2055 (observer.h, observer.inc): New rules.
2056 * observer.h: Delete file.
2057 * observer.sh: New file.
2058
e36ad527
MK
20592004-04-15 Mark Kettenis <kettenis@gnu.org>
2060
2061 * vax-tdep.c (vax_frame_cache): Fix typo.
2062
67b441e1
MK
20632004-04-14 Mark Kettenis <kettenis@gnu.org>
2064
6f606e1c
MK
2065 * NEWS (New native configurations): Mention NetBSD/vax.
2066 * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*.
2067 * config/vax/nbsdelf.mh: New file.
2068 * config/vax/nbsdaout.mh: New file.
2069 * config/vax/nm-nbsd.h: New file.
2070 * config/vax/nm-nbsdaout.h: New file.
2071
9c5519a5
MK
2072 * vaxnbsd-tdep.c: New file.
2073 * Makefile.in (vaxnbsd-tdep.o): New dependency.
2074 * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*.
2075 * config/vax/nbsd.mt: New file.
2076 * config/vax/tm-nbsd.h: New file.
2077
4844a614
MK
2078 * Makefile.in (vaxbsd-nat.o): New dependency.
2079
67b441e1
MK
2080 * vax-tdep.h (vax_regnum): Add VAX_R0_REGNUM and VAX_R1_REGNUM.
2081 * vax-tdep.c (vax_store_arguments): Remove struct_return and
2082 struct_addr arguments. Don't push return value address.
2083 (vax_push_dummy_call): Don't pass STRUCT_RETURN and STRUCT_ADDR as
2084 arguments to vax_store_arguments. Store return value address in
2085 R1.
2086 (vax_store_struct_return, vax_extract_return_value)
2087 (vax_store_return_value): Remove functions.
2088 (vax_return_value): New function.
2089 (vax_gdbarch_init): Set return value. Don't set
2090 deprecated_store_struct_return, deprecated_extract_struct_return
2091 and deprecated_store_return_value.
2092
6672f2ae
AS
20932004-04-14 Andreas Schwab <schwab@suse.de>
2094
2095 * ia64-tdep.c (ia64_libunwind_frame_prev_register): Handle null
2096 value buffer.
2097 * libunwind-frame.c (libunwind_frame_prev_register): Likewise.
2098
7346c184
MK
20992004-04-14 Mark Kettenis <kettenis@gnu.org>
2100
2101 * vax-tdep.c (vax_store_arguments, vax_push_dummy_call)
2102 (vax_unwind_dummy_id): New functions.
2103 (vax_push_dummy_frame, vax_pop_frame): Remove functions.
2104 (vax_call_dummy_words, sizeof_vax_call_dummy_words): Remove
2105 variables.
2106 (vax_fix_call_dummy): Remove function.
2107 (vax_gdbarch_init): Set push_dummy_call and unwind_dummy_id.
2108 Don't set deprecated_push_dummy_frame, deprecated_pop_frame,
2109 call_dummy_location, deprecated_call_dummy_words,
2110 deprecated_sizeof_call_dummy_words,
2111 deprecated_call_dummy_breakpoint_offset,
2112 deprecated_use_generic_dummy_frames, deprecated_pc_in_call_dummy,
2113 and deprecated_dummy_write_sp.
2114
58e23df4
DC
21152004-04-13 David Carlton <carlton@kealia.com>
2116
2117 * MAINTAINERS: Move myself to "paper trail" section.
2118
5e6b39ff
MK
21192004-04-12 Mark Kettenis <kettenis@gnu.org>
2120
7def7fef
MK
2121 * vax-tdep.c: Include "frame-base.h", "frame-unwind.h" and
2122 "trad-frame.h".
2123 (vax_frame_init_saved_regs): Remove function.
2124 (vax_sigtramp_saved_pc): Remove function.
2125 (vax_frame_saved_pc): Remove function.
2126 (vax_frame_args_address): Remove function.
2127 (vax_frame_num_args): Rewrite.
2128 (vax_frame_chain): Remove function.
2129 (vax_push_dummy_frame): Replace DEPRECATED_FP_REGNUM with
2130 VAX_FP_REGNUM.
2131 (vax_pop_frame): Likewise.
2132 (vax_saved_pc_after_call): Remove function.
2133 (struct vax_frame_cache): New structure.
2134 (vax_frame_cache): New function.
2135 (vax_frame_this_id): New function.
2136 (vax_frame_prev_register): New function.
2137 (vax_frame_unwind): New variable.
2138 (vax_frame_sniffer): New function.
2139 (vax_frame_base_address): New function.
2140 (vax_frame_args_address): New function.
2141 (vax_frame_base): New variable.
2142 (vax_unwind_pc): New function.
2143 (vax_gdbarch_init): Don't set deprecated_init_frame_pc,
2144 deprecated_fp_regnum, deprecated_saved_pc_after_call,
2145 deprecated_frame_chain, deprecated_frame_saved_pc,
2146 deprecated_frame_args_address and
2147 deprecated_frame_init_saved_regs.
2148 * Makefile.in (vax-tdep.o): Update dependencies.
2149
53284fc1
MK
2150 * vaxbsd-nat.c: New file.
2151
5e6b39ff
MK
2152 * vax-tdep.h: Update copyright year. Adjust comments.
2153 (VAX_REGISTER_SIZE, VAX_REGISTER_BYTES, VAX_MAX_REGISTER_RAW_SIZE,
2154 VAX_MAX_REGISTER_VIRTUAL_SIZE): Remove macros.
2155 (vax_regnum): New enum. Replacing...
2156 (VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_SP_REGNUM, VAX_PC_REGNUM)
2157 (VAX_PS_REGNUM): ... these removed macros.
2158 * vax-tdep.c (vax_register_name): Remove prototype.
2159 (vax_register_name): Reorganize somewhat. Use ARRAY_SIZE.
2160 (vax_register_byte, vax_register_raw_size,
2161 vax_register_virtual_size, vax_register_virtual_type): Remove
2162 functions.
2163 (vax_register_type): New function.
2164 (vax_breakpoint_from_pc): Reorganize.
2165 (vax_gdbarch_init): Set register_type. Don't set
2166 deprecated_register_size, deprecated_register_bytes,
2167 deprecated_register_byte, deprecated_register_raw_size,
2168 deprecated_max_register_raw_size,
2169 deprecated_register_virtual_size,
2170 deprecated_max_register_virtual_size and
2171 deprecated_register_virtual_type. Add comment on stack direction.
2172
e9c71e9f
MK
21732004-04-11 Mark Kettenis <kettenis@gnu.org>
2174
2175 * amd64-tdep.h (amd64_regnum): Add AMD64_CS_REGNUM,
2176 AMD64_SS_REGNUM, AMD64_DS_REGNUM, AMD64_ES_REGNUM,
296bc76f 2177 AMD64_FS_REGNUM and AMD64_GS_REGNUM.
e9c71e9f 2178
d46f1176 21792004-04-10 Randolph Chung <tausq@debian.org>
8718a420 2180
d46f1176
RC
2181 * MAINTAINERS (write after approval): Add myself.
2182
a2a84a72
RC
21832004-04-07 Randolph Chung <tausq@debian.org>
2184
2185 * hppa-tdep.c (hppa_inner_than): Remove.
2186 (is_pa_2): Remove unused static variable.
8718a420 2187 (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
a2a84a72 2188
e85c3284
PH
21892004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
2190
2191 * language.h (language_defn): Add new la_post_parser field.
2192 * parser-defs.h (null_post_parser): New declaration (default for
2193 la_post_parser).
8718a420 2194
e85c3284
PH
2195 * parse.c (parse_exp_1): Move code to parse_exp_in_context and
2196 insert call to that function.
2197 (parse_exp_in_context): New function, including code formerly in
8718a420 2198 parse_exp_1. Calls language-dependent post-parser after
e85c3284
PH
2199 prefixification.
2200 (parse_expression_in_context): New exported function.
2201 (null_post_parser): New definition.
2202 * expression.h (parse_expression_in_context): Add declaration.
8718a420 2203
e85c3284
PH
2204 * p-lang.c (pascal_language_defn): Add trivial post-parser.
2205 * c-lang.c (c_language_defn): Ditto.
2206 (cplus_language_defn): Ditto.
2207 (asm_language_defn): Ditto.
2208 (minimal_language_defn): Ditto.
2209 * f-lang.c (f_language_defn): Ditto.
2210 * jv-lang.c (java_language_defn): Ditto.
2211 * language.c (unknown_language_defn): Ditto.
2212 (auto_language_defn): Ditto.
2213 (local_language_defn): Ditto.
2214 * m2-lang.c (m2_language_defn): Ditto.
2215 * scm-lang.c (scm_language_defn): Ditto.
2216 * obj-lang.c (objc_language_defn): Ditto.
8718a420 2217
d9f8c85b
MK
22182004-04-10 Mark Kettenis <kettenis@gnu.org>
2219
fa34704a
MK
2220 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Remove function.
2221 (amd64nbsd_mcontext_addr): New function.
2222 (amd64nbsd_init_abi): Initialize TDEP->sigcontext_addr as
2223 amd64nbsd_mcontext_addr. Directly initialize TDEP->sc_reg_offset
2224 with amd64nbsd_r_reg_offset, instead of building it on the fly.
2225
403e1656
MK
2226 * corelow.c (core_xfer_partial): Fix coding standards violation.
2227 Add support for TARGET_OBJECT_WCOOKIE.
2228
a57e5a95
MK
2229 * sparc-linux-tdep.c (sparc32_linux_init_abi): Don't set
2230 deprecated_pc_in_sigtramp.
2231 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.
2232 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
2233 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Likewise.
2234 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Likewise.
2235 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Likewise.
2236 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Likewise.
2237 * sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
2238
377d9ebd
MK
2239 * amd64-linux-tdep.c, amd64nbsd-tdep.c, amd64obsd-tdep.c,
2240 i386-linux-tdep.c, i386-tdep.c, i386nbsd-tdep.c, i386obsd-tdep.c:
2241 Fix typo.
2242
f0ef85a5
MK
2243 * amd64-tdep.c (amd64_supply_fxsave): Only fiddle with
2244 I387_FISEG_REGNUM and I387_FOSEG_REGNUM in 64-bit mode.
2245 (amd64_collect_fxsave): Likewise.
2246
d9f8c85b
MK
2247 * i386-sol2-tdep.c: Include "gdb_string.h".
2248 (i386_sol2_sigtramp_p): Recognize signal trampoline based on its
2249 name.
2250 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
2251
75f501b5
MK
22522004-04-10 Mark Kettenis <kettenis@gnu.org>
2253
2254 * i386-sol2-tdep.c: Include "solib-svr4.h".
2255 (i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
2256 * Makefile.in (i386-sol2-tdep.o): Update dependencies.
2257 * config/i386/tm-i386sol2.h: Include :solib.h".
2258 * config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
2259 solib-svr4.o and solib-legacy.o.
2260 * config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
2261 solib-svr4.o.
2262
b31bc724
MK
22632004-04-09 Mark Kettenis <kettenis@gnu.org>
2264
18bbbd9e
MK
2265 * amd64-linux-nat.c (fetch_inferior_registers): Correctly check
2266 whether a register is supplied by PTRACE_GETFPREGS.
2267 (store_inferior_registers): Likewise.
2268 * amd64bsd-nat.c (fetch_inferior_registers): Correctly check
2269 whether a register is supplied by PT_GETFPREGS.
2270 (store_inferior_registers): Likewise.
2271
3c30bf1b
MK
2272 * config/i386/linux.mt (TDEPFILES): Remove solib-legacy.o.
2273 * config/i386/linux64.mt (TDEPFILES): Likewise.
2274
a4194092
MK
2275 * i386-linux-nat.c: Update copyrigth year. Tweak comment.
2276
911bc6ee
MK
2277 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Rewrite to use new
2278 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
2279 the program counter is in the range specified by `struct
2280 gdbarch_tdep'.
2281 * amd64-linux-tdep.c: Include "symtab.h".
2282 (amd64_linux_pc_in_sigtramp): Remove function.
2283 (amd64_linux_sigtramp_p): New function.
2284 (amd64_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
2285 deprecated_pc_in_sigtramp.
2286 * amd64nbsd-tdep.c: Include "symtab.h".
2287 (amd64nbsd_sigtramp_p): New function.
2288 (amd64nbsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
2289 deprecated_pc_in_sigtramp.
2290 * amd64obsd-tdep.c: Include "symtab.h" and "objfiles.h". Add a
2291 few comments.
2292 (amd64obsd_pc_in_sigtramp): Remove function.
2293 (amd64obsd_sigtramp_p): New function.
2294 (amd64obsd_init_abi): Initialize TDEP->sigtramp_p. Don't set
2295 deprecated_pc_in_sigtramp.
2296 * i386-tdep.h (struct gdbarch_tdep): Add sigtramp_p member.
2297 (i386bsd_pc_ins_sigtramp): Remove prototype.
2298 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove prototypes.
2299 * i386-tdep.c (i386_sigtramp_frame_sniffer): Rewrite to use new
2300 sigtramp_p member of `struct gdbarch_tdep'. Also check whether
2301 the program counter is in the range specified by `struct
2302 gdbarch_tdep'.
2303 (i386_pc_in_sigtramp, i386_svr4_pc_in_sigtramp): Remove functions.
2304 (i386_sigtramp_p, i386_svr4_sigtramp_p): New functions.
2305 (i386_go32_pc_in_sigtramp): Remove function.
2306 (i386_svr4_init_abi): Don't set deprecated_pc_in_sigtramp.
2307 Initialize TDEP->sigtramp_p.
2308 (i386_go32_init_abi): Initialize TDEP->sigtramp_p to NULL.
2309 (i386_gdbarch_init): Initialize TDEP->sigtramp_p. Don't set
2310 deprecated_pc_in_sigtramp.
2311 * i386-linux-tdep.c: Adjust comments.
2312 (i386_linux_pc_in_sigtramp): Remove function.
2313 (i386_linux_sigtramp_p): New function.
2314 (i386_linux_init_abi): Initialize TDEP->sigtramp_p. Don't set
2315 deprecated_pc_in_sigtramp.
2316 * i386-nto-tdep.c: Update copyright year.
2317 (i386nto_pc_in_sigtramp): Remove function.
2318 (i386nto_sigtramp_p): New function.
2319 (i386nto_sigcontext_addr): Use I386_ESP_REGNUM instead of
2320 SP_REGNUM.
2321 (i386nto_init_abi): Initialize TDEP->sigtramp_p. Don't set
2322 deprecated_pc_in_sigtramp.
2323 * i386-sol2-tdep.c: Update copyright year.
2324 (i386_sol2_pc_in_sigtramp): Remove function.
2325 (i386_sol2_sigtramp_p): New function.
2326 (i386_sol2_init_abi): Initialize TDEP->sigtramp_p. Don't set
2327 deprecated_pc_in_sigtramp.
2328 * i386bsd-tdep.c (i386bsd_pc_in_sigtramp): Remove function.
2329 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove functions.
2330 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2331 deprecated_sigtramp_start and deprecated_sigtramp_end.
2332 * i386nbsd-tdep.c: Include "frame.h" and "symtab.h".
2333 (i386nbsd_pc_in_sigtramp): Remove function.
2334 (i386nbsd_sigtramp_p): New function.
2335 (i386nbsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2336 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
2337 TDEP->sigtramp_start, TDEP->sigtramp_end and TDEP->sigtramp_p.
2338 * i386obsd-tdep.c: Include "frame.h", "symtab.h" and "objfiles.h".
2339 (i386obsd_pc_in_sigtramp): Remove function.
2340 (i386obsd_sigtramp_p): New function.
2341 (i386obsd_sigtramp_start, i386obsd_sigtramp_end): Remove
2342 functions.
2343 (i386bsd_init_abi): Don't set deprecated_pc_in_sigtramp,
2344 deprecated_sigtramp_start, deprecated_sigtramp_end. Initialize
2345 TDEP->sigtramp_p.
2346 * Makefile.in (amd64-linux-tdep.o, amd64nbsd-tdep.o,
2347 amd64obsd-tdep.o, i386nbsd-tdep.o, i386obsd-tdep.o): Update
2348 dependencies.
2349
e083e6ec
MK
2350 * config/i386/i386aout.mt: Remove file.
2351
bd153b94
MK
2352 * configure.tgt: Remove i[34567]86-*-go32*,
2353 i[34567]86-*-msdosdjgpp*, i[34567]86-*-sco*, i[34567]86-*-sysv*
2354 and i[34567]86-*-isc*. Set gdb_target to i386 for
2355 i[34567]86-*-netware* and i[34567]86-*-*.
2356 * config/i386/i386.mt: New file.
2357 * config/i386/embed.mt: Remove file.
2358 * config/i386/go32.mt: Remove file.
2359 * config/i386/i386nw.mt: Remove file.
2360 * config/i386/i386v.mt: Remove file.
2361 * config/i386/tm-go32.h: Remove file.
2362
4a1bcc8c
MK
2363 * tui/tui-hooks.c: Include "readline/readline.h" after
2364 "gdb_curses.h" instead of before.
2365 * tui/tui-io.c: Likewise.
2366
f9a79064
MK
2367 * tui/tui.c: Fix typo in comment.
2368
b31bc724
MK
2369 * sparc64-tdep.c (sparc_address_from_register): Remove function.
2370
f83f82bc
AC
23712004-04-08 Andrew Cagney <cagney@redhat.com>
2372
2373 * breakpoint.h (deprecated_exception_catchpoints_are_fragile)
2374 (deprecated_exception_support_initialized): Declare.
8718a420 2375 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
f83f82bc
AC
2376 (initialize_hp_cxx_exception_support)
2377 (child_enable_exception_callback): Update.
2378 * breakpoint.c (deprecated_exception_catchpoints_are_fragile)
2379 (deprecated_exception_support_initialized): Rename
2380 deprecated_exception_catchpoints_are_fragile and
2381 deprecated_exception_support_initialized.
2382 (breakpoint_init_inferior, breakpoint_init_inferior): Update.
2383
2384 * symtab.c (deprecated_hp_som_som_object_present): Rename
2385 hp_som_som_object_present.
2386 * symtab.h (deprecated_hp_som_som_object_present): Declare.
2387 * symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
2388 Update. Delete extern declaration.
2389 * valops.c (hp_som_som_object_present): Ditto.
8718a420 2390 * parse.c (deprecated_hp_som_som_object_present)
f83f82bc
AC
2391 (parse_nested_classes_for_hpacc): Ditto.
2392 * hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
8718a420 2393 * hppa-hpux-tdep.c (hp_som_som_object_present)
f83f82bc
AC
2394 (initialize_hp_cxx_exception_support): Ditto.
2395 * eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
8718a420 2396 * cp-valprint.c (hp_som_som_object_present)
f83f82bc 2397 (cp_print_class_method): Ditto.
8718a420 2398 * c-typeprint.c (hp_som_som_object_present):
f83f82bc
AC
2399 (c_type_print_base): Ditto.
2400 * c-exp.y (hp_som_som_object_present): Ditto.
2401
fb2be677
AC
24022004-04-08 Andrew Cagney <cagney@redhat.com>
2403
2404 * frame-unwind.c (struct frame_unwind_table, frame_unwind_init)
2405 (frame_unwind_prepend_unwinder, frame_unwind_append_sniffer)
2406 (frame_unwind_find_by_frame): Re-implement the unwind code so
2407 that it can both prepend and append sniffers. Replace
2408 frame_unwind_register_unwinder with frame_unwind_prepend_unwinder.
2409 * tramp-frame.c (tramp_frame_append): Use
2410 frame_unwind_prepend_unwinder.
2411 * frame-unwind.h (frame_unwind_prepend_unwinder): Replace
2412 frame_unwind_register_unwinder.
2413 * tramp-frame.h (tramp_frame_prepend_unwinder): Rename
2414 tramp_frame_append.
2415 * tramp-frame.c (tramp_frame_prepend_unwinder): Update.
8718a420 2416 * mips-linux-tdep.c (mips_linux_init_abi, mips_linux_init_abi)
fb2be677
AC
2417 (mips_linux_init_abi): Update.
2418
67faf007
KB
24192004-04-08 Kevin Buettner <kevinb@redhat.com>
2420
2421 * ppc-linux-tdep.c (ELF_NREG, ELF_NFPREG, ELF_NVRREG)
2422 (ELF_FPREGSET_SIZE): Delete constants formerly used in core
2423 file support.
2424
8973ff21
KB
24252004-04-07 Kevin Buettner <kevinb@redhat.com>
2426
2427 * ia64-tdep.c (elf.h): Don't include.
2428 (elf/ia64.h) [HAVE_LIBUNWIND_IA64_H]: Include.
2429
4a0e2f88
JM
24302004-04-07 Jason Molenda (jmolenda@apple.com)
2431
2432 * frame.h: Typeo corrections in comments.
2433
9872ad24
JB
24342004-04-07 Jim Blandy <jimb@redhat.com>
2435
2436 * i386-tdep.c (i386_stab_reg_to_regnum): Correct numbering for
2437 %esp and %ebp
2438
70b216c8
MK
24392004-04-07 Mark Kettenis <kettenis@gnu.org>
2440
11d5789c
MK
2441 * config/sparc/linux.mt (TDEPFILES): Remove solib-legacy.o.
2442 * config/sparc/linux64.mt (TDEPFILES): Likewise.
2443 * config/sparc/sol2.mt (TDEPFILES): Add solib.o and solib-svr4.o.
2444 * config/sparc/sol2.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
2445 and solib-legacy.o.
2446 * config/sparc/sol2-64.mt (TDEPFILES): Add solib.o and
2447 solib-svr4.o.
2448 * config/sparc/tm-sol2.h: Update copyright year. Include
2449 "solib.h".
2450
70b216c8
MK
2451 * sparc-sol2-tdep.c: Update copyright year. Include
2452 "solib-svr4.h".
2453 (sparc32_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
2454 * sparc64-sol2-tdep.c: Include "solib-svr4.h".
2455 (sparc64_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
096f864c 2456 * Makefile.in (sparc-sol2-tdep.o, sparc64-sol2-tdep.o): Update
70b216c8
MK
2457 dependencies.
2458
6339dc9e
AC
24592004-04-06 Andrew Cagney <cagney@redhat.com>
2460
2461 * infttrace.c: Include "infttrace.h".
2462 * infttrace.h: Include "target.h".
2463 * Makefile.in (infttrace_h): Update.
2464 (infttrace.o): Update.
8718a420 2465
93449403
AC
24662004-04-06 Andrew Cagney <cagney@redhat.com>
2467
6d518969
AC
2468 * hppah-nat.c (hpux_has_forked, hpux_has_vforked)
2469 (hpux_has_execd, hpux_has_syscall_event): Include "infttrace.h",
2470 move extern declarations from here ...
2471 * infttrace.h: ... to here.
2472 * Makefile.in (hppah-nat.o): Update dependencies.
2473
85f4f2d8
AC
2474 * hppa-tdep.c (hppa_breakpoint_from_pc): Make static.
2475 (hppa_gdbarch_init): Set gdbarch_breakpoint_from_pc
8718a420 2476 * config/pa/tm-hppa.h (BREAKPOINT_FROM_PC, BREAKPOINT32):
85f4f2d8
AC
2477 (hppa_breakpoint_from_pc): Delete.
2478
93449403
AC
2479 * MAINTAINERS: Mark hppa-elf as buildable with -Werror.
2480
71456ec6
AC
24812004-04-05 Andrew Cagney <cagney@redhat.com>
2482
2483 * hppa-tdep.c: Do not include <sys/types.h>, <sys/param.h>,
2484 <signal.h>, <sys/ptrace.h>, #include "a.out.encap.h",
2485 <sys/file.h>.
8718a420 2486
4c02c60c
AC
24872004-04-06 Randolph Chung <tausq@debian.org>
2488
2489 Committed by Andrew Cagney (mechanical change).
2490 * hppa-tdep.c: (args_for_find_stub, hp_som_som_object_present,
2491 exception_catchpoints_are_fragile, find_stub_with_shl_get,
2492 cover_find_stub_with_shl_get, initialize_hp_cxx_exception_support,
2493 child_enable_exception_callback, current_ex_event,
2494 null_symtab_and_line, child_get_current_exception_event,
2495 HP_ACC_EH_notify_hook, HP_ACC_EH_set_hook_value,
2496 HP_ACC_EH_notify_callback, HP_ACC_EH_break, HP_ACC_EH_catch_throw,
2497 HP_ACC_EH_catch_catch, __eh_notification, hp_cxx_exception_support,
2498 hp_cxx_exception_support_initialized, eh_notify_hook_addr,
2499 eh_notify_callback_addr, eh_break_addr, eh_catch_catch_addr,
2500 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior):
2501 Move hpux-specific definitions ...
2502 * hppa-hpux-tdep.c: ... to here.
2503
3a515653
AC
25042004-04-05 Andrew Cagney <cagney@redhat.com>
2505
2506 * hppa-tdep.c (hppa_frame_cache): Pass the frame's func to
2507 skip_prologue_using_sal.
2508
c1730d02
AC
25092004-04-05 Andrew Cagney <cagney@redhat.com>
2510
2511 * config/i386/tm-i386.h: Delete file.
2512 * config/i386/tm-vxworks.h: Update copyright, do not include
2513 "tm-i386.h".
2514 * config/i386/tm-nto.h, config/i386/tm-linux.h: Ditto.
2515 * config/i386/tm-i386sol2.h, config/i386/tm-i386lynx.h: Ditto.
2516 * config/i386/tm-go32.h, config/i386/tm-cygwin.h: Ditto.
2517 * config/i386/ncr3000.mt (TM_FILE): Delete.
2518 * config/i386/interix.mt (TM_FILE): Delete.
2519 * config/i386/i386v.mt (TM_FILE): Delete.
2520 * config/i386/i386nw.mt (TM_FILE): Delete.
2521 * config/i386/i386gnu.mt (TM_FILE): Delete.
2522 * config/i386/i386aout.mt (TM_FILE): Delete.
2523 * config/i386/embed.mt (TM_FILE): Delete.
2524
8b67aa36
KB
25252004-04-05 Kevin Buettner <kevinb@redhat.com>
2526
2527 * frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
2528 (accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
2529 (gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
2530 (accg7_regnum): New constants.
2531 (last_spr_regnum, last_pseudo_regnum): Update.
c2f59a1a
KB
2532 * frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
2533 accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
8b67aa36
KB
2534 (frv_pseudo_register_read, frv_pseudo_register_write): Add support
2535 for accg registers.
2536 (frv_register_sim_regno): Update spr_map[].
2537
3c7012f5
AC
25382004-04-04 Andrew Cagney <cagney@redhat.com>
2539
2540 * config/mips/xm-riscos.h: Delete.
2541 * config/mips/xm-mipsv4.h, config/mips/xm-mips.h: Delete.
2542 * config/mips/tm-mipsv4.h, config/mips/riscos.mh: Delete.
2543 * config/mips/nm-riscos.h, config/mips/nm-news-mips.h: Delete.
2544 * config/mips/nm-mips.h, config/mips/news-mips.mh: Delete.
2545 * config/mips/news-mips.mh, config/m68k/tm-m68kv4.h: Delete.
2546 * config/mips/decstation.mh, config/mips/littlemips.mh: Delete.
2547 * config/mips/mipsv4.mt, config/m68k/tm-sun3.h: Delete.
2548 * config/m68k/xm-sun3os4.h, config/m68k/xm-sun3.h: Delete.
2549 * config/m68k/xm-sun2.h, config/m68k/xm-m68kv4.h: Delete.
2550 * config/m68k/xm-dpx2.h, config/m68k/xm-delta68.h: Delete.
2551 * config/m68k/xm-3b1.h, config/m68k/tm-sun3os4.h: Delete.
2552 * config/m68k/tm-m68klynx.h, config/m68k/tm-dpx2.h: Delete.
2553 * config/m68k/tm-delta68.h, config/m68k/tm-3b1.h: Delete.
2554 * config/m68k/sun3os4.mt, config/m68k/nm-sysv4.h: Delete.
2555 * config/m68k/nm-sun3.h, config/m68k/sun3os4.mh: Delete.
2556 * config/m68k/sun2os3.mh, config/m68k/nm-sun2.h: Delete.
2557 * config/m68k/nm-m68klynx.h, config/m68k/sun3os3.mt: Delete.
2558 * config/m68k/nm-dpx2.h, config/m68k/sun2os3.mt: Delete.
2559 * config/m68k/dpx2.mh, config/m68k/sun3os3.mh: Delete.
2560 * config/m68k/sun2os4.mh, config/m68k/nm-delta68.h: Delete.
2561 * config/m68k/m68kv4.mt, config/m68k/m68klynx.mt: Delete.
2562 * config/m68k/3b1.mt, config/m68k/m68klynx.mh: Delete.
2563 * config/m68k/m68kv4.mh, config/m68k/sun2os4.mt: Delete.
2564 * config/m68k/tm-sun2os4.h, config/m68k/3b1.mh: Delete.
2565 * config/m68k/dpx2.mt, config/m68k/delta68.mt: Delete.
2566 * config/m68k/tm-sun2.h, config/m68k/delta68.mh: Delete.
8718a420 2567
3c7012f5
AC
2568 * configure.tgt: Remove m68000-*-sunos3*, m68000-*-sunos4*,
2569 m68*-bull-sysv*, m68*-att-*, m68*-motorola-*, m68*-*-lynxos*,
2570 m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, mips*-*-sysv4*.
2571 * configure.host: Remove m680[01]0-sun-sunos3*,
2572 m680[01]0-sun-sunos4*, m68*-att-*, m68*-bull*-sysv*,
2573 m68*-*-lynxos*, m68*-*-sysv4*, m68*-motorola-*, m68*-sun-sunos3*,
2574 m68*-sun-sunos4*, m68*-sun-*, mips-dec-*, mips-little-*,
2575 mips-sony-*, mips-*-mach3*, mips-*-sysv4*, mips-*-sysv*,
2576 mips-*-riscos*.
2577 * NEWS: Mention removed systems.
2578
99d16a21
AC
25792004-04-04 Andrew Cagney <cagney@redhat.com>
2580
2581 GDB 6.1 release created from 6.1 branch.
2582
6cdf9d98
AC
25832004-04-04 Andrew Cagney <cagney@redhat.com>
2584
98d346c3
AC
2585 * gnu-nat.c (gnu_wait): Use memcpy instead of bcopy.
2586 * remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
2587 * remote-vx68.c (vx_read_register, vx_write_register): Ditto.
2588
6cdf9d98
AC
2589 * config/vax/xm-vax.h (FAULT_CODE_ORIGIN, INIT_STACK): Delete.
2590 * config/alpha/xm-alphaosf.h (NO_SIGINTERRUPT): Delete.
2591 * config/alpha/xm-alphalinux.h (NO_SIGINTERRUPT): Delete.
2592
859a326d
JB
25932004-04-03 Jim Blandy <jimb@redhat.com>
2594
2595 * MAINTAINERS: Chris Faylor has changed employers; add him to
2596 "paper trail" section, and update his E-mail address.
2597
b87178c3
AC
25982004-04-03 Andrew Cagney <cagney@redhat.com>
2599
4ea2acf0
AC
2600 * frame-unwind.c (frame_unwind_find_by_frame): Delete check for
2601 generic dummy frames.
2602 * dummy-frame.c: Update copyright.
2603 (dummy_frame_sniffer): Delete check for generic dummy frames.
2604
d0bd2d18 2605 * config/pa/tm-hppa.h (REG_PARM_STACK_SPACE): Delete.
8718a420 2606 * config/pa/tm-hppa64.h (PA20W_CALLING_CONVENTIONS)
d0bd2d18
AC
2607 (REG_PARM_STACK_SPACE): Delete.
2608 * hppa-tdep.c (hppa64_push_dummy_call, hppa32_push_dummy_call):
2609 Inline reference to REG_PARM_STACK_SPACE.
2610
b87178c3
AC
2611 * config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP)
2612 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
2613 (hppa32_hpux_frame_find_saved_regs_in_sigtramp)
2614 (FRAME_BASE_BEFORE_SIGTRAMP)
2615 (hppa32_hpux_frame_base_before_sigtramp)
2616 (hppa32_hpux_frame_saved_pc_in_sigtramp): Delete.
2617 * config/pa/tm-hppa64.h (hppa64_hpux_frame_saved_pc_in_sigtramp)
2618 (hppa64_hpux_frame_find_saved_regs_in_sigtramp)
2619 (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP)
2620 (FRAME_BASE_BEFORE_SIGTRAMP)
2621 (hppa64_hpux_frame_base_before_sigtramp)
2622 (FRAME_SAVED_PC_IN_SIGTRAMP): Delete.
2623
43e2e1a0
AC
26242004-04-03 Andrew Cagney <cagney@redhat.com>
2625
2626 * PROBLEMS: Mention that GDB doesn't build on HP/UX 11.00.
2627
ddc135a4
AC
26282004-04-02 Andrew Cagney <cagney@redhat.com>
2629
2630 * sh64-tdep.c (sh64_init_extra_frame_info): Replace
2631 DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify.
2632 * dummy-frame.h: Delete out-of-date comments.
2633 * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete.
2634 * gdbarch.h, gdbarch.c: Re-generate.
2635
d15bfd3a 26362004-04-02 Joel Brobecker <brobecker@gnat.com>
8718a420 2637
d15bfd3a
AC
2638 Committed by Andrew Cagney <cagney@redhat.com>.
2639 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Do not take
2640 into account an instruction saving a register if we have already
2641 seen an earlier instruction saving that same register.
2642
f04ceafa
AC
26432004-04-02 Andrew Cagney <cagney@redhat.com>
2644
08be3abd
AC
2645 * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete.
2646 * gdbarch.h, gdbarch.c: Re-generate.
2647 * frame.c (legacy_get_prev_frame): Delete references to
2648 DEPRECATED_INIT_FRAME_PC_FIRST.
2649
f04ceafa
AC
2650 * infrun.c (pc_in_sigtramp): Delete function.
2651 (check_sigtramp2): Inline call to pc_in_sigtramp, use
2652 get_frame_type.
2653
08e69816
AC
26542004-04-02 Andrew Cagney <cagney@redhat.com>
2655
2656 * infrun.c (handle_step_into_function): Delete code conditional on
2657 legacy_frame_p.
2658 (handle_inferior_event, step_over_function): Ditto.
2659
adb54772
AC
26602004-04-02 Andrew Cagney <cagney@redhat.com>
2661
2662 * frame.c (get_prev_frame_1): Exclude signal trampolines from the
2663 "previous frame inner to this frame" test.
2664
304396fb
AC
26652004-04-02 Andrew Cagney <cagney@redhat.com>
2666
2667 * frame.c (safe_frame_unwind_memory): New function.
2668 * frame.h (safe_frame_unwind_memory): Declare. Update description
2669 of /safe_/ methods.
2670 * tramp-frame.c (tramp_frame_start): Re-order parmeters, add
2671 "next_frame". Use safe_frame_unwind_memory.
2672 (tramp_frame_sniffer): Update call to tramp_frame_start.
2673
6502dd73
DJ
26742004-04-01 Daniel Jacobowitz <drow@mvista.com>
2675
2676 * dwarf2read.c (dwarf2_objfile_data_key): New.
2677 (struct dwarf2_per_objfile, dwarf2_per_objfile): New.
2678 (dwarf_info_size, dwarf_abbrev_size, dwarf_line_size)
2679 (dwarf_pubnames_size, dwarf_aranges_size, dwarf_loc_size)
2680 (dwarf_macinfo_size, dwarf_str_size, dwarf_ranges_size)
2681 (dwarf_frame_size, dwarf_eh_frame_size, dwarf_info_buffer)
2682 (dwarf_abbrev_buffer, dwarf_line_buffer, dwarf_str_buffer)
2683 (dwarf_macinfo_buffer, dwarf_ranges_buffer, dwarf_loc_buffer):
2684 Remove variables.
2685 (struct dwarf2_pinfo): Remove per-objfile members. Update comments.
2686 (DWARF_ABBREV_SIZE, DWARF_LINE_SIZE)
2687 (DWARF_LOC_SIZE, DWARF_MACINFO_SIZE, DWARF_STR_SIZE)
2688 (DWARF_RANGES_SIZE, DWARF_INFO_BUFFER)
2689 (DWARF_ABBREV_BUFFER, DWARF_LINE_BUFFER, DWARF_STR_BUFFER)
2690 (DWARF_MACINFO_BUFFER, DWARF_RANGES_BUFFER, DWARF_LOC_BUFFER):
2691 Remove macros.
2692 (dwarf2_has_info): Take an objfile argument. Allocate per-objfile
2693 data.
2694 (dwarf2_locate_sections, dwarf2_build_psymtabs)
2695 (dwarf2_build_psymtabs_easy, dwarf2_build_psymtabs_hard)
2696 (skip_one_die, dwarf2_get_pc_bounds, dwarf2_read_abbrevs)
2697 (read_partial_die, read_full_die, read_indirect_string)
2698 (dwarf_decode_line_header, dwarf_decode_macros)
2699 (dwarf2_symbol_mark_computed): Remove use of removed macros.
2700 Update uses of removed variables.
2701 (psymtab_to_symtab_1): Restore per-objfile data pointer. Remove use
2702 of removed macros.
2703 (_initialize_dwarf2_read): New function.
2704 * symfile.h (dwarf2_has_info): Update prototype.
2705 * coffread.c (coff_symfile_read): Update call to dwarf2_has_info.
2706 * elfread.c (elf_symfile_read): Likewise.
2707
408752b0
JB
27082004-04-01 Jim Blandy <jimb@redhat.com>
2709
9f744501
JB
2710 * rs6000-tdep.c (rs6000_dwarf2_stab_reg_to_regnum): New, unified
2711 function for register numbers on all the rs6000-derived targets.
2712 (rs6000_gdbarch_init): Don't register a separate
2713 gdbarch_dwarf2_reg_to_regnum function for the E500. Use
2714 rs6000_dwarf2_stab_reg_to_regnum for both Dwarf 2 and stabs on all
2715 variants.
2716
408752b0
JB
2717 * i386-tdep.c: Add FIXME regarding STABS vs. Dwarf 2 register
2718 numbering.
2719
2de41bce
PH
27202004-04-01 Paul N. Hilfinger <Hilfinger@gnat.com>
2721
2722 * valarith.c: Update copyright notice.
2723 (value_add): Handle range types.
2724 (value_sub): Ditto.
2725 (value_equal): Ditto.
2726 (value_less): Ditto.
2727 (value_neg): Ditto.
2728 (value_complement): Ditto.
8718a420 2729 (value_binop): Simplify slightly by using is_integral_type and
2de41bce 2730 eliminiating unnecessary COERCE_ENUMs.
8718a420 2731
5613d8d3
AC
27322004-03-31 Andrew Cagney <cagney@redhat.com>
2733
2734 * frame.h (frame_unwind_id): Declare.
2735 * frame.c (frame_unwind_id): New function.
2736 (get_prev_frame_1): New function.
2737 (frame_debug_got_null_frame): New function.
2738 (get_prev_frame): Use frame_debug_got_null_frame. Move unwind
2739 code proper to prev_frame, update description.
2740 * infrun.c (step_over_function): Use frame_unwind_id.
2741
c4557624
JB
27422004-04-31 J. Brobecker <brobecker@gnat.com>
2743
2744 * hppa-tdep.c (hppa32_push_dummy_call): Set the Stack Pointer.
2745 (hppa64_push_dummy_call): Likewise.
2746
3e6bb910
JB
27472004-03-30 Jim Blandy <jimb@redhat.com>
2748
2749 From Ulrich Weigand:
2750 * utils.c (query): Do not use a va_list variable multiple times.
2751
a2f23071
DJ
27522004-03-29 Daniel Jacobowitz <drow@mvista.com>
2753
2754 * Makefile.in (linux_nat_h): Update dependencies.
2755 * configure.in: Check for <gnu/libc-version.h>.
2756 * configure: Regenerate.
2757 * config.in: Regenerate.
2758 * linux-nat.h: Include "target.h". Add waitstatus field to
2759 struct lwp_info.
2760 * lin-lwp.c (add_lwp): Initialize waitstatus.kind.
2761 (lin_lwp_attach_lwp): Don't attach to LWPs we have already attached
2762 to.
2763 (lin_lwp_handle_extended): New function. Handle clone events.
2764 (wait_lwp): Use lin_lwp_handle_extended. Update comment about
2765 thread exit events.
2766 (child_wait): Handle clone events.
2767 (lin_lwp_wait: Use lin_lwp_handle_extended and handle clone events.
2768 * linux-nat.c (linux_enable_event_reporting): Turn on
2769 PTRACE_O_TRACECLONE.
2770 (linux_handle_extended_wait): Handle clone events.
2771 * thread-db.c: Include <gnu/libc-version.h>.
2772 (struct private_thread_info): Add dying flag.
2773 (enable_thread_event_reporting): Enable TD_DEATH for glibc 2.2 and
2774 higher.
2775 (attach_thread): Update comments. Handle dying threads.
2776 (detach_thread): Set the dying flag.
2777 (check_event): Always call attach_thread.
2778
8d5f9dcb
DJ
27792004-03-29 Daniel Jacobowitz <drow@mvista.com>
2780
2781 * mips-tdep.c (mips_pdr_data): New.
2782 (non_heuristic_proc_desc): Use objfile_data and set_objfile_data.
2783 (_initialize_mips_tdep): Initialize mips_pdr_data.
2784
66337bb1
CV
27852004-03-29 Corinna Vinschen <vinschen@redhat.com>
2786
2787 * minsyms.c (install_minimal_symbols): Move dropping leading
2788 char from linkage name from here...
2789 (prim_record_minimal_symbol_and_info): ...to here. Simplify
2790 test for "__gnu_compiled*" symbols.
2791
e802b915
JB
27922004-03-28 Jim Blandy <jimb@redhat.com>
2793
2794 * rs6000-tdep.c (skip_prologue): Recognize moves from argument
2795 registers to temp register r0 and byte stores as prologue
2796 instructions.
2797
72b56458
AC
27982004-03-28 Andrew Cagney <cagney@redhat.com>
2799
2800 * PROBLEMS (Stack backtraces): Rewrite. Remove reference to
2801 arm*-*-*.
2802
0bfbda3b
SC
28032004-03-28 Stephane Carrez <stcarrez@nerim.fr>
2804
2805 * tui/tui-regs.c (tui_show_registers): Make sure the TUI is active
2806 and switch the layout to force a display of register window.
2807
5a7225ed
JB
28082004-02-26 J. Brobecker <brobecker@gnat.com>
2809
2810 * amd64-tdep.c (amd64_classify): make RANGE_TYPE objects be part
2811 of the INTEGER class.
2812
81a07a45
JB
28132004-03-26 Jim Blandy <jimb@redhat.com>
2814
2815 * ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
2816 bytes long on PPC GNU/Linux.
2817
8c691c7a
DC
28182004-03-26 David Carlton <carlton@kealia.com>
2819
2820 * PROBLEMS: Refer to gdb/1588 instead of gdb/826.
2821
103a0089
AC
28222004-03-25 Andrew Cagney <cagney@redhat.com>
2823
2824 * PROBLEMS: Add general section titles, remove references to
2825 specific releases.
2826
7a5ea0d4
DJ
28272004-03-25 Daniel Jacobowitz <drow@mvista.com>
2828
2829 * arm-linux-tdep.c (ARM_LINUX_JB_ELEMENT_SIZE): Define to
2830 INT_REGISTER_SIZE.
2831 (arm_linux_push_arguments): Use TARGET_DOUBLE_BIT instead of
2832 FP_REGISTER_VIRTUAL_SIZE.
2833 * arm-tdep.c (arm_make_sigtramp_cache): Use register_size instead
2834 of DEPRECATED_REGISTER_RAW_SIZE.
2835 (arm_register_type): Add gdbarch argument.
2836 (arm_register_raw_size, arm_register_virtual_size): Delete.
2837 (arm_register_byte, arm_extract_return_value)
2838 (arm_store_return_value, arm_get_longjmp_target): Update references
2839 to INT_REGISTER_RAW_SIZE and FP_REGISTER_RAW_SIZE.
2840 (arm_gdbarch_init): Likewise. Don't set
2841 deprecated_register_raw_size, deprecated_register_virtual_size,
2842 deprecated_max_register_raw_size,
2843 deprecated_max_register_virtual_size, or
2844 deprecated_max_register_virtual_type. Do set register_type.
2845 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE)
2846 (ARM_MAX_REGISTER_VIRTUAL_SIZE, INT_REGISTER_VIRTUAL_SIZE)
2847 (FP_REGISTER_VIRTUAL_SIZE): Delete.
2848 (INT_REGISTER_RAW_SIZE): Rename to INT_REGISTER_SIZE.
2849 (FP_REGISTER_RAW_SIZE): Rename to FP_REGISTER_SIZE.
2850 * arm-linux-tdep.c (ARM_NBSD_JB_ELEMENT_SIZE): Define to
2851 INT_REGISTER_SIZE.
2852 * remote-rdp.c (remote_rdp_fetch_register): Use MAX_REGISTER_SIZE.
2853 (remote_rdp_store_register): Likewise.
2854
5792a79b
DJ
28552004-03-24 Daniel Jacobowitz <drow@mvista.com>
2856
2857 * Makefile.in (mips-linux-tdep.o): Update dependencies.
2858 * mips-tdep.c (mips_gdbarch_init): Move frame predicates
2859 to after osabi initialization.
2860 * mips-linux-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
2861 (mips_linux_o32_sigframe_init, mips_linux_n32n64_sigframe_init): New
2862 functions.
2863 (mips_linux_o32_sigframe, mips_linux_o32_rt_sigframe)
2864 (mips_linux_n32_rt_sigframe, mips_linux_n64_rt_sigframe): New
2865 variables.
2866 (mips_linux_init_abi): Append signal trampoline unwinders.
2867
1196bfda
AC
28682004-03-24 Andrew Cagney <cagney@redhat.com>
2869
2870 * tramp-frame.h (TRAMP_SENTINEL_INSN): Define, document.
2871 * tramp-frame.c: Include "gdb_assert.h".
2872 (tramp_frame_start): Use TRAMP_SENTINEL_INSN. Use ULONGEST and
2873 correct sizeof.
2874 (tramp_frame_append): Validate the tramp frame's instructions.
2875 * Makefile.in (tramp-frame.o): Update dependencies.
2876
4be282b4
AC
28772004-03-23 Andrew Cagney <cagney@redhat.com>
2878
2879 * trad-frame.h (trad_frame_set_reg_addr): Declare.
2880
69aec09b
AC
28812004-03-23 Andrew Cagney <cagney@redhat.com>
2882
2883 * MAINTAINERS (Past Maintainers): Add Mark Salter and Fernando
2884 Nasser as past testsuite/lib/ (and other) maintainers.
2885
63ed89b4
DJ
28862004-03-23 Daniel Jacobowitz <drow@mvista.com>
2887
2888 * infcmd.c (attach_command): Reread symbols if we already have
2889 an exec file.
2890
f3b36427
AC
28912004-03-23 Andrew Cagney <cagney@redhat.com>
2892
2893 * rs6000-tdep.c (frame_get_saved_regs): Delete unused function.
2894
aa2a3f87
AC
28952004-03-23 Andrew Cagney <cagney@redhat.com>
2896
2897 * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): Deprecate.
2898 * gdbarch.h, gdbarch.c: Re-generate.
2899 * i386obsd-tdep.c (i386obsd_init_abi): Update.
2900 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
2901 * i386bsd-tdep.c (i386bsd_init_abi): Update.
8718a420 2902 * config/vax/tm-vaxbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87 2903 (DEPRECATED_SIGTRAMP_START): Update.
8718a420 2904 * config/m68k/tm-nbsd.h (DEPRECATED_SIGTRAMP_END)
aa2a3f87
AC
2905 (DEPRECATED_SIGTRAMP_START): Update.
2906 * blockframe.c (find_pc_sect_partial_function): Update.
2907 * arch-utils.c (legacy_pc_in_sigtramp): Update.
2908
00cac895
DJ
29092004-03-23 Daniel Jacobowitz <drow@mvista.com>
2910
2911 * remote.c (remote_open_1): Reopen the exec file and reread symbols
2912 if necessary.
2913
f561f026
AC
29142004-03-23 Andrew Cagney <cagney@redhat.com>
2915
2916 * gdbarch.sh (PC_IN_SIGTRAMP): Change to a function with
2917 predicate, deprecate.
2918 * gdbarch.h, gdbarch.c: Re-generate.
2919 * alpha-linux-tdep.c (alpha_linux_init_abi): Update.
2920 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
2921 * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Update.
2922 * alphafbsd-tdep.c (alphafbsd_init_abi): Update.
2923 * alphanbsd-tdep.c (alphanbsd_init_abi): Update.
2924 * amd64-linux-tdep.c (amd64_linux_init_abi): Update.
2925 * amd64-tdep.c (amd64_sigtramp_frame_sniffer): Update.
2926 * amd64nbsd-tdep.c (amd64nbsd_init_abi): Update.
2927 * amd64obsd-tdep.c (amd64obsd_init_abi): Update.
2928 * arm-tdep.c (arm_sigtramp_unwind_sniffer): Update.
2929 * blockframe.c (find_pc_partial_function): Update.
2930 * breakpoint.c (bpstat_what): Update.
2931 * frame.c (frame_type_from_pc, legacy_get_prev_frame): Update.
2932 * frv-linux-tdep.c (frv_linux_init_abi): Update.
2933 * frv-tdep.c (frv_sigtramp_frame_sniffer): Update.
2934 * hppa-hpux-tdep.c (hppa_hpux_init_abi): Update.
2935 * i386-interix-tdep.c (i386_interix_init_abi): Update.
2936 * i386-linux-tdep.c (i386_linux_init_abi): Update.
2937 * i386-nto-tdep.c (i386nto_init_abi): Update.
2938 * i386-sol2-tdep.c (i386_sol2_init_abi): Update.
2939 * i386-tdep.c (i386_sigtramp_frame_sniffer)
2940 (i386_svr4_init_abi, i386_go32_init_abi, i386_gdbarch_init): Update.
2941 * i386bsd-tdep.c (i386bsd_init_abi): Update.
2942 * i386nbsd-tdep.c (i386nbsd_init_abi): Update.
2943 * i386obsd-tdep.c (i386obsd_init_abi): Update.
2944 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Update.
2945 * infrun.c (pc_in_sigtramp): Update.
2946 * m68k-tdep.c (m68k_sigtramp_frame_sniffer): Update.
2947 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
2948 * mips-tdep.c (mips_gdbarch_init): Update.
2949 * mipsnbsd-tdep.c (mipsnbsd_init_abi): Update.
2950 * ppc-linux-tdep.c: Update comment.
2951 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Update.
2952 * shnbsd-tdep.c (shnbsd_init_abi): Update.
2953 * sparc-linux-tdep.c (sparc32_linux_init_abi): Update.
2954 * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Update.
2955 * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Update.
2956 * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Update.
2957 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Update.
2958 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Update.
2959 * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Update.
2960 * sparcobsd-tdep.c (sparc32obsd_init_abi): Update.
8718a420 2961
8050c72f
AC
29622004-03-23 Andrew Cagney <cagney@redhat.com>
2963
d2259dd3
AC
2964 * tramp-frame.h, tramp-frame.h: New files.
2965 * Makefile.in (SFILES, tramp_frame_h, COMMON_OBS, tramp-frame.o):
2966 Update rules to include "tramp-frame.h" and "tramp-frame.c".
2967
8050c72f
AC
2968 * Makefile.in: Update all dependencies.
2969
0db9b4b7
AC
29702004-03-23 Andrew Cagney <cagney@redhat.com>
2971
2972 * Makefile.in (trad_frame_h): Add $(frame_h).
2973 * trad-frame.h: Update copyright. Include "frame.h".
2974 (struct trad_frame_cache, trad_frame_cache_zalloc): Declare.
2975 (trad_frame_set_id, trad_frame_get_id): Declare.
2976 (trad_frame_set_reg_addr, trad_frame_get_register): Declare.
2977 * trad-frame.c: Update copyright.
2978 (struct trad_frame_cache): Define.
2979 (trad_frame_cache_zalloc): New function.
2980 (trad_frame_set_id, trad_frame_get_id): New functions.
2981 (trad_frame_set_reg_addr, trad_frame_get_register): New functions.
8718a420 2982
8e645ae7
AC
29832004-03-22 Andrew Cagney <cagney@redhat.com>
2984
2985 * s390-tdep.c (struct s390_stub_unwind_cache): Rename
2986 s390_pltstub_unwind_cache.
2987 (s390_stub_frame_unwind_cache): Rename
2988 s390_pltstub_frame_unwind_cache.
2989 (s390_stub_frame_this_id): Rename s390_pltstub_frame_this_id.
2990 (s390_stub_frame_prev_register): Rename
2991 s390_pltstub_frame_prev_register.
2992 (s390_stub_frame_unwind): Rename s390_pltstub_frame_unwind.
2993 (s390_stub_frame_sniffer): Rename s390_stub_frame_sniffer.
2994
2995 From Ulrich Weigand:
2996 * s390-tdep.c (s390_pltstub_frame_sniffer): Handle invalid function
2997 pointer calls like PLT calls.
2998
34fcf120
DJ
29992004-03-22 Daniel Jacobowitz <drow@mvista.com>
3000
3001 * mips-tdep.c (non_heuristic_proc_desc): Search using the specified
3002 PC rather than the partial function start address. Use the start
3003 address to sanity check the found PDR.
3004
5b917078
DJ
30052004-03-22 Daniel Jacobowitz <drow@mvista.com>
3006
3007 * lin-lwp.c (lin_lwp_wait): Pass the LWP ID to
3008 linux_handle_extended_wait.
3009
8adf9e78
AC
30102004-03-22 Andrew Cagney <cagney@redhat.com>
3011
c3122434
AC
3012 * rs6000-tdep.c (frame_initial_stack_address): Delete unused
3013 function.
3014
8adf9e78
AC
3015 * frame.h (generic_pop_current_frame): Delete declaration.
3016 (deprecate_pop_dummy_frame): Deprecate
3017 generic_pop_dummy_frame.
3018 * dummy-frame.c (deprecated_pop_dummy_frame): Update.
3019 (generic_pop_current_frame): Delete function.
3020 * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to
3021 generic_pop_current_frame.
3022 * v850-tdep.c (v850_pop_frame): Update.
3023 * mcore-tdep.c (mcore_pop_frame): Update.
3024 * sh64-tdep.c (sh64_pop_frame): Update.
3025 * h8300-tdep.c (h8300_pop_frame): Update.
3026
90ba813f
AC
30272004-03-22 Andrew Cagney <cagney@redhat.com>
3028
3029 * frame.h (deprecated_pc_in_call_dummy): Rename
3030 generic_pc_in_call_dummy.
3031 * dummy-frame.h (pc_in_dummy_frame): Delete declaration.
3032 * dummy-frame.c (deprecated_pc_in_call_dummy): Rename
3033 generic_pc_in_call_dummy.
3034 (pc_in_dummy_frame): Make static.
3035 * gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Update.
3036 * gdbarch.h, gdbarch.c: Re-generate.
3037 * dummy-frame.c (dummy_frame_sniffer): Simplify.
3038 * frame.c (frame_type_from_pc): Call deprecated_pc_in_call_dummy.
3039 (legacy_get_prev_frame): Ditto.
3040 * inferior.h: Delete reference to generic_pc_in_call_dummy in
3041 comment.
8718a420 3042
ca4bb888
AC
30432004-03-21 Andrew Cagney <cagney@redhat.com>
3044
244675f9
AC
3045 * inferior.h (deprecated_pc_in_call_dummy_at_entry_point): Delete
3046 declaration and out-of-date comment.
3047 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
3048 Delete function.
3049 * mn10300-tdep.c (mn10300_gdbarch_init): Do not set
3050 deprecated_pc_in_call_dummy.
3051
ca4bb888
AC
3052 * infrun.c (handle_inferior_event): For non legacy frames, use the
3053 frame ID and frame type to identify a signal trampoline. Update
3054 comments.
3055
1777c7b4
NW
30562004-03-21 Nathan J. Williams <nathanw@wasabisystems.com>
3057
3058 * mipsnbsd-tdep.c: Update copyright. Include "mips-tdep.h".
3059 * Makefile.in (mipsnbsd-tdep.o): Update dependencies.
3060
82417da5
AC
30612004-03-21 Andrew Cagney <cagney@redhat.com>
3062
3063 * frame-unwind.h: Update copyright.
3064 (struct frame_data): Add opaque declaration.
3065 (frame_sniffer_ftype): Declare.
3066 (struct frame_unwind): Add "unwind_data" and "sniffer".
3067 (frame_unwind_register_unwinder): Declare.
3068 (frame_unwind_find_by_frame): Add parameter "this_cache".
3069 * frame.c (get_frame_id, create_new_frame, legacy_get_prev_frame)
3070 (legacy_get_prev_frame, legacy_get_prev_frame)
3071 (get_frame_type): Pass the prologue_cache to
3072 frame_unwind_find_by_frame.
3073 * frame-unwind.c (struct frame_unwind_table_entry): Add field
3074 "unwinder".
3075 (frame_unwind_register_unwinder): New function.
3076 (frame_unwind_find_by_frame): Handle an unwind sniffer.
3077
b2ba182e
PH
30782004-03-20 Paul Hilfinger <hilfingr@nile.gnat.com>
3079
3080 * bcache.c (print_percentage): Use floating point to avoid
3081 incorrect results when portion*100 overflows.
3082
81332287
KB
30832004-03-19 Kevin Buettner <kevinb@redhat.com>
3084
3085 * ppc_tdep.h (ppc_linux_frame_saved_pc)
3086 (ppc_linux_init_extra_frame_info)
3087 (ppc_linux_frameless_function_invocation)
3088 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain)
3089 (rs6000_frame_saved_pc, rs6000_init_extra_frame_info)
3090 (rs6000_frameless_function_invocation, rs6000_frame_init_saved_regs)
3091 (rs6000_frame_chain): Delete declarations.
3092 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc)
3093 (ppc_linux_init_extra_frame_info)
3094 (ppc_linux_frameless_function_invocation)
3095 (ppc_linux_frame_init_saved_regs, ppc_linux_frame_chain): Delete.
3096 (ppc_linux_init_abi): Remove registration of above deleted functions.
3097 * rs6000-tdep.c (rs6000_init_extra_frame_info)
3098 (rs6000_frame_init_saved_regs, rs6000_init_frame_pc_first)
3099 (rs6000_frame_args_address, rs6000_saved_pc_after_call)
3100 (rs6000_pop_frame, rs6000_frameless_function_invocation)
3101 (rs6000_frame_saved_pc, rs6000_frame_chain): Delete.
3102 (rs6000_gdbarch_init): Remove registration of above deleted functions.
3103 Use rs6000_unwind_pc(), rs6000_frame_sniffer(),
3104 rs6000_unwind_dummy_id(), and rs6000_frame_base_sniffer() for
3105 frame management for all OSABIs.
3106
61a65099
KB
31072004-03-19 Andrew Cagney <cagney@redhat.com>
3108
3109 Committed by Kevin Buettner <kevinb@redhat.com>.
3110
3111 * ppc-linux-tdep.c: Include "trad-frame.h", and "frame-unwind.h".
3112 Update copyright.
3113 (struct ppc_linux_sigtramp_cache, ppc_linux_sigtramp_cache)
3114 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
3115 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
3116 (ppc_linux_init_abi): Add both 32- and 64-bit signal trampoline
3117 unwinders. #ifdef legacy frame code.
3118 * rs6000-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
3119 "frame-base.h".
3120 (rs6000_unwind_pc, rs6000_unwind_dummy_id)
3121 (struct rs6000_frame_cache, rs6000_frame_cache)
3122 (rs6000_frame_this_id, rs6000_frame_prev_register)
3123 (rs6000_frame_sniffer, rs6000_frame_unwind)
3124 (rs6000_frame_base_address, rs6000_frame_base_sniffer)
3125 (rs6000_frame_base): Implement a traditional frame unwinder.
3126 (rs6000_gdbarch_init): When unknown, NetBSD, or GNU/Linux use the
3127 frame unwinder.
3128
88f7da05
KB
31292004-03-19 Kevin Buettner <kevinb@redhat.com>
3130
3131 * breakpoint.c (adjust_breakpoint_address): Don't adjust
3132 breakpoint address for watchpoints or the catch eventpoints.
3133 Add new paramter ``bptype''. Adjust all callers.
3134
f826dce1
AC
31352004-03-19 Andrew Cagney <cagney@redhat.com>
3136
33cb8b0f
AC
3137 * config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
3138
f826dce1
AC
3139 * PROBLEMS: Delete note that ARM does not use frame code, problem
3140 fixed.
3141
43b1ab88
AC
31422004-03-18 Andrew Cagney <cagney@redhat.com>
3143
292ab034
AC
3144 * stack.c (return_command): Delete code wrapped in #ifdef
3145 DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
3146
43b1ab88
AC
3147 * rs6000-tdep.c (skip_prologue): Record only the first LR save.
3148
dbfe4626
AC
31492004-03-18 Andrew Cagney <cagney@redhat.com>
3150
3151 * config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
3152 DEPRECATED_IN_SIGTRAMP.
3153 * config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3154 * config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
3155 * config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3156 * config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3157 * config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3158 * config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3159 * config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3160 * config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
3161 * arch-utils.c (legacy_pc_in_sigtramp): Ditto.
3162 * arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
3163
0cad6aec
AC
31642004-03-18 Andrew Cagney <cagney@redhat.com>
3165
3166 * frame-base.c: Update copyright. Include "gdb_obstack.h".
3167 (struct frame_base_table_entry): Define.
3168 (struct frame_base_table): Re-implement as a linked list.
3169 (frame_base_init): Re-implement.
3170 (frame_base_table): Delete function.
3171 (append_predicate): Delete function.
3172 (frame_base_append_sniffer): Update.
3173 (frame_base_set_default): Update.
3174 (frame_base_find_by_frame): Update.
3175 (_initialize_frame_base): Use gdbarch_data_register_pre_init.
3176 * Makefile.in (frame-base.o): Update dependencies.
3177
9982c2e7
AC
31782004-03-17 Andrew Cagney <cagney@redhat.com>
3179
3180 * frame.c (legacy_get_prev_frame): Pass correct frame to
3181 frame_unwind_find_by_frame.
3182
8dfe8985
DC
31832004-03-17 David Carlton <carlton@kealia.com>
3184
3185 * NEWS: Mention C++ nested types and namespaces
3186
ed47347a
MC
31872004-03-16 Michael Chastain <mec.gnu@mindspring.com>
3188
3189 * PROBLEMS: Add section headers, "Regressions since gdb 6.0"
3190 and "Regressions since gdb 5.3.". Add known regressions since
3191 gdb 6.0.
3192
90aeadfc
DC
31932004-03-16 David Carlton <carlton@kealia.com>
3194
3195 * dwarf2read.c (process_structure_scope): Process children even
3196 when we're a declaration.
3197
73912b9b
AC
31982004-03-16 Andrew Cagney <cagney@redhat.com>
3199
3200 * symtab.h (find_pc_sect_partial_function): Delete declaration.
3201 * blockframe.c (find_pc_partial_function)
3202 (find_pc_sect_partial_function): Merge into a single
3203 find_pc_partial_function.
3204
283accbc
MK
32052004-03-16 Mark Kettenis <kettenis@gnu.org>
3206
3207 * i386bsd-nat.c: s/regno/regnum/g.
3208 (fetch_inferior_registers): Use I386_ST0_REGNUM instead of
3209 FP0_REGNUM.
3210 (store_inferior_registers): Likewise.
3211
f5b1afdf
MK
32122004-03-16 Mark Kettenis <kettenis@gnu.org>
3213
3214 * i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
3215 of i387_fill_fsave.
3216 (store_inferior_registers): Call i387_collect_fsave and
3217 i387_collect_fxsave instead of i387_fill_fsave and
3218 i387_fill_fxsave.
3219
41fe5eb3
AC
32202004-03-15 Andrew Cagney <cagney@redhat.com>
3221
3222 * Makefile.in (frame-unwind.o): Update dependencies.
3223 * frame-unwind.c: Include "gdb_obstack.h".
3224 (frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
3225 parameter.
3226 (append_predicate): Delete function.
3227 (struct frame_unwind_table_entry): New structure.
3228 (struct frame_unwind_table): Replace "sniffer" with "head" and
3229 "tail".
3230 (frame_unwind_append_sniffer): Update.
3231 (frame_unwind_find_by_frame): Update.
3232 (_initialize_frame_unwind): Registe frame_unwind_init using
3233 gdbarch_data_register_pre_init.
3234
3f63813d
MK
32352004-03-15 Mark Kettenis <kettenis@gnu.org>
3236
3237 * i386bsd-nat.c: Update copyright year.
3238 (CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
3239 define unconditionally.
3240
3248c325 32412004-03-15 Mark Kettenis <kettenis@gnu.org>
63b6c53f
MK
3242
3243 * i387-tdep.h (i387_collect_fsave): New prototype.
3244 * i387-tdep.c (i387_collect_fsave): New function containing most
3245 of the code from i387_fill_fsave.
3248c325 3246 (i387_fill_fsave): Call i387_collect_fsave.
63b6c53f 3247
871fbe6a
MK
32482004-03-15 Mark Kettenis <kettenis@gnu.org>
3249
3250 * i386-linux-tdep.c: Update copyright year.
3251 (i386_linux_svr4_fetch_link_map_offsets): Remove function.
3252 (i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
3253 svr4_ilp32_link_map_offsets instead of
3254 i386_linux_svr4_fetch_link_map_offsets.
3255
8176b9b8
DC
32562004-03-15 David Carlton <carlton@kealia.com>
3257
3258 Fix for PR c++/1553:
3259 * dwarf2read.c (read_structure_type): Determine type name by
3260 calling determine_class_name.
3261 (determine_class_name): New.
3262 (determine_prefix): Look at TYPE_TAG_NAME and call
3263 determine_class_name when appropriate.
3264 (determine_prefix_aux, class_name): Delete.
9d58e29d 3265 (read_namespace): Set die->type.
8176b9b8 3266
fe8bf7d7
KB
32672004-03-15 Kevin Buettner <kevinb@redhat.com>
3268
3269 * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete
3270 unused macro definition. The definition in target.h (or perhaps
3271 elsewhere) takes precedence.
3272
ed6edd9b
AC
32732004-03-15 Andrew Cagney <cagney@redhat.com>
3274
f9be684a
AC
3275 * ppc-tdep.h: Update copyright.
3276 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change
3277 function signatures to match "regsets.h".
3278 * ppc-linux-tdep.c: Include "regset.h".
3279 (ELF_GREGSET_SIZE): Delete.
3280 (right_supply_register): New function.
3281 (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite
3282 using right_supply_register.
3283 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New
3284 functions.
3285 (ppc64_linux_gregset, ppc32_linux_gregset): Define.
3286 (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section.
3287 (_initialize_ppc_linux_tdep): Do not register
3288 ppc_linux_regset_core_fns.
3289 (ppc_linux_regset_from_core_section): Replace
3290 fetch_core_registers.
3291 (ppc_linux_regset_core_fns): Delete.
3292 * ppc-linux-nat.c: (right_fill_reg): New function.
3293 (supply_gregset): Update call to ppc_linux_supply_gregset.
3294 (fill_gregset): Clear the register set, use right_fill_reg.
3295 (supply_fpregset): Update call to ppc_linux_supply_fpregset.
3296 (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.
3297
ed6edd9b
AC
3298 * rs6000-tdep.c (rs6000_register_virtual_type): Make registers
3299 unsigned.
3300
030f20e1
AC
33012004-03-15 Andrew Cagney <cagney@redhat.com>
3302
3303 * gdbarch.sh (gdbarch_data_pre_init_fytpe)
3304 (gdbarch_data_register_pre_init, gdbarch_data_post_init_fytpe)
3305 (gdbarch_data_register_post_init): Replace gdbarch_data_init_ftype
3306 and register_gdbarch_data.
3307 (deprecated_set_gdbarch_data): Rename set_gdbarch_data.
3308 (struct gdbarch_data): Replace "init" by "pre_init" and
3309 "post_init".
3310 * gdbarch.h, gdbarch.c: Re-generate.
3311 * dwarf2-frame.c (dwarf2_frame_init): Replace "gdbarch" paramter
3312 with"obstack", use OBSTACK_ZALLOC.
3313 (dwarf2_frame_ops): Delete.
3314 (dwarf2_frame_set_init_reg): Use gdbarch_data.
3315 (dwarf2_frame_init_reg): Use gdbarch_data.
3316 (_initialize_dwarf2_frame): Use gdbarch_data_register_pre_init.
8718a420 3317 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets)
030f20e1
AC
3318 (_initialize_svr4_solib): Update.
3319 * user-regs.c (_initialize_user_regs): Update.
3320 * reggroups.c (_initialize_reggroup): Update.
3321 * regcache.c (_initialize_regcache): Update.
3322 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Update.
3323 * libunwind-frame.c (_initialize_libunwind_frame): Update.
3324 * gnu-v3-abi.c (init_gnuv3_ops): Update.
3325 * frame-unwind.c (_initialize_frame_unwind): Update.
3326 * frame-base.c (_initialize_frame_base): Update.
3327 * user-regs.c (user_reg_add): Update.
3328 * reggroups.c (reggroup_add): Update.
3329 * mips-linux-tdep.c (set_mips_linux_register_addr): Update.
3330 * libunwind-frame.c (libunwind_frame_set_descr): Update.
3331 * frame-unwind.c (frame_unwind_append_sniffer): Update.
3332 * frame-base.c (frame_base_table): Update.
3333 * remote.c (_initialize_remote): Update.
3334 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Define.
8718a420 3335
3111a3fc
AC
33362004-03-15 Andrew Cagney <cagney@redhat.com>
3337
3338 * cris-tdep.c (bfd_lookup_symbol): Delete unused function.
3339
5ecb7103
KB
33402004-03-15 Kevin Buettner <kevinb@redhat.com>
3341
3342 * Makefile.in (frv-linux-tdep.o): Add dependencies.
3343 * frv-linux-tdep.c: New file.
3344 * frv-tdep.c (struct gdbarch_tdep): Add new field
3345 ``sigcontext_reg_addr''.
3346 (frv_set_sigcontext_reg_addr, frv_sigtramp,frame_cache)
3347 (frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
3348 (frv_sigramp_frame_sniffer): New functions.
3349 (frv_sigtramp_frame_unwind): New static global.
3350 (frv_gdbarch_init): Hook in ABI-specific overrides. Hook up frame
3351 sniffers.
3352 * frv-tdep.h (frv_set_sigcontext_reg_addr): New function.
3353 * config/frv/frv.mt (TDEPFILES): Add frv-linux-tdep.o.
3354
1ccda5e9
KB
33552004-03-15 Kevin Buettner <kevinb@redhat.com>
3356
3357 * frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
3358 but not via a call to error(), when unable to read memory.
3359
b375a0a5
KB
33602004-03-15 Kevin Buettner <kevinb@redhat.com>
3361
3362 * frv-tdep.c (frv_call_dummy_words): Delete.
3363 (frv_frame_unwind_cache): Delete unused variable, ``prev_sp''.
3364
4fdf6121
AC
33652004-03-15 Andrew Cagney <cagney@redhat.com>
3366
3367 * infrun.c (handle_step_into_function, step_over_function): Only
3368 update and use STEP_FRAME_ID when the system is using legacy
3369 frames. Update comments.
3370
34021503
MK
33712004-03-14 Mark Kettenis <kettenis@gnu.org>
3372
187e21d1
MK
3373 * amd64-linux-tdep.h: Remove file.
3374 * amd64-linux-tdep.c: Don't include "inferior.h" and
3375 "amd64-linux-tdep.h". Include "frame.h" and "solib-svr4.h".
3376 (USER_R15, USER_R14, USER_R13, USER_R12, USER_RBP, USER_RBX)
3377 (USER_R11, USER_R10, USER_R9, USER_R8, USER_RAX, USER_RCX)
3378 (USER_RDX, USER_RSI, USER_RDI, USER_RIP, USER_CS, USER_EFLAGS)
3379 (USER_RSP, USER_SS, USER_DS, USER_ES, USER_FS, USER_GS): Remove
3380 macros.
3381 (user_to_gdb_regmap): Remove variable.
3382 (amd64_linux_gregset_reg_offset): New variable.
3383 (amd64_core_fns): Remove variable.
3384 (fetch_core_registers): Remove function.
3385 (amd64_linux_supply_gregset, amd64_linux_fill_gregset): Remove
3386 functions.
3387 (_initialize_amd64_linux_tdep): Don't set add_core_fns.
3388 * amd64-linux-nat.c: Don't include "amd64-linux-tdep.h".
3389 * Makefile.in (amd64_linux_tdep_h): Remove.
3390 (amd64-linux-nat.o): Update dependencies.
3391 (amd64-linux-tdep.o): Update dependencies.
3392
99679982
MK
3393 * amd64-linux-nat.c (GETFPREGS_SUPPLIES): Remove macro.
3394 (fetch_regs, fetch_fpregs, store_regs, store_fpregs): Remove
3395 functions.
3396 (fetch_inferior_registers, store_inferior_registers): Rewrite.
3397
34021503
MK
3398 * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
3399 * amd64-tdep.c (amd64_fill_fxsave): Remove function.
3400
134d01f1
DJ
34012004-03-14 Daniel Jacobowitz <drow@mvista.com>
3402
3403 * dwarf2read.c (read_structure_type): Rename from
8718a420 3404 read_structure_scope. Don't create a symbol or call process_die.
134d01f1
DJ
3405 Return immediately if die->type is set. Call read_type_die before
3406 dwarf2_add_member_fn.
3407 (process_structure_scope): New function.
3408 (read_enumeration_type, process_enumeration_scope): New functions,
3409 broken out from read_enumeration. Don't create the enumeration
3410 type if it has already been created.
3411 (read_enumeration): Removed.
3412 (process_die): Call read_structure_type, process_structure_scope,
3413 read_enumeration_type, and process_enumeration_scope. Just call
3414 new_symbol for base and subrange types. Add a comment about other
3415 type dies.
3416 (read_type_die): Call read_enumeration_type.
3417 (add_partial_structure, new_symbol): Update comments.
3418
65760afb
SC
34192004-03-13 Stephane Carrez <stcarrez@nerim.fr>
3420
3421 * m68hc11-tdep.c (m68hc11_register_name): Get soft reg information.
3422
10f59415
SC
34232004-03-13 Stephane Carrez <stcarrez@nerim.fr>
3424
3425 * tui/tui-win.h (tui_get_cmd_list): Declare.
3426 * tui/tui-win.c (tui_command): New function.
3427 (tui_get_cmd_list): New function.
3428 (_initialize_tui_win): Moved initialization of tui command in
3429 tui_get_cmd_list.
3430
3431 * tui/tui-data.c (init_content_element): Setup new data members.
3432 (init_win_info): Likewise.
3433 (free_content_elements): Free it.
3434 * tui/tui-data.h (struct tui_data_element): Store the register
3435 content to print.
3436 (struct tui_data_info): Keep the current register group.
3437
3438 * tui/tui-layout.c (tui_set_layout): Update call to tui_show_registers.
3439
3440 * tui/tui-regs.h (tui_show_registers): Update prototype.
3441 (tui_toggle_float_regs, tui_calculate_regs_column_count): Remove.
3442 (tui_resize_all): No need to calculate anything for register window.
3443 * tui/tui-regs.c (tui_calculate_regs_column_count): Remove.
3444 (tui_set_register_element, tui_set_general_regs_content): Remove.
3445 (tui_set_special_regs_content): Remove.
3446 (tui_set_general_and_special_regs_content): Remove.
3447 (tui_set_float_regs_content): Remove.
3448 (tui_reg_value_has_changed, tui_get_register_raw_value): Remove.
3449 (tui_set_regs_content): Remove.
3450 (tui_toggle_float_regs, _tui_toggle_float_regs_command): Remove.
3451 (tui_v_show_registers_command_support): Remove.
3452 (tui_show_registers): Use a reggroup to specify the registers to show.
3453 (tui_show_register_group): New function.
3454 (tui_display_registers_from): Compute the layout of register window
3455 and refresh with new API; be sure to delete old register windows.
3456 (tui_check_register_values): Update to use tui_get_register and
3457 tui_display_data.
3458 (tui_display_register): Just refresh the register window part.
3459 (tui_register_format): Format registers and save in tui_data_element.
3460 (tui_get_register): New to combine tui_reg_value_has_changed and
3461 tui_get_register_raw_value; fix to use the new gdb API.
3462 (tui_show_float_command): Renamed tui_reg_float_command.
3463 (tui_show_general_command): Renamed tui_reg_general_command.
3464 (tui_show_special_command): Renamed tui_reg_system_command.
3465 (_initialize_tui_regs): Remove unused commands.
3466
c3364ea4
MK
34672004-03-13 Mark Kettenis <kettenis@gnu.org>
3468
27d1e716
MK
3469 * NEWS (New native configurations): Mention OpenBSD/amd64.
3470
c3364ea4
MK
3471 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
3472 (PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
3473 Remove defines.
3474 * config/i386/nm-fbsd64.h: Likewise.
3475 * config/i386/nm-obsd.h: Likewise.
3476 * config/sparc/nm-fbsd.h: Likewise. Update copyright year.
3477 * config/alpha/nm-fbsd.h: Likewise. Update copyright year.
3478
b2d6d697
KB
34792004-03-12 Kevin Buettner <kevinb@redhat.com>
3480
3481 * frv-tdep.c (set_variant_scratch_registers): New function.
b2d6d697
KB
3482 * frv-tdep.h (scr0_regnum, scr1_regnum, scr2_regnum, scr3_regnum):
3483 New constants.
3484
76e43199
KB
3485 From Richard Sandiford <rsandifo@redhat.com>:
3486 * frv-tdep.c (frv_gdbarch_init): Add FR450 support.
3487
34ce532e
KB
34882004-03-12 Kevin Buettner <kevinb@redhat.com>
3489
3490 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
3491 (struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
3492 (last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
3493 (cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
3494 (tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
3495 (dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
3496 (last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
3497 (last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
3498 definitions from frv-tdep.c to frv-tdep.h.
3499
c4d10515
KB
35002004-03-12 Kevin Buettner <kevinb@redhat.com>
3501
3502 Add shared library support for FR-V FDPIC ABI:
3503 * Makefile.in (solib-frv.o): Add dependencies.
3504 * frv-tdep.c (find_func_descr, frv_convert_from_func_ptr_addr):
3505 New functions.
3506 (frv_push_dummy_call): Add support for FDPIC ABI.
3507 (frv_gdbarch_init): Call set_gdbarch_convert_from_func_ptr_addr()
3508 for FDPIC ABI.
3509 * frv-tdep.h (frv_fdpic_find_global_pointer): Declare.
3510 (frv_fdpic_find_canonical_descriptor): Declare.
3511 * solib-frv.c: New file.
3512 * config/frv/frv.mt (TDEPFILES): Add solib.o and solib-frv.o.
3513 * config/frv/tm-frv.h (solib.h): Include.
3514
ed1bd989
KB
35152004-03-12 Kevin Buettner <kevinb@redhat.com>
3516
3517 * Makefile.in (elf_frv_h, frv_tdep_h): Define.
3518 (frv-tdep.o): Update dependencies.
3519 * frv-tdep.h: New file.
3520 * frv-tdep.c (elf-bfd.h, elf/frv.h, osabi.h, frv-tdep.h): Include.
3521 (fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum): New
3522 constants.
3523 (struct gdbarch_tdep): Add new member ``frv_abi''.
3524 (frv_abi, frv_fdpic_loadmap_addresses, set_variant_abi_fdpic): New
3525 functions.
3526 (new_variant): Set ``frv_abi'' field.
3527 (gdb_arch_init): Detect FDPIC executables.
3528
82b38f72
MK
35292004-03-12 Mark Kettenis <kettenis@gnu.org>
3530
3531 * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
3532 wrapper.
3533
db1ea9ba
AC
35342004-03-11 Andrew Cagney <cagney@redhat.com>
3535
3536 * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
3537
f8766ec1
KB
35382004-03-11 Kevin Buettner <kevinb@redhat.com>
3539
3540 * solist.h (master_so_list): New function.
3541 * solib.c (master_so_list): Likewise.
3542 * solib-svr4.c (enable_break): Iterate over so_list entries
3543 obtained from master list instead of entries obtained directly
3544 via svr4_current_sos().
3545
523f6a27
BE
35462004-03-10 Ben Elliston <bje@gnu.org>
3547
3548 * MAINTAINERS: Update my mail address.
3549
37814c18
KI
35502004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
3551
3552 * remote-m32r-sdi.c: Support hardware watchpoint.
3553
8b9740d8
DJ
35542004-03-09 Daniel Jacobowitz <drow@mvista.com>
3555
3556 * user-regs.c: Update copyright years.
3557 (struct user_regs): Rename to gdb_user_regs.
3558 (append_user_reg, builtin_user_regs, user_regs_init)
3559 (user_reg_add, user_reg_map_name_to_regnum)
3560 (usernum_to_user_reg): Update.
3561
4bb7a0a7
DJ
35622004-03-09 Daniel Jacobowitz <drow@mvista.com>
3563
3564 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
3565 (skip_children): New functions.
3566 (locate_pdi_sibling): Call skip_children.
3567
44e1a9eb
DJ
35682004-03-09 Daniel Jacobowitz <drow@mvista.com>
3569
3570 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
3571 * gdbtypes.c (check_typedef): Update comments.
3572
f3dd6933
DJ
35732004-03-09 Daniel Jacobowitz <drow@mvista.com>
3574
3575 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
3576 (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
3577 pointer. Update comment about comp_unit_head.
3578 (struct abbrev_info): Shorten two int flags.
3579 (dwarf_alloc_abbrev): Take a CU argument.
3580 (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
3581 each time through the loop. Update cleanup argument.
3582 (psymtab_to_symtab_1): Update cleanup call.
3583 (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
3584 abbrev_obstack.
3585 (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
3586 Just call obstack_free and clear the pointer.
3587
b40c7d58
DJ
35882004-03-09 Daniel Jacobowitz <drow@mvista.com>
3589
3590 * infrun.c (handle_inferior_event): Remove short-circuit code for
3591 events in a different thread.
3592
333dabeb
DJ
35932004-03-09 Daniel Jacobowitz <drow@mvista.com>
3594
3595 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
3596 print the whole transfer.
3597 (initialize_targets): Update description of "set debug target".
3598
aa17d93e
DJ
35992004-03-09 Daniel Jacobowitz <drow@mvista.com>
3600
3601 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
3602
0b71f08f
NW
36032004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
3604
3605 * MAINTAINERS (write after approval): Add myself.
3606
3930f270
CV
36072004-03-08 Corinna Vinschen <vinschen@redhat.com>
3608
3609 * sh-tdep.c (sh_print_registers_info): Use for loop.
3610 Don't skip multiple registers when a float register is encountered.
3611
a2b4a96c
CV
36122004-03-08 Corinna Vinschen <vinschen@redhat.com>
3613
3614 Fix PR tdep/1291.
3615 * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
3616 to official SH documentation.
3617
f15a4bc0
AC
36182004-03-07 Andrew Cagney <cagney@redhat.com>
3619
3620 * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
3621 unused function.
3622
9498281f
DJ
36232004-03-07 Daniel Jacobowitz <drow@mvista.com>
3624
3625 * arm-tdep.c (thumb_get_next_pc): Handle BX.
3626 (arm_get_next_pc): Handle BX and BLX.
3627
449e1137
AC
36282004-03-07 Andrew Cagney <cagney@redhat.com>
3629
eded0a31
AC
3630 * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
3631 FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
3632 HPPA_SP_REGNUM.
3633 (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
3634 (hppa_target_read_fp): Delete.
3635 (hppa_gdbarch_init): Do not set deprecated register_raw_size,
3636 register_virtual_size, max_register_raw_size,
3637 max_register_virtual_size, register_byte, register_size,
3638 target_read_fp, fp_regnum, and register_bytes. Set register_type
3639 instead of register_virtual_type.
3640 (hppa32_register_type, hppa64_register_type): Replace
3641 hppa32_register_virtual_type and hppa64_register_virtual_type.
3642 * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
3643 (HPPA_FP_REGNUM): Define.
3644
f5f907e2
AC
3645 * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
3646
69b4bbe4
AC
3647 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
3648 (pa_do_registers_info): Delete.
3649 * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
8718a420 3650 (pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
69b4bbe4 3651 (pa_strcat_fp_reg, pa_register_look_aside): Delete.
f5f907e2 3652
78161e48
AC
3653 * infcall.c (legacy_push_dummy_code): Delete #ifdef
3654 GDB_TARGET_IS_HPPA code.
3655 * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
8718a420 3656 (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
78161e48
AC
3657 (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
3658 * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
8718a420
RM
3659 * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
3660 (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
3661 (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
78161e48 3662 (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
8718a420
RM
3663 (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
3664 (hppa_frameless_function_invocation, hppa64_store_return_value)
3665 (hppa_store_struct_return, hppa64_extract_return_value)
78161e48 3666 (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
8718a420 3667 (hppa32_call_dummy_length, hppa64_call_dummy_length)
78161e48 3668 (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
8718a420
RM
3669 (find_proc_framesize, deposit_21, restore_pc_queue)
3670 (find_return_regnum, pc_in_interrupt_handler, deposit_14)
210197d2 3671 (rp_saved, pc_in_linker_stub): Delete.
78161e48 3672
782eae8b
AC
3673 Unconditionally enable 64-bit frame and ABI code.
3674 * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
3675 call_dummy_breakpoint_offset, call_dummy_length, stack_align,
3676 push_dummy_frame, fix_call_dummy, push_arguments,
3677 call_dummy_location, extract_return_value, use_struct_convention,
3678 store_return_value, store_struct_return, saved_pc_after_call,
3679 init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
3680 frame_chain, frame_chain_valid, frameless_function_invocation,
3681 frame_saved_pc, and pop_frame.
78161e48 3682
449e1137
AC
3683 * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
3684 (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
3685 (hppa_gdbarch_init): Do not set PC_REGNUM.
3686
12507572
MK
36872004-03-06 Mark Kettenis <kettenis@gnu.org>
3688
3689 * config/alpha/tm-fbsd.h: Remove file.
3690 * config/alpha/fbsd.mt: Tweak comment.
3691 (TM_FILE): Set to tm-alpha.h.
3692
c107cc1b
AC
36932004-03-05 Andrew Cagney <cagney@redhat.com>
3694
3695 * infrun.c (step_over_function): When non-legacy code, and no
3696 step_frame_id, use the unwinder to get the caller's frame ID.
3697
f2e7c15d
MK
36982004-03-05 Mark Kettenis <kettenis@gnu.org>
3699
8b0c3633
MK
3700 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
3701 i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
3702 bfd_arch_unknown. Adjust comment.
3703
f2e7c15d
MK
3704 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
3705 * i386obsd-tdep.c: Correct spelling in comment.
3706 * i386nbsd-tdep.c: Correct spelling in comment.
3707 * sparc-tdep.c: Correct spelling in comments.
3708
1198ecbe
DC
37092004-03-05 David Carlton <carlton@kealia.com>
3710
3711 * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
3712 bug.
3713
9eb42ed1
MK
37142004-03-05 Mark Kettenis <kettenis@gnu.org>
3715
3716 * sparc-tdep.c: Fix typo in comment.
3717
52b5e991
JB
37182004-03-04 J. Brobecker <brobecker@gnat.com>
3719
3720 * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
3721
d8151005
DJ
37222004-03-04 Daniel Jacobowitz <drow@mvista.com>
3723
3724 * dwarf2read.c: Add comment describing memory lifetimes.
3725 (struct dwarf2_pinfo): Update comment.
3726 (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
3727 (read_enumeration, new_symbol): Don't use obsavestring.
3728
cbeae229
MK
37292004-03-04 Mark Kettenis <kettenis@gnu.org>
3730
722d18c2
MK
3731 * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
3732 instead of amd64_fill_fxsave.
3733 * amd64bsd-nat.c (store_inferior_registers): Likewise.
3734 * amd64fbsd-nat.c (fill_fpregset): Likewise.
3735
cbeae229
MK
3736 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
3737 Reorganize code a bit.
3738
b4206d25
OF
37392004-03-04 Orjan Friberg <orjanf@axis.com>
3740
3741 * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
8718a420
RM
3742 when the frame pointer is pushed. Don't set the frame pointer's
3743 address on the stack unless it's actually located there.
b4206d25
OF
3744 Set the SRP's address on the stack correctly when the PC is still in
3745 the prologue.
3746 (cris_return_value): New function.
3747 (cris_gdbarch_init): Clear deprecated store_return_value,
3748 extract_return_value.
3749
49b0b195
JB
37502004-03-02 Jim Blandy <jimb@redhat.com>
3751
3752 * stabsread.c (reg_value_complaint): The maximum register number
3753 is one less than the number of registers.
3754
e9ff708b
AC
37552004-03-02 Andrew Cagney <cagney@redhat.com>
3756
3757 * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
3758 I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove
3759 trailing comma and redundant assignment of I386_ST0_REGNUM.
3760 * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
3761 32-bit segment registers.
3762
d4715e41
AC
37632004-03-01 Andrew Cagney <cagney@redhat.com>
3764
3765 * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
3766 use frame_relative_level and get_next_frame.
3767
3ce2bf18
AC
37682004-02-29 Andrew Cagney <cagney@redhat.com>
3769
3770 * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
3771 (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
3772 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
3773 Delete macro.
3774
2da6aac3
DJ
37752004-02-29 Daniel Jacobowitz <drow@mvista.com>
3776
3777 * inflow.c (terminal_inferior): Don't give up the terminal if we
3778 previously couldn't get the inferior's terminal state.
3779
6ba34a8d
DJ
37802004-02-29 Daniel Jacobowitz <drow@mvista.com>
3781
3782 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
3783 PC_REGNUM.
3784
faae5abe
AC
37852004-02-28 Andrew Cagney <cagney@redhat.com>
3786
3787 * NEWS: Refer to GDB 6.1.
3788 * README: Refer to GDB 6.1.
3789 * PROBLEMS: Refer to GDB 6.1.
3790
2227a3c5
DJ
37912004-02-28 Daniel Jacobowitz <drow@mvista.com>
3792
3793 * thread-db.c (disable_thread_signals): Remove unused function.
3794
80571bff
MK
37952004-02-28 Mark Kettenis <kettenis@gnu.org>
3796
041bd74b
MK
3797 * amd64-nat.c: Include "gdb_string.h".
3798 (amd64_collect_native_gregset): Zero-extend the 32-bit
3799 general-purpose registers and %eip.
3800
3c017e40
MK
3801 * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
3802 * amd64-tdep.c (amd64_collect_fxsave): New function.
3803 (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
3804
80571bff
MK
3805 * i387-tdep.h: Update copyright year.
3806 (i387_collect_fxsave): New prototype.
3807 * i387-tdep.c: Update copyright year.
3808 (i387_collect_fxsave): New function containing most of the code
3809 from i387_fill_fxsave.
3810 (i387_fill_fxsave): Call i387_collect_fxsave.
3811
50d71875
AC
38122004-02-28 Andrew Cagney <cagney@redhat.com>
3813
3814 * amd64-linux-nat.c (ps_get_thread_area): When architecture is
3815 i386 use PTRACE_GET_THREAD_AREA. Suggested by Roland McGrath.
3816
4a28816e
MK
38172004-02-28 Mark Kettenis <kettenis@gnu.org>
3818
3819 * amd64-tdep.c (amd64_frame_cache): Fix comment.
3820
dbda9972
AC
38212004-02-28 Andrew Cagney <cagney@redhat.com>
3822
3823 * utils.c: Use "", instead of <>, to include readline.
3824 tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
3825 * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
3826 * source.c, solib.c, exec.c, event-top.c: Ditto.
3827 * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
3828 * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
3829 * Makefile.in: Update all dependencies.
3830 (readline_tilde_h, readline_history_h): Define.
3831 (readline_headers): Delete.
3832
83277a99
MK
38332004-02-28 Mark Kettenis <kettenis@gnu.org>
3834
91ae4303
MK
3835 * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
3836 "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
3837 "config/i386/tm-lx64.h".
3838
83277a99
MK
3839 * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
3840 "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove
3841 rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
3842
6e1d7d6c
AC
38432004-02-28 Andrew Cagney <cagney@redhat.com>
3844
ecc9ac84
AC
3845 * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
3846
6e1d7d6c
AC
3847 * breakpoint.c (_initialize_breakpoint): Use
3848 "add_setshow_auto_boolean_cmd. Better word-wrap help messages.
3849 Add help to show command.
3850
9671aeef
MK
38512004-02-28 Mark Kettenis <kettenis@gnu.org>
3852
7fa2737c
MK
3853 * i386-nat.c: Reformat to be closer to coding standards.
3854 (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
3855 `retval'. Make variables `align' and `size' local to while-loop.
3856 (i386_stopped_data_address): Rename local variable `ret' to `addr'.
3857 (_initialize_i386_nat): New prototype.
3858
9671aeef
MK
3859 * tui/tui.c: Include <readline/readline.h> instead of
3860 "readline/readline.h". Include it after <term.h> and
3861 "gdb_curses.h".
3862
fca7aa43
AC
38632004-02-27 Andrew Cagney <cagney@redhat.com>
3864
412275d5
AC
3865 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
3866 the new frame unwind code.
3867 (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
3868 (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
3869 PCOQ_HEAD_REGNUM.
3870
fca7aa43
AC
3871 * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
3872 "return_value" and "push_dummy_call".
3873 (hppa32_use_struct_convention): Delete unused function.
3874 (hppa32_store_return_value): Delete unused function.
3875 (hppa32_extract_return_value): Delete unused function.
3876 (hppa32_stack_align): Delete function.
3877
e6a8a7d2
EZ
38782004-02-27 Eli Zaretskii <eliz@elta.co.il>
3879
3880 * coffread.c (enter_linenos): Don't let rawptr reference memory
3881 outside linetab[]'s limits.
3882
1797a8f6
AC
38832004-02-27 Andrew Cagney <cagney@redhat.com>
3884
3885 * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
3886 inferior stack space - the stack needs to grow upwards.
3887 (hppa32_frame_align): New function.
3888 (hppa64_frame_align): Replace hppa_frame_align.
3889 (hppa_gdbarch_init): Update.
3890
2e4b5889
OF
38912004-02-26 Orjan Friberg <orjanf@axis.com>
3892
3893 * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
3894 (dwarf2-frame.h): Include.
3895 (enum cris_regnums): New enum CRIS_FP_REGNUM.
3896 Remove static variables related to ABI setting.
3897 (struct gdbarch_tdep): Remove cris_abi member.
3898 (struct frame_extra_info): Remove.
3899 (cris_unwind_cache, stack_item): New structs.
3900 (cris_frame_unwind, cris_frame_base): New variables.
3901 (push_stack_item, pop_stack_item)
3902 (cris_frame_unwind_cache, cris_frame_this_id)
3903 (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
3904 (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
3905 (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
3906 (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
3907 (cris_reg_struct_has_addr): New functions.
3908 (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
8718a420 3909 (cris_frame_saved_pc, cris_saved_pc_after_call,
2e4b5889
OF
3910 (cris_store_struct_return, cris_frameless_function_invocation)
3911 (cris_pop_frame, cris_skip_prologue_main)
3912 (cris_abi_original_store_return_value)
3913 (cris_abi_v2_store_return_value)
3914 (cris_abi_original_extract_return_value)
3915 (cris_abi_v2_extract_return_value)
3916 (cris_abi_original_reg_struct_has_addr)
3917 (cris_abi_v2_reg_struct_has_addr)
3918 (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
3919 (cris_push_return_address, cris_abi_update): Remove.
3920 (_initialize_cris_tdep): Remove ABI command.
3921 (cris_dump_tdep): Ditto.
8718a420 3922 (cris_gdbarch_init): Remove ABI command.
2e4b5889
OF
3923 Set store_return_value, extract_return_value, push_dummy_code,
3924 push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
3925 frame_unwind_append_sniffer, frame_base_set_default.
3926 Clear deprecated init_frame_pc, push_arguments, store_return_value,
3927 extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
3928 sizeof_call_dummy_words, get_saved_register, push_return_address,
8718a420 3929 pop_frame, store_struct_return, frame_init_saved_regs,
2e4b5889
OF
3930 init_extra_frame_info, frameless_function_invocation, frame_chain,
3931 frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
3932 dummy_write_sp.
8718a420 3933
6b9acc27
JJ
39342004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3935
3936 * valprint.h (print_hex_chars, print_char_chars): New prototypes.
3937 * valprint.c (print_hex_chars): Change from static to external.
3938 (print_char_chars): New function.
3939 * printcmd.c (print_scalar_formatted): For integer and enum types
3940 that are longer than LONGEST, perform processing via appropriate
3941 print_*_chars routines.
3942
a431654a
AC
39432004-02-26 Andrew Cagney <cagney@redhat.com>
3944
3945 * Makefile.in: Update dependencies.
3946 Changes from Ulrich Weigand,
3947 * s390-tdep.c: Include "dwarf2-frame.h".
3948 (s390_dwarf2_frame_init_reg): New function.
3949 (s390_gdbarch_init): Install dwarf2_frame_sniffer and
3950 dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
3951
fa8d40ab
JJ
39522004-02-26 Jeff Johnston <jjohnstn@redhat.com>
3953
3954 * breakpoint.c (pending_break_support): New setting variable.
3955 (break_command_1): Account for pending_break_support setting
3956 when creating pending breakpoints.
3957 (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
3958 (_initialize_breakpoint): Add "set breakpoint pending" and
3959 "show breakpoint pending" commands.
3960
0dcd613f
AC
39612004-02-26 Andrew Cagney <cagney@redhat.com>
3962
3963 Fix PR i18n/1570.
3964 * charset.c (backslashable, backslashed, represented): Remove 'e'
3965 from list of escaped characters, not part of ISO-C.
3966
479272a3
JB
39672004-02-25 J. Brobecker <brobecker@gnat.com>
3968
3969 From Peter Schauer <schauer@pdf.de>:
3970 * tui/tui.c: Move system header includes after local includes.
3971 Fixes a build failure on solaris systems.
3972
7613d933
JB
39732004-02-25 J. Brobecker <brobecker@gnat.com>
3974
3975 * configure.in: Refine the previous change.
3976 * configure: Regenerate.
3977
9c1488cb
MK
39782004-02-25 Mark Kettenis <kettenis@gnu.org>
3979
3980 * amd64-tdep.h: Renamed from x86-64-tdep.h.
3981 * amd64-tdep.c: Renamed from x86-64-tdep.c. Include
3982 "amd64-tdep.h" instead of "x86-64-tdep.h".
3983 * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
3984 * amd64-linux-tdep.h: Renamed from x86-64-linux.h.
3985 * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include
3986 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
3987 and "x86-64-tdep.c".
3988 * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include
3989 "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
3990 and "x86-64-tdep.c".
3991 * amd64bsd-nat.c: Update copyright year.
3992 Include "amd64-tdep.h" instead of "x86-64-tdep.h".
3993 * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
3994 "x86-64-tdep.h".
3995 * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
3996 "x86-64-tdep.h".
3997 * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
3998 "x86-64-tdep.h".
3999 * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
4000 "x86-64-tdep.h".
4001 * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
4002 "x86-64-tdep.h".
4003 * amd64obsd-nat.c: Include "amd64-tdep.h" instead of
4004 "x86-64-tdep.h".
8718a420 4005 * configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
9c1488cb
MK
4006 * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
4007 * Makefile.in (amd64_linux_tdep_h): Renamed from
4008 x86_64_linux_tdep_h.
4009 (amd64_tdep_h): Renamed from x86_64_tdep_h.
4010 (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
4011 (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
4012 (amd64obsd-tdep.o): Update dependencies.
4013 (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
4014 dependencies.
4015 (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
4016 dependencies.
4017 (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
4018 amd64-linux-nat.c amd64-linux-tdep.c.
4019 * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
4020 * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
4021 * config/i386/linux64.mt: Renamed from x86-64linux.mt.
4022 (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
4023 amd64-tdep.o and amd64-linux-tdep.o.
4024 (TM_FILE): Set to tm-linux64.h.
4025 * config/i386/linux64.mh: Renamed from x86-64linux.mh.
4026 (NAT_FILE): Set to nm-linux64.h.
4027 (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
4028 * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4029 amd64-tdep.o.
4030 * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4031 amd64-tdep.o.
4032 * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
4033 amd64-tdep.o.
4034
4b8dad4a
RM
40352004-02-25 Roland McGrath <roland@redhat.com>
4036
4037 * remote.c (remote_protocol_qPart_auxv): New variable.
4038 (init_all_packet_configs): Initialize it.
4039 (set_remote_protocol_qPart_auxv_packet_cmd): New function.
4040 (show_remote_protocol_qPart_auxv_packet_cmd): New function.
4041 (show_remote_cmd): Call it.
4042 (_initialize_remote): Initialize commands.
4043 (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
4044 service TARGET_OBJECT_AUXV requests.
4045
66745969
JB
40462004-02-25 J. Brobecker <brobecker@gnat.com>
4047
4048 * configure.in: Make sure that the wborder function is available.
4049 Otherwise, search for it in the cur_colr library.
4050 * configure: Regenerate.
4051
79508e1e
AC
40522004-02-25 Andrew Cagney <cagney@redhat.com>
4053
4054 * hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
4055
571ee600
MK
40562004-02-25 Mark Kettenis <kettenis@gnu.org>
4057
4058 * config/i386/tm-x86-64linux.h: Tweak comments.
4059
2b1b322f 40602004-02-25 Richard Sandiford <rsandifo@redhat.com>
ad74788f
RS
4061
4062 * MAINTAINERS: Add self to write-after-approval list.
4063
4d2acc65
AC
40642004-02-25 Andrew Cagney <cagney@redhat.com>
4065
4b8dad4a 4066 PR cli/1566. Problem found, and fix suggested by David Allan.
4d2acc65
AC
4067 * cli/cli-script.c (execute_control_command): Unconditionally
4068 install a cleanup. Default "ret" to "invalid_control". Use
4069 "break" instead of "return" to escape from the switch.
4070
4cfcaf21
JB
40712004-02-24 J. Brobecker <brobecker@gnat.com>
4072
4073 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
4074 with the lines macro defined in term.h on AiX.
4075 * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
4076 a collision with the label_width macro defined in term.h on AiX.
4077
54a5c8d8
KB
40782004-02-23 David Mosberger <davidm@hpl.hp.com>
4079
4080 Committed by Kevin Buettner <kevinb@redhat.com>.
4081
4082 * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
4083 * ia64-tdep.c (ia64_write_pc): Make it a global function.
4084 (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
4085 instead of ia64_write_pc().
4086 * ia64-linux-tdep.c (regcache.h): Include.
4087 (ia64_linux_write_pc): New function.
4b8dad4a 4088
8a1dac83
RM
40892004-02-23 Roland McGrath <roland@redhat.com>
4090
4091 * auxv.c (info_auxv_command): Fix typos in error messages.
4092
90f90721
MK
40932004-02-23 Mark Kettenis <kettenis@gnu.org>
4094
8a1dac83 4095 * x86-64-tdep.h: Tweak comment.
90f90721
MK
4096 (enum amd64_regnum): New.
4097 (X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
4098 (X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
4099 (X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
4100 (X86_64_XMM1_REGNUM): Removed.
4101 (AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
4102 (amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
4103 prototypes for renamed functions.
4104 * x86-64-tdep.c: Fix typo.
4105 (amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
4106 register numbers.
4107 (amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
4108 Use constants from `enum amd64_regnum' for register numbers.
4109 (AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
4110 (amd64_analyze_prologue, amd64_frame_cache,
4111 amd64_sigtramp_frame_cache): Use constants from `enum
4112 amd64_regnum' for register numbers.
4113 (amd64_supply_fpregset): Adjust for renamed functions.
4114 (amd64_init_abi): Rename from x86_64_init_abi. Use constants from
4115 `enum amd64_regnum' for register numbers.
4116 (I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
4117 (amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
4118 (amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
4119 * x86-64-linux-tdep.c (amd64_linux_supply_gregset)
4120 (amd64_linux_fill_gregset): Adjust for renamed macros.
4121 (fetch_core_registers): Adjust for renamed functions.
4122 (amd64_linux_init_abi): Adjust for renamed functions.
4123 * x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
4124 renamed functions.
4125 * amd64-nat.c: Adjust for renamed macros.
4126 * amd64bsd-nat.c (fetch_inferior_registers)
4127 (store_inferior_registers): Use constants from `enum amd64_regnum'
4128 for register numbers. Adjust for renamed variables.
4129 * amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
4130 renamed variables.
4131 (_initialize_amd64fbsd_nat): Use constants from `enum
4132 amd64_regnum' for register numbers.
4133 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
4134 `enum amd64_regnum' for register numbers.
4135 (amd64fbsd_init_abi): Adjust for renamed functions.
4136 * amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
4137 `enum amd64_regnum' for register numbers.
4138 (amd64nbsd_init_abi): Adjust for renamed functions.
4139 (_initialize_amd64nbsd_ndep): Adjust for renamed macros.
4140 * amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
4141 `enum amd64_regnum' for register numbers.
4142 (amd64obsd_init_abi): Adjust for renamed functions.
4143 (_initialize_amd64obsd_ndep): Adjust for renamed macros.
4144
d5479188
JJ
41452004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4146
4147 * breakpoint.c (print_one_breakpoint): Do not output spaces
4148 after printing <PENDING> for a pending breakpoint.
4149
81cb7cc9
JJ
41502004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4151
4152 * printcmd.c (print_scalar_formatted): Initialize val_long
4153 to remove compiler warning message.
4154
cbdeadca
JJ
41552004-02-23 Jeff Johnston <jjohnstn@redhat.com>
4156
4157 * defs.h (nquery, yquery): New prototypes.
4158 * breakpoint.c (break_command_1): Use new nquery interface.
4159 * utils.c (defaulted_query, nquery, yquery): New functions.
4160
da6bab63
AC
41612004-02-23 Andrew Cagney <cagney@redhat.com>
4162
2f690297
AC
4163 * hppa-tdep.c (hppa_frame_align): New function.
4164 (hppa32_push_dummy_call): New function.
4165 (hppa64_push_dummy_call): New function.
4166 (hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
4167 disabled.
8a1dac83 4168
da6bab63
AC
4169 * infcall.c (legacy_push_dummy_code): Don't call deprecated
4170 FIX_CALL_DUMMY when push_dummy_call is available.
4171 (call_function_by_hand, push_dummy_code): Ditto.
4172
abf9b42d
AC
41732004-02-22 Andrew Cagney <cagney@redhat.com>
4174
4175 * config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
4176 (DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
4177 (DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
4178 * hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
4179 use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
4180 call_dummy_location to ON_STACK.
4181
10fc94a4
MK
41822004-02-22 Mark Kettenis <kettenis@gnu.org>
4183
51433e4b
MK
4184 * x86-64-linux-tdep.c: Tweak comment.
4185 (amd64_linux_supply_gregset): Renamed from
4186 x86_64_linux_supply_gresget.
4187 (amd64_linux_fill_gregset): Renamed from
4188 x86_64_linux_fill_gregset.
4189 (fetch_core_registers): Adjust for renamed functions.
4190 (amd64_core_fns): Renamed from x86_64_core_fns.
4191 (amd64_linux_sigtramp_start): Renamed from
4192 x86_64_linux_sigtramp_start.
4193 (amd64_linux_pc_in_sigtramp): Renamed from
4194 x86_64_linux_pc_in_sigtramp. Adjust for renamed functions.
4195 (AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
4196 X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
4197 (amd64_linux_sigcontext_addr): Renamed from
4198 x86_64_linux_sigcontext_addr.
4199 (amd64_linux_sc_reg_offset): Renamed from
4200 x86_64_linux_sc_reg_offset.
4201 (amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
4202 Adjust for renamed functions and variables.
4203 (_initialize_amd64_linux_tdep): Renamed from
4204 _initialize_x86_64_linux_tdep. Adjust for renamed functions and
4205 variables.
4206 * x86-64-linux-tdep.h: Update copyright year. Tweak comment.
4207 Adjust for renamed functions.
4208
430eaf2e
MK
4209 * x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
4210 from x86_64_linux_gregset64_reg_offset.
4211 (amd64_linux_gregset32_reg_offset): Rename from
4212 x86_64_linux_gregset64_reg_offset.
4213 (amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
4214 (amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
4215 (amd64_linux_dr_set_control): Renamed from
4216 x86_64_linux_dr_set_control. Adjust for renamed functions.
4217 (amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
4218 Adjust for renamed functions.
4219 (amd64_linux_dr_reset_addr): Renamed from
4220 x86_64_linux_dr_reset_addr. Adjust for renamed functions.
4221 (amd64_linux_dr_get_status): Renamed from
4222 x86_64_linux_dr_get_status. Adjust for renamed functions.
4223 (_initialize_amd64_linux_nat): Renamed from
4224 _initialize_x86_64_linux_nat. Adjust for renamed variables and
4225 functions.
4226 * config/i386/nm-x86-64linux.h: Update copyright year.
4227 Adjust for renamed functions.
4228
10fc94a4
MK
4229 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
4230 amd64fbsd_sigtramp_start.
4231 (amd64fbsd_sigtramp_end_addr): Renamed from
4232 amd64fbsd_sigtramp_end.
4233 (amd64fbsd_init_abi): Adjust for renamed variables.
4234 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
4235 variables.
4236 * x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
4237 amd64fbsd_sigtramp_start.
4238 (amd64fbsd_sigtramp_end_addr): Renamed from
4239 amd64fbsd_sigtramp_end.
4240
343af405
AC
42412004-02-22 Andrew Cagney <cagney@redhat.com>
4242
537987fc
AC
4243 * hppa-tdep.c (hppa32_return_value): New function.
4244 (hppa64_return_value): New function.
4245 (hppa_gdbarch_init): Set return_value; keep disabled.
4246
fad850b2
AC
4247 * hppa-tdep.c (hppa_gdbarch_init): Re-order separating
4248 struct-return and inferior function call methods.
4249
26d08f08
AC
4250 * hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
4251 "frame-base.h".
4252 (struct hppa_frame_cache): Define.
4253 (hppa_frame_cache, hppa_frame_this_id): New functions.
4254 (hppa_frame_prev_register): New function.
4255 (hppa_frame_unwind, hppa_frame_base): New variables.
4256 (hppa_frame_unwind_sniffer): New function.
4257 (hppa_frame_base_address, hppa_unwind_pc): New function.
4258 (hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
4259 sniffer, and frame base sniffer; keep disabled.
4260 (hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
4261 * Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.
4262
e7d7bd65
AC
4263 * frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
4264 to predicates for "seriously old code".
4265
e963316f
AC
4266 * hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
4267 runtime if(0).
4268
56132691
AC
4269 * hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
4270 unsigned.
4271 (hppa_frame_find_saved_regs): Fix "std" instruction pattern
e963316f 4272
343af405
AC
4273 * config/pa/tm-hppa.h: Update copyright.
4274 (DEPRECATED_INIT_FRAME_PC): Delete macro.
4275 (deprecated_init_frame_pc_default): Delete declaration.
4276 (hppa_frame_init_saved_regs): Delete declaration.
4277 (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
4278 * hppa-tdep.c: Include "arch-utils.h".
4279 (hppa_gdbarch_init): Set deprecated init_frame_pc
4280 and deprecated frame_init_saved_regs.
4281 (hppa_frame_init_saved_regs): Make static.
4282
f5859b4d
MK
42832004-02-22 Mark Kettenis <kettenis@gnu.org>
4284
86f6f8e7 4285 Remove old 386BSD support.
cf7c5c23 4286 * NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
86f6f8e7
MK
4287 * configure.host: Remove i[34567]86-*-bsd*.
4288 * configure.tgt: Remove i[34567]86-*-bsd*.
4289 * i386b-nat.c: Removed.
4290 * Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
cf7c5c23
MK
4291 (i386b-nat.o): Remove dependencies.
4292
86f6f8e7
MK
4293 * config/i386/i386bsd.mh: Removed.
4294 * config/i386/i386bsd.mt: Removed.
4295 * config/i386/nm-i386bsd.h: Removed.
4296 * config/i386/tm-i386bsd.h: Removed.
4297 * config/i386/xm-i386bsd.h: Removed.
4298
971218cd
MK
4299 * x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
4300
7e654c37
MK
4301 * amd64fbsd-tdep.c: Include "solib-svr4.h".
4302 (amd64fbsd_init_abi): Set link map offsets.
4303 * amd64nbsd-tdep.c: Include "slib-svr4.h".
4304 (amd64nbsd_init_abi): Set link map offsets.
4305 * amd64obsd-tdep.c: Include "solib-svr4.h".
4306 (amd64obsd_init_abi): Set link map offsets.
4307 * i386fbsd-tdep.c: Include "solib-svr4.h".
4308 (i386fbsd_init_abi): Set link map offsets.
4309 * i386nbsd-tdep.c: Include "solib-svr4.h".
4310 (i386nbsdelf_init_abi): Set link map offsets.
4311 * Makefile.in (amd64fbsd-tdep.o, amd64nbsd-tdep.o)
4312 (amd64obsd-tdep.o, i386fbsd-tdep.o): Update dependencies.
4313 * config/i386/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o,
4314 solib-legacy.o and core-aout.o. Reformat.
4315 * config/i386/fbsd64.mh (NATDEPFILES): Remove solib.o,
4316 solib-svr4.o, solib-legacy.o. Reformat.
4317 * config/i386/nbsdaout.mh (NATDEPFILES): Add solib.o. Reformat.
4318 * config/i386/nbsdelf.mh: Reformat.
4319 * config/i386/nbsd64.mh (NATDEPFILES): Remove solib.o,
4320 solib-svr4.o, solib-legacy.o and corelow.o.
4321 * config/i386/obsd.mh, config/i386/obsdaout.mh: Reformat.
4322 * config/i386/obsd64.mh (NATDEPFILES): Remove solib.o,
4323 solib-svr4.o, solib-legacy.o and corelow.o. Reformat.
4324 * config/i386/fbsd.mt (TDEPFILES): Add solib.o, solib-svr4.o.
4325 * config/i386/fbsd64.mt (TDEPFILES): Add solib.o, solib-svr4.o.
4326 (TM_FILE): Set to tm-fbsd.h.
4327 * config/i386/nbsd.mt (TDEPFILES): Reformat.
4328 * config/i386/nbsd64.mt (TDEPFILES): Add corelow.o, solib.o and
4329 solib-svr4.o.
4330 * config/i386/obsd.mt (TDEPFILES): Add corelow.o, solib.o and
4331 solib-svr4.o.
4332 (TM_FILE): Set to nm-nbsd.h.
4333 * config/i386/nm-fbsd.h: Update copyright year. Tweak comments.
4334 Simplify shared library support. Don't include "elf/common.h".
4335 (SVR4_SHARED_LIBS): Don't define.
4336 * config/i386/nm-fbsd64.h: Update copyright year. Don't include
4337 "solib.h".
4338 * config/i386/nm-nbsd.h, config/i386/nm-nbsdaout.h,
4339 config/i386/nm-obsd.h: Update copyright year. Tweak comments.
4340 * config/i386/tm-fbsd.h: Update copyright tear. Tweak comments.
4341 Don't include "i386/tm-i386.h". Include "solib.h".
4342 * config/i386/tm-nbsd.h: Update copyright year. Tweak comments.
4343 Don't include "i386/tm-i386.h".
4344 * config/i386/xm-i386.h: Update copyright year. Tweak comments.
4345 * config/i386/xm-nbsd.h: Update copyright year. Tweak comments.
4346 Include "i386/xm-i386.h".
4347 (HOST_LONG_DOUBLE_FORMAT): Remove.
4348
5d93ae8c
MK
4349 Fix OpenBSD/i386 sigtramp recognition.
4350 * i386-tdep.h: Update copyright year.
4351 (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start)
4352 (i386bsd_sigtramp_end): New prototypes.
4353 (i386fbsd_sigtramp_start_addr): Renamed from
4354 i386fbsd_sigtramp_start.
4355 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
4356 (i386obsd_sigtramp_start_addr): Renamed from
4357 i386obsd_sigtramp_start.
4358 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
4359 * i386bsd-tdep.c: Update copyright year.
4360 (i386bsd_pc_in_sigtramp): Make public.
4361 * i386fbsd-nat.c: Update copyright year.
4362 (_initialize_i386fbsd_nat): Adjust for renamed variables.
4363 * i386fbsd-tdep.c: Update copyright year.
4364 (i386fbsd_sigtramp_start_addr): Renamed from
4365 i386fbsd_sigtramp_start.
4366 (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end.
4367 (i386fbsdaout_init_abi): Adjust for renamed variables.
4368 * i386obsd-nat.c: Update copyright year.
4369 (_initialize_i386obsd_nat): Adjust for renamed variables.
4370 * i386obsd-tdep.c: Include "target.h".
4371 (i386obsd_page_size): New variable.
4372 (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start)
4373 (i386obsd_sigtramp_end): New functions.
4374 (i386obsd_sigtramp_start_addr): Renamed from
4375 i386obsd_sigtramp_start.
4376 (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end.
4377 (i386obsd_init_abi): Adjust for renamed variables. Set
4378 pc_in_sigtramp, sigtramp_start and sigtramp_end.
4379 * Makefile.in (i386obsd-tdep.o): Update dependencies.
4380
84d04465
MK
4381 * amd64obsd-tdep.c (amd64obsd_pc_in_sigtramp): Adjust for signal
4382 trampoline change in OpenBSD kernel.
4383
b053aceb
MK
4384 * amd64-nat.c: Update copyright year.
4385 (amd64_supply_native_gregset, amd64_collect_native_gregset): Use
4386 architecture from REGCACHE.
4387
f5859b4d
MK
4388 * x86-64-linux-nat.c (x86_64_linux_gregset32_reg_offset): Use
4389 symbolic constants from <sys/reg.h> instead of hard-coded numbers.
4390
e4bbbda8
MK
43912004-02-21 Mark Kettenis <kettenis@gnu.org>
4392
ba361932
MK
4393 * configure.host: Add i[34567]86-*-openbsd[0-2].* and
4394 i[34567]86-*-openbsd3.[0-3].
4395 * config/i386/obsdaout.mh: New file.
4396
d3e48264
MK
4397 * config/i386/obsd.mh (MH_FLAGS): Remove.
4398
60a6eeb6
MK
4399 Fix PR build/1549.
4400 * i386obsd-tdep.c: Update copyright years. Include
4401 "solib-svr4.h".
4402 (i386obsd_init_abi): Don't set regset_from_core_section here.
4403 (i386obsd_aout_init_abi): New function. Set
4404 regset_from_core_section here.
4405 (i386obsd_elf_init_abi): New function.
4406 (_initialize_i386obsd_tdep): Register OS/ABI for OpenBSD ELF.
4407 * Makefile.in (i386obsd-tdep.o): Update dependecies.
4408 * config/i386/obsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
4409 (TM_FILE): Set to tm-nbsd.h.
4410
4411 * config/i386/obsd.mh (NATDEPFILES): Remove solib.o and
4412 solib-sunos.o.
4413
e4bbbda8
MK
4414 * solib-svr4.h: Update copyright year.
4415 (svr4_ilp32_fetch_link_map_offsets)
4416 (svr4_lp64_fetch_link_map_offsets): New prototype.
4417 * solib-svr4.c: Update copyright year.
4418 (svr4_ilp32_fetch_link_map_offsets)
4419 (svr4_lp64_fetch_link_map_offsets): New function.
4420
f6fe98ef
DJ
44212004-02-20 Daniel Jacobowitz <drow@mvista.com>
4422
4423 * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
4424 to the partial symbol table.
4425
589ca796
JB
44262004-02-20 J. brobecker <brobecker@gnat.com>
4427
4428 * PROBLEMS: Add description of problem documented under gdb/1560.
4429
2031c21a
MK
44302004-02-20 Mark Kettenis <kettenis@gnu.org>
4431
30b344b1
MK
4432 * amd64obsd-tdep.c: Include "regset.h" and "i387-tdep.h". Fix
4433 comments.
4434 (amd64obsd_supply_regset, amd64obsd_regset_from_core_section): New
4435 functions.
4436 (amd64obsd_init_abi): Reorder initializations. Use
4437 amd64obsd_r_reg_offset to initialize the general-purpose register
4438 set details. Set regset_from_core_section.
4439 (_initialize_amd64obsd_tdep): Rename from
4440 _initialize_amd64obsd_ndep. Add OS ABI handler for core dumps.
4441 * Makefile.in (amd64obsd-tdep.o): Update dependencies.
4442 * config/i386/obsd64.mt (TDEPFILES): Add i386-tdep.o.
4443
2031c21a
MK
4444 * NEWS (New native configurations): Mention OpenBSD/alpha.
4445 * configure.tgt: Add alpha*-*-openbsd*.
4446 * configure.host: Add alpha*-*-openbsd*.
4447 * alphanbsd-tdep.c: Update copyright year.
4448 (_initialize_alphanbsd_tdep): Register OS ABI for OpenBSD ELF.
4449
42471775
AC
44502004-02-20 Andrew Cagney <cagney@redhat.com>
4451
4452 Fix PR tdep/1372.
4453 * configure.tgt: Delete target "none-*-*".
4454 * configure.host: Delete host "none-*-*".
4455 * config/none/none.mh: Delete file.
4456 * config/none/none.mt: Delete file.
4457 * config/none/xm-none.h: Delete file.
4458 * config/none/tm-none.h: Delete file.
4459 * config/none/nm-none.h: Delete file.
4460
960ccd7d
FF
44612004-02-19 Fred Fish <fnf@redhat.com>
4462
4463 * sh-tdep.c (sh_analyze_prologue): Eliminate useless test of
4464 cache->uses_fp prior to setting it.
4465
5f883edd
FF
44662004-02-19 Fred Fish <fnf@redhat.com>
4467
4468 Fix for PR breakpoint/1558.
4469 * sh-tdep.c (IS_JSR): New macro.
4470 (sh_analyze_prologue): Use IS_JSR to terminate prologue scan.
4471
f98c22d5
JB
44722004-02-19 Jim Blandy <jimb@redhat.com>
4473
4474 * findvar.c (value_from_register): Doc fix.
4475
95051d27
JJ
44762004-02-19 Jeff Johnston <jjohnstn@redhat.com>
4477
4478 * printcmd.c (print_scalar_formatted): Do not check for sizeof
4479 type being greater than sizeof of host's LONGEST. Always use
4480 unpack_long() unless format 'f' chosen.
4481
ccefbec3
EZ
44822004-02-19 Joel Brobecker <brobecker@gnat.com>
4483
4484 Committed by Elena Zannoni <ezannoni@redhat.com>
2ede629f 4485
ccefbec3
EZ
4486 * symtab.c (find_pc_sect_psymtab): Return the psymtab that
4487 contains a symbol wich is the best, non-exact match for the given
4488 pc. Update comments.
4489
44902004-02-19 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 4491
2ede629f
EZ
4492 * event-top.c (async_request_quit): Remove uses of REQUEST_QUIT
4493 macro, which was part of the now removed Mach 3 port.
4494 * utils.c (request_quit): Ditto.
4495
567ee972
MK
44962004-02-18 Mark Kettenis <kettenis@gnu.org>
4497
4498 * config/djgpp/fnchange.lst: Rename "amd64obsd-tdep.c" and
4499 "amd64obsd-nat.c" to "a64ob-tdep.c" and "a64ob-nat.c".
4500
50cca7bb
MK
45012004-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4502
4503 Committed by Mark Kettenis <kettenis@gnu.org>.
4504
4505 * config/s390/nm-linux.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
4506 Define.
4507
226361c4
AC
45082004-02-18 Andrew Cagney <cagney@redhat.com>
4509
4510 * configure.in: Add a TUI target to CONFIG_ALL, CONFIG_CLEAN,
4511 CONFIG_INSTALL and CONFIG_UNINSTALL.
4512 * configure: Re-generate.
4513 * interps.h (INTERP_TUI): Define.
4514 * Makefile.in: Update dependencies.
4515 (TUI): New macro.
4516 (tui-main.o): Specify dependencies.
4517 (install-tui, uninstall-tui, clean-tui, all-tui): New rules.
4518 * tui/tui-main.c: New file.
4519
49cfa46f
MK
45202004-02-18 Mark Kettenis <kettenis@gnu.org>
4521
e2879ccb
MK
4522 * amd64obsd-tdep.c, amd64obsd-nat.c: New files.
4523 * Makefile.in (amd64obsd-nat.o, amd64obsd-tdep.o): New
4524 dependencies.
4525 * configure.host: Add x86_64-*-openbsd*.
4526 * configure.tgt: Add x86_64-*-openbsd*.
4527 * config/i386/obsd64.mt, config/i386/obsd64.mh: New files.
4528
c43f4bec
MK
4529 * tui/tui.c: Don't include <malloc.h>.
4530
09ae75b6
MK
4531 * Makefile.in (ALLDEPFILES): Add amd64-nat.c, amd64bsd-nat.c,
4532 amdfbsd-nat.c, amd64-fbsd-tdep.c, amd64nbsd-nat.c and
4533 amd64nbsd-tdep.c.
4534
49cfa46f 4535 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Make
8a1dac83 4536 static. Remove extraneous whitespace.
49cfa46f
MK
4537 * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Make
4538 static.
4539
05957fdb
JB
45402004-02-17 Jim Blandy <jimb@redhat.com>
4541
4542 * findvar.c (value_from_register): Doc fix.
4543
d0f54f9d
JB
45442004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4545
4546 Committed by Jim Blandy <jimb@redhat.com>.
e1457d83 4547
8a1dac83 4548 * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use
c253954e
JB
4549 CORE_ADDR as type for selectors. Correct types for GNU run time
4550 message lookup function to use double indirection.
4551 * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type.
4552 * objc-lang.h (lookup_child_selector): Adapt prototype.
4553
9cbd5950
JB
4554 * s390-nat.c (SUBOFF): New macro.
4555 (supply_gregset, fill_gregset): Use it to handle debugging
4556 of 32-bit exectuables running under a 64-bit kernel.
4557 * s390-tdep.c: Include "solib-svr4.h".
4558 (s390_svr4_fetch_link_map_offset): New function.
4559 (s390x_svr_fetch_link_map_offset): Likewise.
4560 (s390_gdbarch_init): Call set_solib_svr4_fetch_link_map_offsets.
4561 * Makefile.in (s390-tdep.o): Update dependencies.
4562
a8c99f38
JB
4563 * s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
4564 "frame-unwind.h".
4565 (s390_readinstruction): Reformat. Use read_memory_nobpt.
4566 (GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
4567 (S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
4568 (S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
4569 S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
4570 S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
8a1dac83 4571 S390_SIGNAL_FRAMESIZE,
a8c99f38
JB
4572 s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
4573 (struct frame_extra_info): Remove.
4574 (s390_memset_extra_info): Remove.
f73b1eff
JB
4575 (op1_ag, op1_ay, op1_brasl, op1_brc, op1_brcl, op1_lay, op1_lg)
4576 (op1_lmy, op1_ly, op1_sg, op1_stmy, op1_sty, op1_sy, op_a)
4577 (op_agr, op_bas, op_bc, op_bcr, op_sgr, op_sr): New opcodes.
a8c99f38
JB
4578 (is_rse): Renamed to ...
4579 (is_rsy): ... this. Support long displacements.
4580 (is_rxe): Renamed to ...
4581 (is_rxy): ... this. Support long displacements.
4582 (compute_x_addr): Support long displacements.
4583 (struct s390_prologue_data): New data type.
4584 (s390_on_stack): Change API to use struct s390_prologue_data.
4585 (s390_store): Reimplement.
4586 (s390_load): New function.
4587 (s390_get_signal_frame_info): Remove.
4588 (s390_get_frame_info): Remove, replace by ...
4589 (s390_analyze_prolog): ... this new function.
4590 (s390_check_function_end): Remove.
4591 (s390_function_start): Remove.
4592 (s390_frameless_function_invokation): Remove.
4593 (s390_is_sigreturn): Remove.
4594 (s390_init_frame_pc_first): Remove.
4595 (s390_init_frame_extra_info): Remove.
4596 (s390_frame_init_saved_regs): Remove.
4597 (s390_frame_saved_pc_nofix): Remove.
4598 (s390_frame_saved_pc): Remove.
4599 (s390_frame_chain): Remove.
4600 (s390_fp_regnum, s390_read_fp): Remove.
4601 (s390_pop_frame_regular, s390_pop_frame): Remove.
4602 (s390_saved_pc_after_call): Remove.
4603 (s390_skip_prologue): Reimplement.
4604 (s390_in_function_epilogue_p): Support long displacements.
4605 (struct s390_unwind_cache): New data structure.
4606 (s390_frame_unwind_cache): New function.
4607 (s390_prologue_frame_unwind_cache): Likewise.
4608 (s390_backchain_frame_unwind_cache): Likewise.
4609 (s390_frame_this_id, s390_frame_prev_register): Likewise.
4610 (s390_frame_unwind): Define.
4611 (s390_frame_sniffer): New function.
4612 (struct s390_pltstub_unwind_cache): New data structure.
4613 (s390_pltstub_frame_unwind_cache): New function.
4614 (s390_pltstub_frame_this_id): Likewise.
4615 (s390_pltstub_frame_prev_register): Likewise.
4616 (s390_pltstub_frame_unwind): Define.
4617 (s390_pltstub_frame_sniffer): New function.
4618 (struct s390_sigtramp_unwind_cache): New data structure.
4619 (s390_sigtramp_frame_unwind_cache): New function.
4620 (s390_sigtramp_frame_this_id): Likewise.
4621 (s390_sigtramp_frame_prev_register): Likewise.
4622 (s390_sigtramp_frame_unwind): Define.
4623 (s390_sigtramp_frame_sniffer): New function.
4624 (s390_frame_base_address, s390_local_base_address): New functions.
4625 (s390_frame_base): Define.
4626 (s390_unwind_pc, s390_unwind_sp): New function.
4627 (s390_push_dummy_call): Use new frame base location.
4628 (s390_unwind_dummy_id): Likewise.
4629 (s390_gdbarch_init): Remove calls to:
4630 set_gdbarch_frameless_function_invocation,
4631 set_gdbarch_deprecated_init_frame_pc,
4632 set_gdbarch_deprecated_frame_chain,
4633 set_gdbarch_deprecated_frame_init_saved_regs,
4634 set_gdbarch_deprecated_pop_frame,
4635 set_gdbarch_deprecated_init_extra_frame_info,
4636 set_gdbarch_deprecated_init_frame_pc_first,
4637 set_gdbarch_deprecated_target_read_fp,
4638 set_gdbarch_deprecated_frame_saved_pc,
4639 set_gdbarch_deprecated_saved_pc_after_call,
4640 set_gdbarch_deprecated_fp_regnum.
4641 Add calls to:
4642 set_gdbarch_in_solib_call_trampoline,
4643 frame_unwind_append_sniffer,
4644 frame_base_set_default,
4645 set_gdbarch_unwind_pc,
4646 set_gdbarch_unwind_sp.
4647 * Makefile.in (s390-tdep.o): Update dependencies.
4648
b0cf273e
JB
4649 * s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
4650 (S390_STACK_FRAME_OVERHEAD): Remove.
4651 (S390_STACK_PARAMETER_ALIGNMENT): Remove.
4652 (S390_NUM_FP_PARAMETER_REGISTERS): Remove.
4653 (s390_promote_integer_argument): Remove.
4654 (s390_cannot_extract_struct_value_address): Remove.
4655 (s390_use_struct_convention, s390_store_struct_return): Remove.
4656 (s390_extract_return_value, s390_store_return_value): Remove.
4657 (s390_return_value_convention, s390_return_value): New functions.
4658 (is_float_singleton): Handle typedefs.
8a1dac83 4659 (is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
b0cf273e
JB
4660 Remove, replace by ...
4661 (s390_function_arg_pass_by_reference, s390_function_arg_float,
4662 s390_function_arg_integer): ... these new functions.
4663 (s390_push_arguments, s390_push_return_address): Remove, replace by ...
4664 (s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
4665 (s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
4666 Fill in tdep->abi.
4667 Remove calls to:
4668 set_gdbarch_deprecated_store_struct_return,
4669 set_gdbarch_deprecated_extract_return_value,
4670 set_gdbarch_deprecated_store_return_value,
4671 set_gdbarch_use_struct_convention,
4672 set_gdbarch_extract_struct_value_address,
4673 set_gdbarch_deprecated_pc_in_call_dummy,
4674 set_gdbarch_deprecated_push_arguments,
4675 set_gdbarch_deprecated_save_dummy_frame_tos,
4676 set_gdbarch_deprecated_push_return_address,
4677 set_gdbarch_deprecated_sizeof_call_dummy_words,
4678 set_gdbarch_deprecated_call_dummy_words,
4679 set_gdbarch_deprecated_dummy_write_sp.
4680 Add calls to:
4681 set_gdbarch_push_dummy_call,
4682 set_gdbarch_unwind_dummy_id,
4683 set_gdbarch_return_value.
8a1dac83 4684
e1457d83
JB
4685 * config/s390/nm-linux.h: Update comments.
4686 (target_insert_watchpoint, target_remove_watchpoint): Redefine.
4687 (STOPPED_BY_WATCHPOINT): Redefine.
4688 (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
4689 (s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
4690 (s390_stopped_by_watchpoint): Likewise.
4691 (watch_area_cnt): Remove.
4692 * s390-nat.c: Update comments.
4693 (watch_area): Remove typedef.
4694 Global replace watch_area by struct watch_area.
4695 (watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
8a1dac83 4696 (s390_stopped_by_watchpoint): Remove pid argument,
e1457d83
JB
4697 use s390_inferior_tid. Add short-cut for the no watchpoint case.
4698 (s390_fix_watch_points): Remove pid argument,
4699 use s390_inferior_tid. Recompute area spanned by watchpoints.
4700 (s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
4701 argument. Reimplement.
4702
d0f54f9d
JB
4703 * config/s390/nm-linux.h: Update comments. Do not include "solib.h".
4704 (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
4705 (FETCH_INFERIOR_REGISTERS): Define.
8a1dac83 4706 * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
d0f54f9d
JB
4707 core-regset.o.
4708 * config/s390/s390x.mt: Remove.
4709 * config/s390/tm-s390.h: Remove.
4710 * config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
4711 (TARGET_ELF64): Remove.
4712 (SKIP_TRAMPOLINE_CODE): Do not undefine.
4713 * configure.tgt [s390-*-*, s390x-*-*]: Merge into single
4714 s390*-*-* case; always set gdb_target to s390.
4715 * regformats/reg-s390.dat: Remove control registers.
4716 * regformats/reg-s390x.dat: Likewise.
4717 * s390-tdep.h: New file.
8a1dac83 4718 * s390-nat.c: Do not include <asm/processor.h> or <value.h>.
d0f54f9d
JB
4719 Include "inferior.h" and "s390-tdep.h".
4720 Remove private definition of offsetof.
4721 (s390_register_u_addr): Remove.
4722 (regmap_gregset, regmap_fpregset): Define.
4723 (supply_gregset, fill_gregset): Reimplement.
4724 (supply_fpregset, fill_fpregset): Likewise.
4725 (s390_inferior_tid): New function.
4726 (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
4727 (fetch_inferior_registers, store_inferior_registers): Likewise.
4728 * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead
4729 of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h".
4730 Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
4731 Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
4732 (struct gdbarch_tdep): Define.
4733 (struct s390_register_info): Define.
4734 (s390_register_info): New variable.
4735 (s390_register_name): Reimplement.
4736 (s390_register_type): New function.
4737 (s390_register_raw_size, s390x_register_raw_size): Remove.
4738 (s390_cannot_fetch_register): Remove.
4739 (s390_register_byte): Remove.
4740 (s390_register_virtual_type, s390x_register_virtual_type): Remove.
4741 (s390_dwarf_regmap): New variable.
4742 (s390_dwarf_reg_to_regnum): New function.
4743 (s390_stab_reg_to_regnum): Remove.
4744 (s390_pseudo_register_read, s390_pseudo_register_write): New functions.
4745 (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
4746 (s390_convert_register_p): Likewise.
4747 (s390_register_to_value, s390_value_to_register): Likewise.
4748 (s390_register_reggroup_p): Likewise.
4749 (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
4750 s390_gregset, s390x_gregset, s390_fpregset): New variables.
4751 (s390_supply_regset, s390_regset_from_core_section): New functions.
4752 (GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
4753 (S390_FPR_SIZE): Likewise.
4754 (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME.
4755 Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
4756 (S390_NUM_GPRS): Move here from tm-s390.h.
4757 (S390_NUM_FPRS): Likewise.
4758 (s390_in_function_epilogue_p): New function.
4759 (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
4760 Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
4761 (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
4762 Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
4763 Replace S390_FP_REGNUM by S390_SP_REGNUM.
4764 Remove calls to:
4765 set_gdbarch_deprecated_max_register_raw_size,
8a1dac83
RM
4766 set_gdbarch_deprecated_max_register_virtual_size,
4767 set_gdbarch_deprecated_register_byte,
d0f54f9d 4768 set_gdbarch_cannot_fetch_register,
8a1dac83 4769 set_gdbarch_cannot_store_register,
d0f54f9d
JB
4770 set_gdbarch_deprecated_register_size,
4771 set_gdbarch_deprecated_register_raw_size,
4772 set_gdbarch_deprecated_register_virtual_size,
4773 set_gdbarch_deprecated_register_virtual_type,
4774 set_gdbarch_deprecated_register_bytes.
4775 Add calls to:
4776 set_gdbarch_num_pseudo_regs,
4777 set_gdbarch_register_type,
4778 set_gdbarch_convert_register_p,
4779 set_gdbarch_register_to_value,
4780 set_gdbarch_value_to_register,
4781 set_gdbarch_register_reggroup_p,
4782 set_gdbarch_regset_from_core_section,
4783 set_gdbarch_pseudo_register_read,
4784 set_gdbarch_pseudo_register_write,
4785 set_gdbarch_in_function_epilogue_p.
4786 * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
4787 (s390_tdep_h): New variable.
4788
8cfe231d
JB
47892004-02-17 Jim Blandy <jimb@redhat.com>
4790
4589a601
JB
4791 * findvar.c (value_from_register): If the type has no length, just
4792 return an acceptable value --- don't report an internal error.
4793
8cfe231d
JB
4794 * stabsread.c (read_type): If we find any type numbers that are
4795 forward references, complain if the references aren't resolved by
4796 the time we're finished reading.
4797 (cleanup_undefined_types): Make error message more appropriate for
4798 a complaint.
4799
5bf0017e
EZ
48002004-02-17 Elena Zannoni <ezannoni@redhat.com>
4801
9d62932d
EZ
4802 * Makefile.in (defs_h): Remove dependency on progress_h.
4803 * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
4804 progress.h.
4805 * main.c (captured_main): Delete use of START_PROGRESS and
4806 END_PROGRESS.
4807
48082004-02-17 Elena Zannoni <ezannoni@redhat.com>
8a1dac83 4809
5bf0017e
EZ
4810 * objfiles.c (terminate_minimal_symbol_table): Add back
4811 initialization of MSYMBOL_TYPE.
4812
9fc9f5e2
AC
48132004-02-17 David Mosberger <davidm@hpl.hp.com>
4814
4815 Committed by Andrew Cagney.
4816 * Makefile.in (ia64_tdep_h): New macro.
4817 (ia64-linux-tdep.o): Mention $(ia64_tdep_h).
4818 (ia64-tdep.o): Likewise.
4819 * ia64-tdep.h: New file.
4820 * ia64-tdep.c: Update copyright notice. Include "ia64-tdep.h".
4821 (ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
4822 (ia64_aix_sigcontext_register_address): Likewise.
4823 (ia64_linux_getunwind_table): Delete declaration.
4824 * ia64-linux-tdep.c: Likewise.
4825
76cd2bd9
CV
48262004-02-17 Corinna Vinschen <vinschen@redhat.com>
4827
4828 * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
4829 * sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
4830 DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.
4831
634aa483
AC
48322004-02-17 Andrew Cagney <cagney@redhat.com>
4833
4834 * symtab.c (skip_prologue_using_sal): New function.
4835 * symtab.h (skip_prologue_using_sal): Declare.
4836 * frv-tdep.c: Include "symtab.h".
4837 (skip_prologue_using_sal): Delete function.
4838 * mips-tdep.c (skip_prologue_using_sal): Delete function.
4839 * rs6000-tdep.c (refine_prologue_limit): Mention
4840 skip_prologue_using_sal.
4841 * ia64-tdep.c (refine_prologue_limit): Ditto.
4842 * Makefile.in: Update dependencies.
4843
48442004-02-16 Andrew Cagney <cagney@redhat.com>
19772a2c 4845
39ce7b3f
AC
4846 * config/alpha/tm-nbsd.h: Update copyright, delete #undef
4847 START_INFERIOR_TRAPS_EXPECTED.
4848 * config/alpha/tm-fbsd.h: Update copyright, delete #undef
4849 START_INFERIOR_TRAPS_EXPECTED.
4850 * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
4851 Delete macro.
4852 * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
4853 macro, moved to "nm-osf.h". Update copyright.
4854 * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
4855 update copyright.
4856
19772a2c
AC
4857 * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
4858 and function replacing FRAMELESS_FUNCTION_INVOCATION.
4859 * blockframe.c (legacy_frameless_look_for_prologue): Rename
4860 frameless_look_for_prologue.
4861 * frame.h (legacy_frameless_look_for_prologue): Rename
4862 frameless_look_for_prologue.
4863 * gdbarch.h, gdbarch.c: Re-generate.
4864 * sh64-tdep.c (sh64_gdbarch_init): Update.
4865 * sh-tdep.c (sh_gdbarch_init): Update.
4866 * s390-tdep.c (s390_gdbarch_init): Update.
4867 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
4868 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
4869 * m68k-tdep.c (m68k_gdbarch_init): Update.
4870 (delta68_frame_args_address): Update.
4871 * m32r-tdep.c (m32r_gdbarch_init): Update.
4872 * hppa-tdep.c (hppa_gdbarch_init): Update.
4873 * h8300-tdep.c (h8300_gdbarch_init): Update.
4874 * frv-tdep.c (frv_gdbarch_init): Update.
4875 (frv_frameless_function_invocation): Update.
4876 * cris-tdep.c (cris_gdbarch_init): Update.
4877 (cris_frameless_function_invocation): Update.
4878 * avr-tdep.c (avr_gdbarch_init): Update.
4879 * arm-tdep.c (arm_gdbarch_init): Update.
4880 * stack.c (frame_info): Update, call predicate.
4881 * rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
4882 * frame.c (legacy_get_prev_frame): Update, call predicate..
4883 * arch-utils.c (generic_frameless_function_invocation_not): Delete.
4884 * arch-utils.h (generic_frameless_function_invocation_not): Delete.
4885 * alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
4886 invocation.
4887 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
4888 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
4889 * vax-tdep.c (vax_gdbarch_init): Ditto.
2be8b3c1
AC
4890
4891 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
4892 function.
4893
7dcaac91
DJ
48942004-02-16 Daniel Jacobowitz <drow@mvista.com>
4895
4896 * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
4897 initializations.
4898
88289b6e
AC
48992004-02-16 Andrew Cagney <cagney@redhat.com>
4900
4901 * tui/tui-windata.c: Include "gdb_string.h".
4902 * tui/tui-source.c, tui/tui-winsource.c: Ditto.
4903 * tui/tui-layout.c, tui/tui-command.c: Ditto.
4904 * Makefile.in: Update dependencies.
4905
9f976b41
DJ
49062004-02-16 Daniel Jacobowitz <drow@mvista.com>
4907
4908 * Makefile.in (infrun.o): Add $(gdb_assert_h).
4909 * infrun.c: Include "gdb_assert.h".
4910 (singlestep_ptid, saved_singlestep_ptid)
4911 (stepping_past_singlestep_breakpoint): New variables.
4912 (resume): Set singlestep_ptid. Check for singlestep thread
4913 hop.
4914 (init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
4915 (handle_inferior_event): Handle singlestep thread hop.
4916
c324d747
AC
49172004-02-16 Andrew Cagney <cagney@redhat.com>
4918
f090b9b1
AC
4919 * dwarf2-frame.c (dwarf2_frame_ops): New function.
4920 (dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
4921 (dwarf2_frame_init_reg): Ditto.
4922
fd33e6cb
AC
4923 * printcmd.c (display_command): Check that EXP isn't NULL. Fix
4924 suggested by Joshua Neuheisel
4925
c324d747
AC
4926 * configure.in: Always check for curses, including pdcurses.
4927 Warn, instead of error, when no curses are found. Enable TUI when
4928 curses is available.
4929 * configure: Re-generate.
4930
b66ba949
CV
49312004-02-16 Corinna Vinschen <vinschen@redhat.com>
4932
4933 * sh-tdep.c (sh_register_convert_to_virtual): Rename from
4934 sh_sh4_register_convert_to_virtual.
4935 (sh_register_convert_to_raw): Rename from
4936 sh_sh4_register_convert_to_raw.
4937 (sh_pseudo_register_read): Accomodate above name change.
4938 (sh_pseudo_register_write): Ditto.
4939
b58cbbf2
CV
49402004-02-16 Corinna Vinschen <vinschen@redhat.com>
4941
4942 * sh-tdep.c (sh_generic_register_name): Remove.
4943 (sh_gdbarch_init): Use sh_sh_register_name in default case.
4944
5929a910
AC
49452004-02-15 Andrew Cagney <cagney@redhat.com>
4946
4566dfcf
AC
4947 * configure.in (build_warnings): Add -Wunused-function.
4948 * configure: Re-generate.
4949
db11ed55
AC
4950 * config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
4951 * config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.
4952
46ac7a5d
AC
4953 * procfs.c (procfs_init_inferior): Assume that
4954 START_INFERIOR_TRAPS_EXPECTED is defined.
4955 * config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
4956 * config/ns32k/tm-nbsd.h: Delete file,
4957 START_INFERIOR_TRAPS_EXPECTED already defined as 2.
4958
ba801595
AC
4959 * config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
4960 * config/vax/tm-vax.h: Delete file.
4961
5929a910
AC
4962 * config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
4963 * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
4964 * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
4965 * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
4966 * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
4967 * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
4968 * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
4969
8f22cb90
MK
49702004-02-15 Mark Kettenis <kettenis@gnu.org>
4971
4972 * dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
4973 * dwarf2-frame.c (dwarf2_frame_data): New variable.
4974 (struct dwarf2_frame_ops): New.
4975 (dwarf2_frame_default_init_reg): New function, based on
4976 dwarf2_frame_init_reg.
4977 (dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
4978 (dwarf2_frame_init_reg): Call architecture-specific function.
4979 (dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
4980 (dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
4981 instead of dwarf2_frame_data.
4982 (_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
4983 Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
4984
8132723e
AC
49852004-02-15 Andrew Cagney <cagney@redhat.com>
4986
046a4708
AC
4987 * gdbarch.sh (deprecated_register_gdbarch_swap): Rename
4988 register_gdbarch_swap.
4989 (DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
4990 * f-lang.c (_initialize_f_language): Update, use
4991 DEPRECATED_REGISTER_GDBARCH_SWAP.
4992 * remote.c (_initialize_remote): Ditto.
4993 * regcache.c (_initialize_regcache): Ditto.
4994 * parse.c (_initialize_parse): Ditto.
4995 * infrun.c (_initialize_infrun): Ditto.
4996 * mi/mi-main.c (_initialize_mi_main): Ditto.
4997 * gdbtypes.c (_initialize_gdbtypes): Ditto.
8a1dac83 4998
549c1eea
AC
4999 * solib.c (solib_map_sections): Use bfd_set_cacheable instead of
5000 poking .cacheable directly.
5001 * symfile.c (symfile_bfd_open): Ditto.
5002
0c0b39de
AC
5003 * Makefile.in: Update all dependencies.
5004
8132723e
AC
5005 * Makefile.in: (.SUFFIXES): Add ".l" and ".y".
5006 (.y.c, .l.c): Specify implicit rule. Instead of .tab.c, generate
5007 .c. Update references. Delete unnecessary .tab.c and -lex.c rules.
5008 (ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
5009 (jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.
0c0b39de 5010
b9d26eb9
AC
50112004-02-14 Andrew Cagney <cagney@redhat.com>
5012
8e1f669a
AC
5013 * arch-utils.c (legacy_convert_register_p): Check
5014 DEPRECATED_REGISTER_CONVERTIBLE_P.
5015 * findvar.c (value_of_register): Ditto.
5016
cd0bfa36
AC
5017 * gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
5018 * gdbarch.h, gdbarch.c: Re-generate.
5019 * arch-utils.c (deprecated_register_convertible_not): Delete.
5020 * arch-utils.h (deprecated_register_convertible_not): Delete.
5021 * mi/mi-main.c (get_register): Update. Update copyright.
5022 * infcmd.c (default_print_registers_info): Update.
5023
b9d26eb9
AC
5024 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
5025 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
5026 (DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
8a1dac83 5027 * gdbarch.h, gdbarch.c: Re-generate.
b9d26eb9
AC
5028 * frame.c (deprecated_get_next_frame_hack): Delete function.
5029 * frame.h (deprecated_get_next_frame_hack): Delete declaration.
5030 * blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
5031 Update.
5032 * infcall.c (call_function_by_hand): Update.
5033
9ab9195f
EZ
50342004-02-14 Elena Zannoni <ezannoni@redhat.com>
5035
5036 * symfile.c (init_entry_point_info, entry_point_address): Move
8a1dac83 5037 from here...
9ab9195f
EZ
5038 * objfiles.c (init_entry_point_info, entry_point_address):..to
5039 here.
5040 * symfile.h (init_entry_point_info, entry_point_address): Remove
5041 prototypes.
5042 * objfiles.h (init_entry_point_info, entry_point_address):Add
8a1dac83 5043 prototypes.
9ab9195f
EZ
5044 * cris-tdep.c: Remove include of symfile.h. Add include of
5045 objfiles.h.
5046 * infcall.c: Ditto.
5047 * mcore-tdep.c: Ditto.
5048 * mn10300-tdep.c: Ditto.
5049 * sh64-tdep.c: Ditto.
5050 * v850-tdep.c: Ditto.
5051 * arm-tdep.c: Remove include of symfile.h.
5052 * blockframe.c: Ditto.
5053 * coffread.c: Ditto.
5054 * dbxread.c: Ditto.
5055 * dwarf2read.c: Ditto.
5056 * dwarfread.c: Ditto.
8a1dac83 5057 * frv-tdep.c: Ditto.
9ab9195f
EZ
5058 * ia64-tdep.c: Ditto.
5059 * mdebugread.c: Ditto.
5060 * mipsread.c: Ditto.
8a1dac83 5061 * rs6000-tdep.c: Ditto.
9ab9195f
EZ
5062 * s390-tdep.c: Ditto.
5063 * sh-tdep.c: Ditto.
8a1dac83 5064 * xstormy16-tdep.c: Ditto.
9ab9195f
EZ
5065 * gdbarch.sh: Remove include of symfile.h.
5066 * gdbarch.c: Regenerate.
5067 * solib-irix.c (enable_break): Use entry_point_address().
5068 Add comment about include file.
5069 * xcoffread.c: Add comment about include file.
8a1dac83
RM
5070 * Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
5071 (dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
5072 (ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
5073 (mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
9ab9195f
EZ
5074 (sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.
5075
c4c5b7ba
AC
50762004-02-13 Andrew Cagney <cagney@redhat.com>
5077
5078 * corelow.c (core_xfer_partial): Use "struct bfd_section".
5079 * config/sparc/nm-nbsd.h (struct target_ops): Declare, update
5080 copyright.
5081 * mips-linux-tdep.c: Use "GNU/Linux", update copyright.
5082
3e7879de
FF
50832004-02-12 Fred Fish <fnf@redhat.com>
5084
5085 * m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
5086 set_gdbarch_store_return_value.
5087
6a7760b6
AC
50882004-02-12 Andrew Cagney <cagney@redhat.com>
5089
5090 * remote-rdi.c (arm_rdi_start_remote): Delete unused function.
5091 (arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
5092 (interrupt_query): Ditto.
5093 (ofunc): Delete unused variable.
5094 * cris-tdep.c (cris_abi): Delete unused function.
5095 (reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
5096 (cris_get_wide_opcode, cris_get_short_size): Ditto.
5097 (cris_get_asr_quick_shift_steps): Ditto.
5098 (cris_skip_prologue_frameless_p): Ditto.
5099 * arm-tdep.c (arm_push_return_address): Delete unused function.
5100 (arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
5101 * rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
5102 * s390-tdep.c (s390_function_start): Delete unused function.
5103
31687c3c
AC
51042004-02-12 Andrew Cagney <cagney@redhat.com>
5105
5106 * gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
5107 gdbarch.h, gdbarch.c: Re-generate.
5108 * cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
5109 to generic_prologue_frameless_p.
5110 * arch-utils.h (generic_prologue_frameless_p): Delete declaration.
5111 * arch-utils.c (generic_prologue_frameless_p): Delete function.
5112
6de918a6
DJ
51132004-02-11 Daniel Jacobowitz <drow@mvista.com>
5114
5115 * mips-linux-tdep.c: Include "frame.h".
5116 (mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
5117 (mips_linux_skip_resolver): New functions.
5118 (mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
5119 and set_gdbarch_in_solib_call_trampoline.
5120 * mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
5121 to after set_gdbarch_in_solib_return_trampoline. Only set the
5122 solib hooks to mips16 functions if the OS ABI is unknown.
5123 * config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
5124 including "config/tm-linux.h".
5125 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
5126 * Makefile.in (mips-linux-tdep.o): Update.
5127
87b3ede8
DC
51282004-02-11 David Carlton <carlton@kealia.com>
5129
5130 * linespec.c (decode_compound): Only look for a class symbol when
5131 considering all but the rightmost component.
5132
5979bc46
AC
51332004-02-11 Andrew Cagney <cagney@redhat.com>
5134
5135 * hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
5136 abi code are are separatly grouped.
5137
5867a2fb
AC
51382004-02-11 Andrew Cagney <cagney@redhat.com>
5139
5140 * gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
5141 * gdbarch.h, gdbarch.c: Re-generate.
5142 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
5143 * v850-tdep.c (v850_gdbarch_init): Update.
5144 * sh64-tdep.c (sh64_gdbarch_init): Update.
5145 * sh-tdep.c (sh_gdbarch_init): Update.
5146 * s390-tdep.c (s390_gdbarch_init): Update.
5147 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
5148 * mips-tdep.c (mips_gdbarch_init): Update.
5149 * mcore-tdep.c (mcore_gdbarch_init): Update.
5150 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
5151 * m32r-tdep.c (m32r_gdbarch_init): Update.
5152 * ia64-tdep.c (ia64_gdbarch_init): Update.
5153 * hppa-tdep.c (hppa_gdbarch_init): Update.
5154 * h8300-tdep.c (h8300_gdbarch_init): Update.
5155 * frv-tdep.c (frv_gdbarch_init): Update.
5156 * d10v-tdep.c (d10v_gdbarch_init): Update.
5157 * cris-tdep.c (cris_gdbarch_init): Update.
5158 * avr-tdep.c (avr_gdbarch_init): Update.
5159 * arm-tdep.c (arm_gdbarch_init): Update.
5160 * alpha-tdep.c (alpha_gdbarch_init): Update.
5161
026a72f8
CV
51622004-02-11 Corinna Vinschen <vinschen@redhat.com>
5163
5164 * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
5165 comma.
5166 (sh_sh4al_dsp_register_name): Ditto.
5167
3903d437
AC
51682004-02-10 Andrew Cagney <cagney@redhat.com>
5169
5170 * mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
5171 (mips_init_frame_pc_first): Delete function.
5172 (mips_frame_saved_pc): Delete function.
5173 (mips_frame_chain): Delete function.
5174 (mips_init_extra_frame_info): Delete function.
5175 (mips_xfer_register): Delete unused variable "reg".
5176 (mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
5177 (mips_n32n64_return_value): Delete unused variable "reg".
5178 (mips_n32n64_return_value): Delete unused variable "pos".
5179 (mips_o32_push_dummy_call): Delete unused variable "valbuf".
5180 (mips_o32_return_value): Delete unused variable "pos".
5181 (mips_o64_push_dummy_call): Delete unused variable "valbuf".
5182 (mips_print_fp_register): Delete unused variable "namelen"
5183 (mips_print_fp_register): Delete unused variable "flt2"
5184 (get_frame_pointer): Delete function.
5185 (cached_proc_desc): Delete static variable.
5186 (mips_pop_frame): Delete function.
5187 (mips_find_saved_regs): Delete function.
5188 (mips_get_saved_register): Delete function.
5189 (mips_saved_pc_after_call): Delete function.
5190 (SIGFRAME_BASE): Delete macro.
5191 (SIGFRAME_FPREGSAVE_OFF): Delete macro.
5192 (SIGFRAME_PC_OFF): Delete macro.
5193 (SIGFRAME_REGSAVE_OFF): Delete macro.
5194 (mips_dump_tdep): Do not print deleted macro definitions.
5195
b9fb98bd
AC
51962004-02-10 Andrew Cagney <cagney@redhat.com>
5197
5198 * Makefile.in (SFILES): Remove explictly listed tui files.
5199 (SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.
5200
78ced177 52012004-02-10 Jeff Johnston <jjohnstn@redhat.com>
8a1dac83 5202
78ced177
JJ
5203 * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
5204 to use paddr functions to format ia64 addresses and long values.
5205 (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
5206 (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
5207 (get_kernel_table, ia64_find_proc_info_x): Ditto.
5208 (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
5209 (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.
5210
6a83354a
AC
52112004-02-10 Andrew Cagney <cagney@redhat.com>
5212
5213 * defs.h: Do not include "tui.h".
5214 * gdb_curses.h: New file.
5215 * tui/tui-hooks.h: New file.
5216 * tui/tui.h (tui_update_all_exec_infos): Delete declaration.
5217 (tui_install_hooks, tui_remove_hooks): Delete declarations.
5218 (tui_initialize_io): Delete declaration.
5219 (tui_initialize_readline: Delete redundant declaration.
5220 (struct tui_point): Delete definition.
5221 * tui/tui-data.h (struct tui_point): Define.
5222 * cli/cli-decode.c [TUI]: Include "tui/tui.h".
5223 * utils.c: Include "tui/tui.h".
5224 * tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
5225 * printcmd.c [TUI]: Include "tui/tui.h".
5226 * cli/cli-cmds.c [TUI]: Include "tui/tui.h".
5227 * tui/tui-command.c: Include "gdb_curses.h".
5228 * tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
5229 * tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
5230 * tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
5231 * tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
5232 * tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
5233 * Makefile.in: Update all dependencies.
5234 (tui_hooks_h, gdb_curses_h): Define.
5235 (SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.
5236
997470ef
EZ
52372004-02-10 Elena Zannoni <ezannoni@redhat.com>
5238
5239 * objfiles.h (struct objfile): Remove unused fields auxf1 and
5240 auxf2. Add comments about some other rarely used fields.
5241
4ff2cc4d
AC
52422004-02-10 Andrew Cagney <cagney@redhat.com>
5243
5244 * Makefile.in (init.c): Fix script removing duplicates. Problem
5245 reported by Peter Schauer.
5246
1ab21617
EZ
52472004-02-09 Elena Zannoni <ezannoni@redhat.com>
5248
5249 * bcache.c (bcache_xmalloc): Use obstack_init instead of
5250 obstack_specify_allocation.
5251 * objfiles.c (allocate_objfile): Ditto.
8a1dac83 5252 * solib-sunos.c (solib_add_common_symbols)
1ab21617
EZ
5253 (allocate_rt_common_objfile): Ditto.
5254 * symfile.c (reread_symbols): Ditto.
5255 * gdb_obstack.h: Add comment.
5256
17763fd9
EZ
52572004-02-09 Elena Zannoni <ezannoni@redhat.com>
5258
5259 * linespec.c (decode_line_1, locate_first_half)
5260 (decode_compound, lookup_prefix_sym): Update comments. Delete old
5261 commented out code.
5262
ec5cdd75
DJ
52632004-02-09 Daniel Jacobowitz <drow@mvista.com>
5264
5265 * cp-namespace.c (check_one_possible_namespace_symbol): Don't use
5266 obstack_free.
5267
43b54b88
AC
52682004-02-09 Andrew Cagney <cagney@redhat.com>
5269
5270 * blockframe.c (find_pc_partial_function): If find_pc_overlay
5271 fails, try find_pc_section. Fix PR c++/1267.
5272 * minsyms.c (lookup_minimal_symbol_by_pc): Use find_pc_section
5273 instead of find_pc_mapped_section.
5274 (lookup_minimal_symbol_by_pc_section): If the SECTION is NULL, do
5275 not default to the section containing PC. Fix PR symtab/1519.
5276
edfae063
AC
52772004-02-09 Andrew Cagney <cagney@redhat.com>
5278
5279 * Makefile.in (mips-tdep.o): Update dependencies.
5280 * mips-tdep.c: Include "frame-unwind.h", "frame-base.h" and
5281 "trad-frame.h".
5282 (mips_unwind_pc): Return the pseudo PC register.
5283 (mips_unwind_dummy_id): New function.
5284 (mips16_fetch_instruction): New function.
5285 (mips32_fetch_instruction): New function.
5286 (struct mips_frame_cache): Define.
5287 (mips_mdebug_frame_cache): New function.
5288 (mips_mdebug_frame_this_id): New function.
5289 (mips_mdebug_frame_prev_register): New function.
5290 (mips_mdebug_frame_unwind): Define.
5291 (mips_mdebug_frame_sniffer): New function.
5292 (mips_mdebug_frame_base_address): New function.
5293 (mips_mdebug_frame_base): Define.
5294 (mips_mdebug_frame_base_sniffer): New function.
5295 (mips_gdbarch_init): Append unwind and base sniffers. Set
5296 unwind_dummy_id.
5297
defc864c
AC
52982004-02-08 Andrew Cagney <cagney@redhat.com>
5299
6764ddad
AC
5300 * frame.c: Print both the register number and name.
5301
defc864c
AC
5302 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
5303 and a sed into a single sed. Make .c and .o patterns more robust.
5304 (OBS): Delete.
5305 (INIT_FILES): Replace OBS with COMMON_OBS.
5306 (COMMON_OBS): Move DEPFILES and YYOBJ to start of definition.
5307
645d6d10
MK
53082004-02-08 Mark Kettenis <kettenis@gnu.org>
5309
5310 * sparc-nat.c (sparc_xfer_wcookie): Try to fetch the cookie using
5311 the PT_WCOOKIE request.
5312
23e3c3fc
AC
53132004-02-08 Andrew Cagney <cagney@redhat.com>
5314
58dfe9ff
AC
5315 * mips-tdep.c (mips_unwind_pc): New function.
5316 (mips_gdbarch_init): Set mips_unwind_pc.
5317
1152e35e
AC
5318 * frame.c (legacy_saved_regs_this_id): Return a null frame ID.
5319 (get_frame_id): Allow the UNKNOWN_FRAME.
5320 (frame_register_unwind, get_frame_type): Ditto.
5321
31b75dbf
AC
5322 * frame.c (legacy_frame_p): Check for DEPRECATED_TARGET_READ_FP_P
5323 and DEPRECATED_FP_REGNUM. Don't assume that the lack of
5324 unwind_dummy_id indicates a legacy frame.
5325
3483b318
AC
5326 * configure.in (CONFIG_LIB_OBS): Replace with CONFIG_OBS.
5327 * configure: Re-generate.
5328
23e3c3fc
AC
5329 * mips-tdep.c (mips_gdbarch_init): Group deprecated frame unwind
5330 methods.
5331
33f8ca73
AC
53322004-02-08 Andrew Cagney <cagney@redhat.com>
5333
5334 * configure.in (CONFIG_ALL): Set to Makefile target, and not
5335 makefile macro.
5336 * configure: Re-generate.
5337 (CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Ditto.
5338 * Makefile.in (SUBDIR_CLI_CLEAN): Delete.
5339 (SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): Delete.
5340 (SUBDIR_CLI_ALL, SUBDIR_GDBTK_ALL): Delete.
5341 (SUBDIR_GDBTK_CLEAN, SUBDIR_GDBTK_INSTALL): Delete.
5342 (SUBDIR_GDBTK_UNINSTALL, SUBDIR_MI_ALL): Delete.
5343 (SUBDIR_MI_CLEAN, SUBDIR_MI_INSTALL): Delete.
5344 (SUBDIR_MI_UNINSTALL, SUBDIR_TUI_ALL): Delete.
5345 (SUBDIR_TUI_CLEAN, SUBDIR_TUI_INSTALL): Delete.
5346 (SUBDIR_TUI_UNINSTALL, SUBDIR_CLI_CLEAN): Delete.
5347
6ba8e26f 53482004-02-07 Andrew Cagney <cagney@redhat.com>
d836ee13 5349
20d286a5
AC
5350 * Makefile.in: Update all dependencies.
5351
d836ee13
AC
5352 * configure.in (CONFIG_INITS, CONFIG_LIB_OBS): Delete.
5353 * configure: Re-generate.
5354 * Makefile.in (INIT_FILES): Replace CONFIG_INITS with CONFIG_SRCS.
5355 (CONFIG_LIB_OBS, CONFIG_INITS): Delete.
5356 (COMMON_OBS): Add "main.o" and "annotate.o".
5357 (ANNOTATE_OBS): Delete.
5358 (OBS): Remove ANNOTATE_OBS.
5359 (DEPFILES): Replace CONFIG_LIB_OBS with CONFIG_LIB_OBS, remove
5360 CONFIG_INITS.
5361 (gdb$(EXEEXT), insight$(EXEEXT)): Do not depend on, or link
5362 against CONFIG_OBS and "main.o".
5363 (SUBDIR_CLI_INITS, SUBDIR_MI_INITS): Delete.
5364 (SUBDIR_TUI_INITS, SUBDIR_GDBTK_INITS): Delete.
5365
d02c80cd
AC
5366 * tui/tui-command.c: Include "gdb_string.h", delete register
5367 attribute, use ISO-C function signatures.
5368 * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto.
5369 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
5370 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto.
5371 * tui/tui.c: Ditto.
6ba8e26f
AC
5372
5373 * tui/tui-command.c: Change variable and function names to lower
5374 case.
5375 * tui/tui-data.c, tui/tui-disasm.c: Ditto.
5376 * tui/tui-hooks.c, tui/tui-io.c, tui/tui-layout.c: Ditto.
5377 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
5378 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
5379 * tui/tui-winsource.c, tui/tui.c: Ditto.
5380
4a146b47
EZ
53812004-02-07 Elena Zannoni <ezannoni@redhat.com>
5382
5383 * buildsym.c (free_pending_blocks, finish_block)
5384 (record_pending_block, make_blockvector, end_symtab): Replace
5385 symbol_obstack with objfile_obstack.
8a1dac83 5386 * coffread.c (process_coff_symbol, coff_read_struct_type)
4a146b47 5387 (coff_read_enum_type): Ditto.
8a1dac83 5388 * cp-namespace.c (initialize_namespace_symtab)
4a146b47 5389 (check_one_possible_namespace_symbol): Ditto.
8a1dac83 5390 * dwarf2read.c (new_symbol, dwarf2_const_value, macro_start_file)
4a146b47
EZ
5391 (dwarf2_symbol_mark_computed): Ditto.
5392 * dwarfread.c (enum_type, new_symbol, synthesize_typedef): Ditto.
5393 * elfread.c (elf_symtab_read): Ditto.
5394 * hpread.c (hpread_symfile_init, hpread_symfile_init)
5395 (hpread_read_enum_type, hpread_read_function_type)
5396 (hpread_read_doc_function_type, hpread_process_one_debug_symbol):
5397 Ditto.
8a1dac83 5398 * jv-lang.c (get_java_class_symtab, add_class_symbol)
4a146b47 5399 (java_link_class_type): Ditto.
8a1dac83 5400 * mdebugread.c (parse_symbol, psymtab_to_symtab_1, new_symtab)
4a146b47
EZ
5401 (new_symbol): Ditto.
5402 * minsyms.c (install_minimal_symbols): Ditto.
5403 * objfiles.c (allocate_objfile): Remove init of symbol_obstack.
5404 (terminate_minimal_symbol_table): Replace symbol_obstack with
5405 objfile_obstack.
5406 (free_objfile): Remove freeing of symbol_obstack.
5407 * objfiles.h: Remove symbol_obstack field.
5408 * pa64solib.c (add_to_solist): Replace symbol_obstack with
5409 objfile_obstack.
5410 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
5411 symbol_obstack.
5412 (solib_add_common_symbols): Replace symbol_obstack with
5413 objfile_obstack.
5414 * somsolib.c (som_solib_add): Ditto.
5415 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
5416 (common_block_start, common_block_end): Ditto.
5417 * symfile.c (reread_symbols): Remove freeing and init of
5418 symbol_obstack.
5419 (allocate_symtab): Rename symbol_obstack to objfile_obstack.
5420 * symfile.h: Update comment.
5421 * symmisc.c (print_objfile_statistics): Remove symbol_obstack
5422 stats printing.
5423 * symtab.c (symbol_set_names): Replace symbol_obstack with
5424 objfile_obstack.
5425 * symtab.h (struct general_symbol_info, struct minimal_symbol):
5426 Update comments.
5427 * xcoffread.c (read_xcoff_symtab, SYMBOL_DUP, SYMNAME_ALLOC)
5428 (init_stringtab, xcoff_initial_scan): Replace symbol_obstack with
5429 objfile_obstack.
5430
6d012f14
AC
54312004-02-07 Andrew Cagney <cagney@redhat.com>
5432
5433 * tui/tui.h: Do not include <stdarg.h>, <string.h>, and
5434 "ansidecl.h". Do not undef "reg" and "chtype". Fix case of
5435 fields and variables.
5436 * tui/tui-wingeneral.h (m_beVisible): Delete macro.
5437 (m_beInvisible): Delete macro.
5438 * tui/tui-data.h: Fix case case fields and variables.
5439 (m_genWinPtrIsNull): Delete macro.
5440 (tui_win_list): Rename winList.
5441 (TUI_SRC_WIN): Rename srcWin.
5442 (TUI_DISASM_WIN): Rename disassemWin.
5443 (TUI_DATA_WIN): Rename dataWin.
5444 (TUI_CMD_WIN): Rename cmdWin.
5445 (m_genWinPtrNotNull): Delete macro.
5446 (m_winPtrIsNull): Delete macro.
5447 (m_winPtrNotNull): Delete macro.
5448 (tui_win_is_source_type): Replace m_winIsSourceType
5449 (tui_win_is_auxillary): Replace m_winIsAuzillary.
5450 (tui_win_has_locator): Replace m_hasLocator.
5451 (tui_set_win_highlight): Replace m_setWinHighlightOn and
5452 m_setWinHighlightOff.
5453 * tui/tui-data.c: Update references.
5454 (tui_win_is_source_type, tui_set_win_highlight): New functions.
5455 (tui_win_has_locator, tui_win_is_auxillary): New functions.
5456 * tui/tui-command.c, tui/tui-disasm.c: Update references.
5457 * tui/tui-io.c, tui/tui-layout.c, tui/tui-regs.c: Ditto.
5458 * tui/tui-regs.h, tui/tui-source.c, tui/tui-stack.c: Ditto.
5459 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
5460 * tui/tui-winsource.c, tui/tui.c: Ditto.
5461
7d34766b
MK
54622004-02-07 Mark Kettenis <kettenis@gnu.org>
5463
1c800673
MK
5464 * sparc-tdep.h (sparc_fetch_wcookie): New prototype.
5465 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Handle
5466 StackGhost.
5467
7d34766b
MK
5468 * sparc-tdep.c (sparc32_frame_prev_register): Rename local
5469 variable `i6' to `i7'.
5470 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
5471
22940a24
AC
54722004-02-07 Andrew Cagney <cagney@redhat.com>
5473
5474 * tui/tui.h (Opaque, OpaquePtr OpaqueList): Delete definition.
5475 (TuiPoint, TuiPointPtr): Ditto.
5476 (TuiStatus, TuiStatusPtr): Ditto.
5477 (TuiWinType, TuiWinTypePtr): Ditto.
5478 (struct tui_point): Rename _TuiPoint.
5479 (tui_get_low_disassembly_address): Rename
5480 tuiGetLowDisassemblyAddress.
5481 (tui_update_all_exec_infos): Rename tuiUpdateAllExecInfos.
5482 (tuiFree): Delete declaration.
5483 (OpaqueFuncPtr, TuiOpaqueFuncPtr): Delete definitions.
5484 (TuiVoidFuncPtr, TuiIntFuncPtr): Delete definitions.
5485 * tui/tui.c (tuiFree): Delete function.
5486 * cli/cli-cmds.c (disassemble_command): Update references.
5487 * tui/tui-data.c, tui/tui-data.h, tui/tui-disasm.c: Ditto.
5488 * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto.
5489 * tui/tui-stack.c, tui/tui-win.c, tui/tui-wingeneral.c: Ditto.
5490 * tui/tui-winsource.c: Ditto.
5491
8b92e4d5
EZ
54922004-02-07 Elena Zannoni <ezannoni@redhat.com>
5493
5494 * dbxread.c (dbx_symfile_init, start_psymtab, end_psymtab,
5495 coffstab_build_psymtabs, elfstab_build_psymtabs)
5496 (stabsect_build_psymtabs): Replace psymbol_obstack with
5497 objfile_obstack.
5498 * dwarf2-frame.c (decode_frame_entry_1): Ditto.
5499 * dwarf2read.c (dwarf2_build_psymtabs_hard, dwarf2_read_section):
5500 Ditto.
5501 * dwarfread.c (scan_compilation_units): Ditto.
5502 * elfread.c (elfstab_offset_sections): Ditto.
5503 * hppa-tdep.c (read_unwind_info): Ditto.
5504 * hpread.c (hpread_build_psymtabs, hpread_start_psymtab)
5505 (hpread_end_psymtab): Ditto.
5506 * mdebugread.c (mdebug_build_psymtabs, add_pending)
5507 (parse_partial_symbols, new_psymtab, elfmdebug_build_psymtabs):
5508 Ditto.
5509 * mips-tdep.c (non_heuristic_proc_desc): Ditto.
8a1dac83 5510 * objfiles.c (add_to_objfile_sections)
8b92e4d5
EZ
5511 (build_objfile_section_table): Ditto.
5512 (allocate_objfile): Remove init of psymbol_obstack.
5513 (free_objfile): Remove freeing of psymbol_obstack.
5514 * objfiles.h (struct objfile): Remove field
5515 psymbol_obstack. Update comments.
5516 * pa64solib.c (pa64_solib_add_solib_objfile): Replace
5517 psymbol_obstack with objfile_obstack.
5518 * solib-sunos.c (allocate_rt_common_objfile): Remove init of
5519 psymbol_obstack.
5520 * somread.c (som_symfile_offsets, init_import_symbols)
5521 (init_export_symbols): Replace psymbol_obstack with
5522 objfile_obstack.
5523 * somsolib.c (som_solib_add_solib_objfile): Ditto.
5524 * symfile.c (default_symfile_offsets, syms_from_objfile)
5525 (reread_symbols): Remove freeing and init of psymbol_obstack.
5526 (cashier_psymtab): Update comment.
5527 * symmisc.c (print_objfile_statistics): Don't report stats for
5528 psymbol obstack.
5529 * symtab.h (struct general_symbol_info, struct partial_symtab):
5530 Update comments.
5531 * xcoffread.c (xcoff_start_psymtab, xcoff_end_psymtab, swap_sym)
5532 (xcoff_symfile_offsets): Replace psymbol_obstack with
5533 objfile_obstack.
5534
b99607ea
EZ
55352004-02-07 Elena Zannoni <ezannoni@redhat.com>
5536
5537 * objfiles.h (struct objfile): Add objfile_obstack field.
5538 Remove type_obstack field.
5539
5540 * dwarf2read.c (dwarf2_add_field,dwarf2_add_member_fn,
5541 read_structure_scope read_enumeration, new_symbol): Replace
5542 type_obstack with objfile_obstack.
5543 * dwarfread.c (struct_type, enum_type): Ditto.
8a1dac83 5544 * gdbtypes.c (alloc_type, alloc_type_instance, init_type)
b99607ea
EZ
5545 (lookup_fundamental_type): Ditto.
5546 * gdbtypes.h (TYPE_ALLOC): Ditto.
8a1dac83
RM
5547 * hpread.c (hpread_read_enum_type, hpread_read_function_type)
5548 (hpread_read_doc_function_type, hpread_read_struct_type)
5549 (fix_static_member_physnames, hpread_read_array_type)
b99607ea 5550 (hpread_read_subrange_type, hpread_type_lookup): Ditto.
8a1dac83 5551 * jv-lang.c (java_lookup_class, type_from_class, type_from_class)
b99607ea
EZ
5552 (java_link_class_type): Ditto.
5553 * mdebugread.c (parse_type): Ditto.
5554 * objfiles.c (allocate_objfile, free_objfile): Ditto.
5555 * solib-sunos.c (solib_add_common_symbols): Ditto.
5556 * stabsread.c (define_symbol, read_type, read_member_functions,
5557 read_cpp_abbrev, read_one_struct_field): Ditto.
5558 * symfile.c (reread_symbols): Ditto.
5559 * symmisc.c (print_objfile_statistics): Ditto.
8a1dac83 5560
2a8854a7
AC
55612004-02-07 Andrew Cagney <cagney@redhat.com>
5562
5563 * tui/tui-data.h (tui_win_element): Rename TuiWinElement.
5564 (tui_exec_info_content): Rename TuiExecInfoContent.
5565 (TuiGenWinInfo, TuiGenWinInfoPtr): Delete definitions.
5566 (TuiWinInfo, TuiWinInfoPtr): Ditto.
5567 (TuiScrollDirection, TuiScrollDirectionPtr): Ditto.
5568 (TuiList, TuiListPtr): Ditto.
5569 (TuiLayoutType, TuiLayoutTypePtr): Ditto.
5570 (TuiDataType, TuiDataTypePtr): Ditto.
5571 (TuiRegisterDisplayType, TuiRegisterDisplayTypePtr): Ditto.
5572 (TuiLineOrAddress, TuiLineOrAddressPtr): Ditto.
5573 (TuiLayoutDef, TuiLayoutDefPtr): Ditto.
5574 (TuiSourceElement, TuiSourceElementPtr): Ditto.
5575 (TuiDataElement, TuiDataElementPtr): Ditto.
5576 (TuiWinElement, TuiWinElementPtr): Ditto.
5577 (TuiDataInfo, TuiDataInfoPtr): Ditto.
5578 (TuiCommandElement, TuiCommandElementPtr): Ditto.
5579 (TuiLocatorElement, TuiLocatorElementPtr): Ditto.
5580 (TuiWhichElement, TuiWhichElementPtr): Ditto.
5581 (TuiSourceInfo, TuiSourceInfoPtr): Ditto.
5582 (TuiCommandInfo, TuiCommandInfoPtr): Ditto.
5583 * tui/tui-command.c, tui/tui-data.c: Update references.
5584 * tui/tui-data.h, tui/tui-disasm.c, tui/tui-layout.c: Ditto.
5585 * tui/tui-regs.c, tui/tui-source.c, tui/tui-stack.c: Ditto.
5586 * tui/tui-win.c, tui/tui-windata.c, tui/tui-wingeneral.c: Ditto.
5587 * tui/tui-winsource.c, tui/tui.c: Ditto.
8a1dac83 5588
05cbe71a
MK
55892004-02-07 Mark Kettenis <kettenis@gnu.org>
5590
5591 * dwarf2-frame.h: Update copyright.
5592 (enum dwarf2_frame_reg_rule): New.
5593 (struct dwarf2_frame_state_reg): New.
5594 (dwarf2_frame_sniffer, dwarf2_frame_base_sniffer): Make extern.
5595 * dwarf2-frame.c: Update copyright.
5596 (enum dwarf2_reg_rule): Remove.
5597 (struct dwarf2_frame_state): Remove defenition of `struct
5598 dwarf2_frame_state_reg'.
5599 (read_reg): Call get_frame_arch to get the architecture instead of
5600 using CURRENT_GDBARCH.
5601 (execute_cfa_program): Prefix old `enum dwarf2_reg_rule' tags with
5602 DWARF2_FRAME_.
5603 (dwarf2_frame_init_reg): New function.
5604 (dwarf2_frame_cache): Call get_frame_arch to get the architecture
5605 instead of using CURRENT_GDBARCH. Call dwarf2_frame_init_reg to
5606 initialize the register state. Prefix old `enum dwarf2_reg_rule'
5607 tags with DWARF2_FRAME_.
5608 (dwarf2_frame_prev_register): Call get_frame_arch to get the
5609 architecture instead of using CURRENT_GDBARCH. Prefix old `enum
5610 dwarf2_reg_rule' tags with DWARF2_FRAME_.
5611
ec7d9e56
AC
56122004-02-06 Andrew Cagney <cagney@redhat.com>
5613
dd1abb8c
AC
5614 * tui/tui-data.h (struct tui_list): Rename _TuiList.
5615 (enum tui_data_type): Rename _TuiDataType.
5616 (struct tui_layout_def): Rename _TuiLayoutDef.
5617 (struct tui_source_element): Rename _TuiSourceElement.
5618 (struct tui_data_element): Rename _TuiDataElement.
5619 (struct tui_command_element): Rename _TuiCommandElement.
5620 (struct tui_locator_element): Rename _TuiLocatorElement.
5621 (union tui_which_element): Define.
5622 (struct tui_win_element): Rename _TuiWinElement.
5623 (struct tui_data_info): Rename _TuiDataInfo.
5624 (struct tui_source_info): Rename _TuiSourceInfo.
5625 (struct tui_command_info): Rename _TuiCommandInfo.
5626 (tui_initialize_static_data): Rename initializeStaticData.
5627 (tui_alloc_generic_win_info): Rename allocGenericWinInfo.
5628 (tui_alloc_win_info): Rename allocWinInfo.
5629 (tui_init_generic_part): Rename initGenericPart.
5630 (tui_init_win_info): Rename initWinInfo.
5631 (tui_alloc_content): Rename allocContent.
5632 (tui_add_content_elements): Rename addContentElements.
5633 (tui_init_content_element): Rename initContentElement.
5634 (tui_free_window): Rename freeWindow.
5635 (tui_free_win_content): Rename freeWinContent.
5636 (tui_free_data_content): Rename freeDataContent.
5637 (tui_free_all_source_wins_content): Rename
5638 freeAllSourceWinsContent.
5639 (tui_del_window): Rename tuiDelWindow.
5640 (tui_del_data_windows): Rename tuiDelDataWindows.
5641 (tui_partial_win_by_name): Rename partialWinByName.
5642 (tui_win_name): Rename winName.
5643 (tui_current_layout): Rename currentLayout.
5644 (tui_set_current_layout_to): Rename setCurrentLayoutTo.
5645 (tui_term_height): Rename termHeight.
5646 (tui_set_term_height_to): Rename setTermHeightTo.
5647 (tui_term_width): Rename termWidth.
5648 (tui_set_term_width_to): Rename setTermWidthTo.
5649 (tui_set_gen_win_origin): Rename setGenWinOrigin.
5650 (tui_locator_win_info_ptr): Rename locatorWinInfoPtr.
5651 (tui_source_exec_info_win_ptr): Rename tui_gen_win_info.
5652 (tui_disassem_exec_info_win_ptr): Rename disassemExecInfoWinPtr.
5653 (tui_source_windows): Rename sourceWindows.
5654 (tui_clear_source_windows): Rename clearSourceWindows.
5655 (tui_clear_source_windows_detail): Rename
5656 clearSourceWindowsDetail.
5657 (tui_clear_win_detail): Rename clearWinDetail.
5658 (tui_add_to_source_windows): Rename tuiAddToSourceWindows.
5659 (tui_default_tab_len): Rename tuiDefaultTabLen.
5660 (tui_set_default_tab_len): Rename tuiSetDefaultTabLen.
5661 (tui_win_with_focus): Rename tuiWinWithFocus.
5662 (tui_set_win_with_focus): Rename tuiSetWinWithFocus.
5663 (tui_layout_def): Rename tuiLayoutDef.
5664 (tui_win_resized): Rename tuiWinResized.
5665 (tui_set_win_resized_to): Rename tuiSetWinResizedTo.
5666 (tui_next_win): Rename tuiNextWin.
5667 (tui_prev_win): Rename tuiPrevWin.
5668 (tui_add_to_source_windows): Rename addToSourceWindows.
5669 * tui/tui-winsource.c, tui/tui-win.c: Update references.
5670 * tui/tui-layout.c, tui/tui-source.c: Ditto.
5671 * tui/tui-stack.c, tui/tui-io.c: Ditto.
5672 * tui/tui.c, tui/tui-data.c: Ditto.
5673 * tui/tui-interp.c, tui/tui-data.c: Ditto.
5674 * tui/tui-disasm.c, tui/tui-command.c: Ditto.
5675
a358af15
AC
5676 * tui/tui-source.h: Update copyright. Include "tui-data.h".
5677 (struct symtab): Declare.
5678 (tui_set_source_content): Rename tuiSetSourceContent.
5679 (tui_show_symtab_source): Rename tuiShowSource.
5680 (tui_source_is_displayed): Rename tuiSourceIsDisplayed.
5681 (tui_vertical_source_scroll): Rename tuiVerticalSourceScroll.
5682 * tui/tui-source.c: Update copyright. Update references.
5683 * tui/tui-win.c, tui/tui-winsource.c: Update references.
5684 * tui/tui-stack.c: Update references.
5685
a21fcd8f
AC
5686 * tui/tui-win.h: Update copyright. Include "tui-data.h".
5687 (struct tui_win_info): Declare.
5688 (tui_scroll_forward): Rename tuiScrollForward.
5689 (tui_scroll_backward): Rename tuiScrollBackward.
5690 (tui_scroll_left): Rename tuiScrollLeft.
5691 (tui_scroll_right): Rename tuiScrollRight.
5692 (tui_set_win_focus_to): Rename tuiSetWinFocusTo.
5693 (tui_resize_all): Rename tuiResizeAll.
5694 (tui_refresh_all_win): Rename tuiRefreshAll.
5695 (tui_sigwinch_handler): Rename tuiSigwinchHandler.
5696 * tui/tui-layout.c, * tui/tui-io.c: Update references.
5697 * tui/tui-wingeneral.h, * tui/tui.c: Update references.
5698 * tui/tui-disasm.c, * tui/tui-command.c: Update references.
5699
edae1ccf
AC
5700 * tui/tui-windata.h: Update copyright. Include "tui-data.h".
5701 (tui_erase_data_content): Rename tuiEraseDataContent.
5702 (tui_display_all_data): Rename tuiDisplayAllData.
5703 (tui_check_data_values): Rename tuiCheckDataValues.
5704 (tui_display_data_from_line): Rename tuiDisplayDataFromLine.
5705 (tui_first_data_item_displayed): Rename tuiFirstDataItemDisplayed.
5706 (tui_first_data_element_no_in_line): Rename
5707 tuiFirstDataElementNoInLine.
5708 (tui_delete_data_content_windows): Rename
5709 tuiDeleteDataContentWindows.
5710 (tui_refresh_data_win): Rename tuiRefreshDataWin.
5711 (tui_display_data_from): Rename tuiDisplayDataFrom.
5712 (tui_vertical_data_scroll): Rename tuiVerticalDataScroll.
5713 * tui/tui-windata.c, tui/tui-hooks.c: Update references.
5714 * tui/tui-win.c, tui/tui-regs.c: Update references.
5715 * tui/tui-layout.c, tui/tui.c: Update references.
5716
ec7d9e56
AC
5717 * tui/tui-wingeneral.h: Update copyright.
5718 (m_allBeVisible): Delete macro.
8a1dac83 5719 (m_allBeInvisible): Delete macro.
ec7d9e56
AC
5720 (struct tui_gen_win_info): Declare.
5721 (struct tui_win_info): Declare.
5722 (tui_unhighlight_win): Rename unhighlightWin.
5723 (tui_make_visible, tui_make_invisible): Replace makeVisible.
5724 (tui_make_all_visible, tui_make_all_invisible): Replace makeAllVisible.
5725 (tui_make_window): Rename makeWindow.
5726 (tui_copy_win): Rename copyWin.
5727 (tui_box_win): Rename boxWin.
5728 (tui_highlight_win): Rename highlightWin.
5729 (tui_check_and_display_highlight_if_needed): Rename
5730 checkAndDisplayHighlightIfNeeded.
5731 (tui_refresh_all): Rename refreshAll.
5732 (tui_delete_win): Rename tuiDelwin.
5733 (tui_refresh_win): Rename tuiRefreshWin.
5734 * tui/tui-wingeneral.c (make_visible): Rename makeVisible.
5735 (tui_make_visible, tui_make_invisible): New functions.
5736 (tui_make_all_visible, tui_make_all_invisible): New functions.
5737 (make_all_visible): Rename makeAllVisible.
5738 * tui/tui-winsource.c, tui/tui-windata.c: Update references.
5739 * tui/tui-data.c, tui/tui-winsource.c: Update references.
5740 * tui/tui-windata.c, tui/tui-win.c: Update references.
5741 * tui/tui-regs.c, tui/tui-layout.c: Update references.
5742 * tui/tui-data.h (struct tui_gen_win_info): Rename _TuiGenWinInfo.
5743
1e52e2eb
MK
57442004-02-06 Mark Kettenis <kettenis@gnu.org>
5745
5746 * proc-api.c (write_with_trace): Initialize local variable to
5747 silence compiler warning.
5748
f80bda8e
AC
57492004-02-06 Andrew Cagney <cagney@redhat.com>
5750
5751 * tui/tui-source.h: Do not include "defs.h".
5752 (struct tui_win_info): Declare.
5753 (tui_set_source_content_nil): Declare.
5754 * tui/tui-data.h (struct tui_win_info): Rename _TuiWinInfo.
5755 (union tui_line_or_address): Rename _TuiLineOrAddress.
5756 * tui/tui-winsource.h: Update copyright. Include "tui-data.h".
5757 (tui_update_source_window): Rename tuiUpdateSourceWindow.
5758 (tui_update_source_window_as_is): Rename
5759 tuiUpdateSourceWindowAsIs.
5760 (tui_update_source_windows_with_addr): Rename
5761 tuiUpdateSourceWindowsWithAddr.
5762 (tui_update_source_windows_with_line): Rename
5763 tuiUpdateSourceWindowsWithLine.
5764 (tui_clear_source_content): Rename tuiClearSourceContent.
5765 (tui_erase_source_content): Rename tuiEraseSourceContent.
5766 (tui_set_source_content_nil): Rename tuiSetSourceContentNil.
5767 (tui_show_source_content): Rename tuiShowSourceContent.
5768 (tui_horizontal_source_scroll): Rename tuiHorizontalSourceScroll.
5769 (tui_set_exec_info_content): Rename tuiSetExecInfoContent.
5770 (tui_show_exec_info_content): Rename tuiShowExecInfoContent.
5771 (tui_erase_exec_info_content): Rename tuiEraseExecInfoContent.
5772 (tui_clear_exec_info_content): Rename tuiClearExecInfoContent.
5773 (tui_update_exec_info): Rename tuiUpdateExecInfo.
5774 (tui_set_is_exec_point_at): Rename tuiSetIsExecPointAt.
5775 (tui_alloc_source_buffer): Rename tuiAllocSourceBuffer.
5776 (tui_line_is_displayed): Rename tuiLineIsDisplayed.
5777 (tui_addr_is_displayed): Rename tuiAddrIsDisplayed.
5778 (struct tui_win_info): Declare.
5779 * tui/tui-stack.c: Update references.
5780 * tui/tui-layout.c, tui/tui-winsource.c: Ditto.
5781 * tui/tui-win.c, tui/tui-source.c: Ditto.
5782 * tui/tui.c, tui/tui-disasm.c: Ditto.
5783
9fbfb822
MK
57842004-02-06 Mark Kettenis <kettenis@gnu.org>
5785
5786 * i386-linux-tdep.c (i386_linux_sigcontext_addr): Fix calculation
5787 of UCONTEXT_ADDR. Fixes PR backtrace/1545.
5788
03cebad2
MK
57892004-02-05 Mark Kettenis <kettenis@gnu.org>
5790
5791 * infrun.c (handle_inferior_event): Allow for breakpoint
5792 instructions to generate a SIGSEGV in addition to SIGTRAP, SIGILL
5793 and SIGEMT. Update comments.
5794 * NEWS (Revised SPARC target): Mention support for non-executable
5795 stack.
5796
290281b1
MK
57972004-02-04 Mark Kettenis <kettenis@gnu.org>
5798
5799 * target.h (target_object): Add TARGET_OBJECT_WCOOKIE.
5800 * inftarg.c: Update copyright year.
5801 (child_xfer_partial): Add support for TARGET_OBJECT_WCOOKIE.
5802 * sparc-nat.c: Include "target.h" and "gdb_assert.h".
5803 (sparc_xfer_wcookie): New function.
5804 * sparc-tdep.c (sparc_fetch_wcookie): New function.
5805 * Makefile.in (sparc-nat.o): Update dependencies.
5806 * config/sparc/nm-nbsd.h: Include "target.h".
5807 (NATIVE_XFER_WCOOKIE): New define.
5808 (sparc_xfer_wcookie): New prototype.
5809
212161df
AC
58102004-02-04 Andrew Cagney <cagney@redhat.com>
5811
5812 * m68k-tdep.c (m68k_saved_pc_after_call): Delete #ifdef
5813 SYSCALL_TRAP function.
5814 (m68k_gdbarch_init): Delete #ifdef SYSCALL_TRAP code.
5815
6e4c6c91
DJ
58162004-02-04 Andrew Cagney <cagney@redhat.com>
5817 Daniel Jacobowitz <drow@mvista.com>
5818
5819 * objfiles.h: Delete comments refering to inside_entry_func and
5820 DEPRECATED_FRAME_CHAIN_VALID.
5821 * defs.h (inside_entry_func): Update prototype..
5822 * blockframe.c (inside_entry_func): Rename to
5823 legacy_inside_entry_func. Add new inside_entry_func taking a frame.
5824 * frame.c (get_prev_frame): Pass the frame to inside_entry_func.
5825
cae688ec
JJ
58262004-02-03 Jeff Johnston <jjohnstn@redhat.com>
5827
5828 * breakpoint.c (struct captured_parse_breakpoint_args): Move
5829 outside of #ifdef SOLIB_ADD region.
5830 (do_restore_lang_radix_cleanup): Ditto.
5831 (resolve_pending_breakpoint): Ditto.
5832
19217676
AC
58332004-02-03 Andrew Cagney <cagney@redhat.com>
5834
5835 * ia64-tdep.c (read_sigcontext_register): Delete unused function.
5836 (process_note_abi_tag_sections): Delete unused function.
5837 (ia64_read_fp): Delete unused function.
5838 (gdbarch_extract_struct_value_address): Delete declaration.
5839
876753be
AC
58402004-02-02 Andrew Cagney <cagney@redhat.com>
5841
5842 * vax-tdep.c (vax_frame_chain): Delete call to
5843 deprecated_inside_entry_file.
5844 * ns32k-tdep.c (ns32k_frame_chain): Ditto.
5845
d4f10bf2
MK
58462004-02-02 Mark Kettenis <kettenis@gnu.org>
5847
5848 * dwarf2-frame.c (dwarf2_frame_cache): Deal with a return address
5849 column that's "empty" or "same value" when eliminating REG_RA
5850 rules.
5851
cae688ec
JJ
58522004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5853
5854 * NEWS: Add information about new pending breakpoint support.
5855
0101ce28
JJ
58562004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5857
5858 * breakpoint.h (struct breakpoint): Add new flag, from_tty,
5859 and pending fields for pending breakpoint support.
5860 * breakpoint.c (breakpoint_enabled): Add check for not pending.
5861 (condition_command): Only parse condition if not a pending
5862 breakpoint.
5863 (print_one_breakpoint): Add support for pending breakpoints.
5864 (describe_other_breakpoints): Add checks to verify we are not
5865 dealing with pending breakpoints.
5866 (check_duplicates): Don't check pending breakpoints.
5867 (set_raw_breakpoint): Initialize pending flag.
5868 (do_restore_lang_radix_cleanup): New cleanup routine.
5869 (resolve_pending_breakpoint): New function.
5870 (re_enable_breakpoints_in_shlibs): Try and resolve any
5871 pending breakpoints via resolve_pending_breakpoint.
5872 (mention): Add pending breakpoint support.
5873 (parse_breakpoint_sals): Add new parameter to pass to
5874 decode_line_1 to indicate silent errors when files or functions
5875 are not found. Change all callers.
5876 (do_captured_parse_breakpoint): New function.
5877 (break_command_1): Change prototype to return an rc value and to
5878 take an optional pending breakpoint pointer. Support creating
5879 a pending breakpoint if a "not found" form of error occurs when
5880 parsing the breakpoint. Also support resolving an existing pending
5881 breakpoint and be silent if the resolution fails.
5882 (create_breakpoints): Change prototype to take pending breakpoint
5883 pointer. When resolving a pending breakpoint, use the new pointer
5884 to provide a conditional or commands added by the end-user.
5885 (delete_breakpoint): Add appropriate check for pending.
5886 (breakpoint_re_set_one): Ditto.
5887 (do_enable_breakpoint): Ditto.
5888
8d577d32
DC
58892004-02-02 David Carlton <carlton@kealia.com>
5890
5891 * valops.c (enum oload_classification): New.
5892 (find_overload_match): Break implementation into separate
5893 functions; delete #if 0'd code; look for symbols within
5894 namespaces.
5895 (find_oload_champ_namespace,find_oload_champ_namespace_loop)
5896 (find_oload_champ,oload_method_static,classify_oload_match): New.
5897 * cp-support.h: Add declaration for cp_func_name; update
5898 declaration for make_symbol_overload_list.
5899 * cp-support.c (cp_func_name): New.
5900 (overload_list_add_symbol): Fix comment, use
5901 SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
5902 (make_symbol_overload_list): Take a function name and a namespace
5903 instead of a symbol; change implementation.
5904 (make_symbol_overload_list_using): New.
5905 (make_symbol_overload_list_qualified, read_in_psymtabs): New.
5906
22e8e3c7
FF
59072004-02-02 Fred Fish <fnf@redhat.com>
5908
5909 * main.c (gdb_stdtarg): Move definition to group with other
15390fef 5910 gdb_stdtarg definitions and update copyright years.
22e8e3c7
FF
5911 * remote-sim.c (gdb_os_write_stderr): Write output to
5912 gdb_stdtargerr stream instead of gdb_stdtarg stream.
5913 (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of
15390fef 5914 gdb_stderr stream and update copyright years.
22e8e3c7 5915
6b753f60
DJ
59162004-02-01 Daniel Jacobowitz <drow@mvista.com>
5917
5918 * Makefile.in (mips-linux-nat.o): Update dependencies.
5919 * mips-linux-nat.c: Include mips-tdep.h.
5920
59212004-02-01 Roland McGrath <roland@redhat.com>
2cb6b099
RM
5922
5923 * sol-thread.c (sol_thread_xfer_partial): New function.
5924 (init_sol_thread_ops): Use that for to_xfer_partial hook.
5925 (init_sol_core_ops): Likewise.
5926
5927 * procfs.c (procfs_xfer_partial): New function.
5928 (init_procfs_ops): Use that for procfs_ops.to_xfer_partial.
5929 * Makefile.in (procfs.o): Add $(auxv_h) dep.
5930
5931 * config/nm-linux.h (NATIVE_XFER_AUXV): New macro, uses auxv.c's
5932 procfs_xfer_auxv function.
5933
5934 * procfs.c (procfs_make_note_section): If we can read
5935 TARGET_OBJECT_AUXV data, add an NT_AUXV note containing it.
5936 * linux-proc.c (linux_make_note_section): Likewise.
5937
5938 * auxv.h: New file.
5939 * auxv.c: New file.
5940 * Makefile.in (auxv_h): New variable.
5941 (COMMON_OBS): Add auxv.o here.
5942 (auxv.o): New target.
5943
5944 * corelow.c (core_xfer_partial): New function.
5945 (init_core_ops): Use it for core_ops.to_xfer_partial.
5946
5947 * target.h (enum target_object): Add TARGET_OBJECT_AUXV.
5948 * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV
5949 macro if that is defined.
5950
fa5281d0
DJ
59512004-02-01 Daniel Jacobowitz <drow@mvista.com>
5952
5953 * breakpoint.c (bpstat_stop_status): Take a ptid_t argument,
5954 and check the specified thread for each breakpoint.
5955 * breakpoint.h (bpstat_stop_status): Update prototype.
5956 * infrun.c (handle_inferior_event): Update calls to
5957 bpstat_stop_status.
5958
26ee262d
DJ
59592004-02-01 Daniel Jacobowitz <drow@mvista.com>
5960
5961 * Makefile.in (cli-cmds.o): Add $(readline_h).
5962
d9b52655
DJ
59632004-02-01 Daniel Jacobowitz <drow@mvista.com>
5964
5965 * cli/cli-cmds.c: Include readline.h.
5966 (complete_command): Pass the start of the last word to
5967 complete_line.
5968
9709f61c
DJ
59692004-01-31 Daniel Jacobowitz <drow@mvista.com>
5970
5971 * breakpoint.c (bpstat_stop_status): Remove not_a_sw_breakpoint
5972 argument, and change first argument to a CORE_ADDR.
5973 * breakpoint.h (bpstat_stop_status): Update prototype.
5974 * infrun.c (adjust_pc_after_break): Add a new comment.
5975 (handle_inferior_event): Update calls to bpstat_stop_status.
5976
4f1280bb
DJ
59772004-01-31 Daniel Jacobowitz <drow@mvista.com>
5978
5979 * breakpoint.h: Update copyright years.
5980
4fa8626c
DJ
59812004-01-31 Daniel Jacobowitz <drow@mvista.com>
5982
5983 * breakpoint.c (software_breakpoint_inserted_here_p): New function.
5984 (bpstat_stop_status): Don't decrement PC.
5985 * breakpoint.h (software_breakpoint_inserted_here_p): Add
5986 prototype.
5987 * infrun.c (adjust_pc_after_break): New function.
5988 (handle_inferior_event): Call it, early. Remove later references
5989 to DECR_PC_AFTER_BREAK.
5990 (normal_stop): Add commentary.
5991
fad0733a
DJ
59922004-01-31 Daniel Jacobowitz <drow@mvista.com>
5993
5994 * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
5995 2004-01-27 double-free fix.
5996
42cdca6c
MK
59972004-01-31 Mark Kettenis <kettenis@gnu.org>
5998
5999 * sparc-tdep.c (sparc_fetch_wcookie): New function.
6000 (sparc32_frame_prev_register): Handle StackGhost.
6001 (sparc_supply_rwindow, sparc_collect_rwindow): Likewise.
6002
932d5416
RM
60032004-01-29 Roland McGrath <roland@redhat.com>
6004
6005 * configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
6006 * configure: Regenerated.
6007
6008 * procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
6009 * Makefile.in (procfs.o): Add dep.
6010
47d3492a
AC
60112004-01-28 Andrew Cagney <cagney@redhat.com>
6012
6013 * tui/tui-stack.h: Update copyright.
6014 (struct frame_info): Add opaque declaration.
6015 (tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
6016 (tui_show_locator_content): Rename tuiShowLocatorContent.
6017 (tui_show_frame_info): Rename tuiShowFrameInfo.
6018 * tui/tui-stack.c: Update copyright. Update references.
6019 * tui/tui-winsource.c: Update references.
6020 * tui/tui-win.c: Update references.
6021 * tui/tui-layout.c: Update references.
6022 * tui/tui-hooks.c: Update copyright, update references.
6023 * tui/tui.c: Update copyright, update references.
6024 * tui/tui-disasm.c: Update references.
6025
5d51ca54
DC
60262004-01-28 David Carlton <carlton@kealia.com>
6027
6028 * dwarf2read.c (add_partial_structure): Use demangled name if
6029 namespace equals "".
6030
086ed43d
JB
60312004-01-27 Jim Blandy <jimb@redhat.com>
6032
6033 Clean up misapplied patch:
6034 * dwarf2read.c (determine_prefix): Change one of the two forward
6035 declarations for 'determine_prefix_aux' to a declaration for this.
6036 (read_func_scope): Use cu->language, not cu_language. Pass 'cu'
6037 argument to 'die_specification'.
6038
2a35147e
JB
6039 * dwarf2read.c (read_func_scope): Re-indent comment.
6040
a355c7de 60412004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
932d5416 6042
a355c7de
AC
6043 * breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
6044 b->exp to NULL after freeing so that error during re-parsing or
6045 evaluation of expressions associated with breakpoint don't
6046 eventually lead to re-freeing of storage.
6047 Committed by Andrew Cagney.
6048
63ff5125
AC
60492004-01-27 Andrew Cagney <cagney@redhat.com>
6050
6051 * source.c (ambiguous_line_spec): Delete undefined declaration.
6052 * m32r-rom.c (m32r_set_board_address): Delete unused function.
6053 (m32r_set_server_address, m32r_set_download_path): Ditto.
6054 * remote-fileio.c (remote_fileio_to_fio_int): Ditto.
6055
e142c38c
DJ
60562004-01-27 Daniel Jacobowitz <drow@mvista.com>
6057
6058 * dwarf2read.c: Update calls to changed and renamed functions, and
6059 references to moved variables.
6060
6061 (struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
6062 language, language_defn, list_in_scope, and ftypes members.
6063 (cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
6064 (cu_language_defn, list_in_scope, ftypes, cu_header_offset)
6065 (baseaddr): Remove globals.
6066
6067 (dwarf_attr): Renamed to dwarf2_attr. Add CU argument.
6068 (set_cu_language, die_is_declaration, die_specification)
6069 (determine_prefix, determin_prefix_aux, class_name, namespace_name)
6070 (dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
6071 (dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
6072 (initialize_cu_func_list, add_to_cu_func_list): Add CU argument.
6073
6074 (dwarf2_build_psymtabs_hard): Add local baseaddr. Initialize
6075 cu.list_in_scope. Don't initialize cu_header_offset.
6076 (add_partial_symbol): Add local baseaddr.
6077 (psymtab_to_symtab_1): Add local baseaddr. Use
6078 objfile->section_offsets for consistency. Don't initialize
6079 cu_header_offset; do initialize cu.header.offset and
6080 cu.list_in_scope.
6081 (read_file_scope, read_func_scope, read_lexical_block_scope)
6082 (dwarf_decode_lines, new_symbol): Add local baseaddr.
6083
c6e06ede
MC
60842004-01-27 Michael Chastain <mec.gnu@mindspring.com>
6085
fb328ecc 6086 * PROBLEMS: Add gdb/1516.
c6e06ede 6087
48184fd4
AC
60882003-12-29 Robert Millan <robertmh@gnu.org>
6089
6090 Patch committed by Andrw Cagney.
6091 * configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
6092 * configure.tgt: Match knetbsd*-gnu.
6093
c1321b30
AC
60942004-01-26 Andrew Cagney <cagney@redhat.com>
6095
f3699be3
AC
6096 * breakpoint.c (catch_command_1): Delete #ifdef code.
6097 (catch_fork_command_1): Delete #ifdef wrapper.
6098 (catch_exec_command_1): Ditto.
6099 (catch_load_command_1): Ditto.
6100 (catch_unload_command_1): Ditto.
6101
c1321b30
AC
6102 * breakpoint.c (watchpoint_check): Delete #if0ed variable.
6103 (catch_breakpoint): Delete #if0ed function.
6104 (disable_catch_breakpoint): Ditto.
6105 (delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
6106 (disable_catch, enable_catch, delete_catch): Ditto.
6107
b4501125
AC
61082004-01-26 Andrew Cagney <cagney@redhat.com>
6109
6110 * remote.c (echo_check, quit_flag): Delete variables.
6111 (cisco_kernel_mode): Delete variable.
6112 (minitelnet_return, tty_input, escape_count): Delete variables.
6113 (remote_cisco_mode): Delete variable.
6114 (remote_cisco_open, remote_cisco_close): Delete function.
6115 (remote_cisco_mourn, remote_cisco_wait): Delete function.
6116 (init_remote_cisco_ops): Delete function.
6117 (_initialize_remote): Do not install "remote cisco" code.
6118 (read_frame): Delete cisco specific code.
6119 (remote_info_process): Delete function.
6120 (remote_wait): Delete cisco specific code.
6121 (remote_cisco_section_offsets): Delete function.
6122 (remote_cisco_objfile_relocate): Delete function.
6123 (remote_async_wait): Delete cisco specific code.
6124 (minitelnet, readtty, readsocket): Delete function.
6125
74055713
AC
61262004-01-26 Andrew Cagney <cagney@redhat.com>
6127
6128 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate. Add
6129 comments mentioning extract_returned_value_address.
6130 * infcmd.c (print_return_value): Update. Add comments on
6131 extract_returned_value_address.
6132 * stack.c (return_command): Add comments on
6133 extract_returned_value_address.
6134 * values.c: Update comment.
6135 * m32r-tdep.c: Update comment.
6136 * sparc-tdep.c: Update comment.
6137 * ia64-tdep.c (ia64_use_struct_convention): Update comment.
6138 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
6139 * sh64-tdep.c (sh64_gdbarch_init): Update.
6140 * sh-tdep.c (sh_gdbarch_init): Update.
6141 * s390-tdep.c (s390_gdbarch_init): Update.
6142 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
6143 * m68klinux-tdep.c (m68k_linux_init_abi): Update.
6144 * m68k-tdep.c (m68k_gdbarch_init): Update.
6145 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
6146 * m32r-tdep.c (m32r_gdbarch_init): Update.
6147 * ia64-tdep.c (ia64_gdbarch_init): Update.
6148 * h8300-tdep.c (h8300_gdbarch_init): Update.
6149 * frv-tdep.c (frv_gdbarch_init): Update.
6150 * arm-tdep.c (arm_gdbarch_init): Update.
6151 * alpha-tdep.c (alpha_gdbarch_init): Update.
6152
a67af2b9
AC
61532004-01-26 Andrew Cagney <cagney@redhat.com>
6154
6155 * dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
6156 SYMBOL_LOCATION_FUNCS
6157 (dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
6158 "struct symbol_ops".
6159 * dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
6160 type to "struct symbol_ops".
6161 * symtab.h (struct symbol_ops): Rename "struct location_funcs".
6162 (struct symbol): Replace ".aux_value.loc.funcs" and
6163 ".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
6164 (SYMBOL_OBJFILE): Delete macro.
6165 (SYMBOL_LOCATION_FUNCS): Delete macro.
6166 (SYMBOL_LOCATION_BATON): Update.
6167 * dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
6168 intead of SYMBOL_LOCATION_FUNCS.
6169 * ax-gdb.c (gen_var_ref): Ditto.
6170 * printcmd.c (address_info): Ditto.
6171 * findvar.c (read_var_value): Ditto.
6172 (symbol_read_needs_frame): Ditto.
6173
c034e007
AC
61742004-01-26 Andrew Cagney <cagney@redhat.com>
6175
6176 * dwarf2read.c (read_func_scope): Document frame-base hack.
6177
bb472c1e
MK
61782004-01-25 Mark Kettenis <kettenis@gnu.org>
6179
6180 * infcmd.c (print_return_value): Plug memory leak; delete
6181 ui_stream object. Rename argument `structure_return' to
6182 `struct_return'.
6183
c8e737d5
MK
61842004-01-25 Mark Kettenis <kettenis@gnu.org>
6185
f941662f
MK
6186 * infcmd.c (print_return_value): Wrap long lines.
6187 (finish_command_continuation, finish_command): Remove unused
6188 variable `funcaddr'. Fix some coding-standards problems.
6189
c558d81a 6190 * sparc-tdep.c (sparc_regset_from_core_section): Check whether
d8d65dd3 6191 SECT_SIZE is large enough, not whether it's exactly the right size.
c558d81a
MK
6192 (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
6193 TDEP->fpregset to zero.
6194
bf1e5861 6195 * sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also supply the
c8e737d5
MK
6196 floating-point registers for traditional NetBSD core files.
6197 (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
6198 TDEP->sizeof_fpregset here.
6199
4c72d57a
MK
62002004-01-25 Mark Kettenis <kettenis@gnu.org>
6201
566626fa
MK
6202 * sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
6203 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
6204 function with code split out from
6205 sparc32nbsd_sigcontext_frame_cache.
6206 (sparc32nbsd_sigcontext_frame_cache): Use
6207 sparc32nbsd_sigcontext_saved_regs.
6208 (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
6209 OpenBSD.
6210 * sparcobsd-tdep.c: New file.
6211 * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
6212 (sparcobsd-tdep.o): New dependency.
6213 * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
6214 * config/sparc/obsd.mt: New file.
6215
4c72d57a
MK
6216 * sparc-tdep.c (sparc32_gdbarch_init): Don't require
6217 TDEP->fpregset to be initialized to enable core file register
6218 sets.
6219
7e5e9f88
MK
62202004-01-24 Mark Kettenis <kettenis@gnu.org>
6221
f0f207fd 6222 * sparc64-tdep.h (struct frame_info, struct trad_frame_saved_reg):
1e067c66
MK
6223 Add opaque declarations.
6224 (sparc64nbsd_sigcontext_saved_regs): New prototype.
6225 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
6226 function with code split out from
6227 sparc64nbsd_sigcontext_frame_cache.
6228 (sparc64nbsd_sigcontext_frame_cache): Use
6229 sparc64nbsd_sigcontext_saved_regs.
6230 (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
6231 OpenBSD.
6232 * sparc64obsd-tdep.c: New file.
6233 * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
6234 (sparc64obsd-tdep.o): New dependency.
6235 * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
6236 gdb_osabi to GDB_OSABI_OPENBSD_ELF.
6237 * config/sparc/obsd64.mt: New file.
6238
690668cc
MK
6239 * sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
6240 read the instruction at PC.
6241
7e5e9f88
MK
6242 * sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
6243 value of GDB_OSABI_DEFAULT.
6244 (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
6245 instead of GDB_OSABI_NETBSD_AOUT.
6246
68b6dce9
NR
62472004-01-24 Nick Roberts <nick@nick.uklinux.net>
6248
6249 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-cmds.h: Update
6250 copyright.
6251
080ce8c0
AC
62522004-01-23 Andrew Cagney <cagney@redhat.com>
6253
6254 * printcmd.c (display_command): Replace tui_set_display call with
6255 tui_set_layout_for_display_command.
6256 * tui/tui.h (enum tui_win_type): Define.
6257 (tui_set_layout): Delete declaration.
6258 (tui_set_layout_for_display_command): Rename set_tui_layout.
6259 * tui/tui-data.h (enum tui_layout_type): Define.
6260 * tui/tui-layout.h: Update copyright. Include "tui-data.h" and
6261 "tui.h".
6262 (tui_add_win_to_layout): Rename tuiAddWinToLayout.
6263 (tui_default_win_height): Rename tuiDefaultWinHeight.
6264 (tui_default_win_viewport_height): Rename
6265 tuiDefaultWinViewportHeight.
6266 (tui_set_layout): RenametuiSetLayout.
6267 * tui/tui-layout.c: Update references.
6268 * tui/tui.c: Update references.
6269 * tui/tui-disasm.c: Update references.
6270
b368761e
DC
62712004-01-23 David Carlton <carlton@kealia.com>
6272
6273 Partial workaround for PR c++/1511:
6274 * cp-namespace.c: Include frame.h.
6275 (cp_lookup_transparent_type): New
6276 (cp_lookup_transparent_type_loop): New.
6277 * cp-support.h: Declare cp_lookup_transparent_type.
6278 * symtab.c (basic_lookup_transparent_type): Renamed from
6279 lookup_transparent_type.
6280 (lookup_transparent_type): Replace old body by a call to
6281 current_language->la_lookup_transparent_type.
6282 * symtab.h: Update copyright. Declare
6283 basic_lookup_transparent_type.
6284 * language.h: Update copyright.
6285 (struct language_defn): Add la_lookup_transparent_type.
6286 * language.c: Update copyright.
6287 (unknown_language_defn): Add basic_lookup_transparent_type.
6288 (auto_language_defn): Add basic_lookup_transparent_type.
6289 (local_language_defn): Add basic_lookup_transparent_type.
6290 * ada-lang.c: Update copyright.
6291 (ada_language_defn): Add basic_lookup_transparent_type.
6292 * c-lang.c: Update copyright.
6293 (c_language_defn): Add basic_lookup_transparent_type.
6294 (cplus_language_defn): Add basic_lookup_transparent_type.
6295 (asm_language_defn): Add basic_lookup_transparent_type.
6296 (minimal_language_defn): Add basic_lookup_transparent_type.
6297 * f-lang.c: Update copyright.
6298 (f_language_defn): Add basic_lookup_transparent_type.
6299 * jv-lang.c: Update copyright.
6300 (java_language_defn): Add basic_lookup_transparent_type.
6301 * m2-lang.c: Update copyright.
6302 (m2_language_defn): Add basic_lookup_transparent_type.
6303 * objc-lang.c: Update copyright.
6304 (objc_language_defn): Add basic_lookup_transparent_type.
6305 * p-lang.c: Update copyright.
6306 (p_language_defn): Add basic_lookup_transparent_type.
6307 * scm-lang.c: Update copyright.
6308 (scm_language_defn): Add basic_lookup_transparent_type.
6309 * Makefile.in (cp-namespace.o): Depend on frame.h.
6310
fdde2d81
DC
63112004-01-23 David Carlton <carlton@kealia.com>
6312
6313 Patch for PR c++/1520:
6314 * dwarf2read.c (read_func_scope): Set processing_current_prefix
6315 properly if we have a specification die.
6316 (determine_prefix_aux): Rename from determine_prefix.
6317 (determine_prefix): Like the old determine_prefix, but never
6318 returns NULL.
6319
5b828b6b
TR
63202004-01-23 Theodore A. Roth <troth@openavr.org>
6321
6322 * avr-tdep.c: Update copyright.
6323 (avr_iaddr_p): Delete unused function.
6324 (avr_saddr_p): Delete unused function.
6325
a1b8c067
DC
63262004-01-23 David Carlton <carlton@kealia.com>
6327
6328 * symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
6329 Fix for PR symtab/1534.
6330
f2cab569
MK
63312004-01-23 Mark Kettenis <kettenis@gnu.org>
6332
6333 * NEWS (New native configurations): Mention OpenBSD/sparc and
6334 OpenBSD/sparc64.
6335 * configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
6336 * configure.host: Likewise.
6337 * sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
6338 handler for OpenBSD.
6339 * sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.
6340
642d8300
MK
63412004-01-22 Mark Kettenis <kettenis@gnu.org>
6342
89aac506
MK
6343 * sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
6344 (_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
6345
36662fde
MK
6346 * ser-pipe.c (pipe_open): Use proper null pointer in execl call.
6347 * cli/cli-cmds.c (shell_escape): Likewise.
6348
642d8300
MK
6349 * osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
6350 OpenBSD .note.openbsd.ident sections.
6351
fae299cd
DC
63522004-01-22 David Carlton <carlton@kealia.com>
6353
6354 * dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
6355 get_scope_pc_bounds.
6356 (read_file_scope): Ditto.
6357 (get_scope_pc_bounds): New function, produced by extracting code
6358 from the above two functions, consolidating it, and adding support
6359 for DW_TAG_namespace.
6360
a49d618c
MK
63612004-01-22 Mark Kettenis <kettenis@gnu.org>
6362
6363 * osabi.c (MAX_NOTESZ): New define.
6364 (check_note): New function.
6365 (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
6366 check_note.
6367
fe61caab
RM
63682004-01-21 Roland McGrath <roland@redhat.com>
6369
6370 * MAINTAINERS (write after approval): Add myself.
6371
ec145965
EZ
63722004-01-21 Eli Zaretskii <eliz@gnu.org>
6373
6374 * utils.c (init_page_info): Move declarations of `rows' and
6375 `cols' before the __GO32__-specific code. Move the closing brace
6376 outside the #ifdef __GO32__..#endif block.
6377 [__GO32__]: Use `rows' and `cols' to avoid compiler warnings.
6378
877522db
PB
63792004-01-21 Paul Brook <paul@codesourcery.com>
6380
6381 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
6382 BPSTAT_WHAT_CHECK_SHLIBS.
6383
dbf5be1c
PB
63842004-01-21 Paul Brook <paul@codesourcery.com>
6385
6386 * MAINTAINERS: Add myself to write-after-approval.
6387
81f08b92
AC
63882004-01-20 Andrew Cagney <cagney@redhat.com>
6389
5a1efed7
AC
6390 * ax-gdb.c (print_axs_value): Delete unused function.
6391 * jv-lang.c (java_lookup_type): Delete unused function.
6392 * cli/cli-dump.c (dump_filetype): Delete unused function.
6393 * remote-mips.c (remote_mips_insert_hw_breakpoint)
6394 (remote_mips_remove_hw_breakpoint): Delete unused functions.
6395 (mips_getstring): Delete unused function.
6396 (pmon_insert_breakpoint): Delete #if0ed function.
6397 (PMON_MAX_BP): Delete #if0ed MACRO.
6398 (mips_pmon_bp_info): Delete #if0ed variable.
6399 (pmon_remove_breakpoint): Delete #if0ed function.
6400 * monitor.c (monitor_write_even_block): Delete unused function.
6401 (monitor_write_memory_block): Delete #if0ed code.
6402 * dink32-rom.c (dink32_load): Delete unused function.
6403 (_initialize_dink32_rom): Delete #if0ed code.
6404 * d10v-tdep.c (d10v_daddr_p): Delete unused function.
6405
b0a30fce
AC
6406 * tui/tui-command.c: Update references.
6407 * tui/tui-io.c: Update references.
6408 * tui/tui-command.h: Update copyright.
6409 (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
6410
81f08b92
AC
6411 * source.c (ambiguous_line_spec): Delete never-defined function.
6412 * remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
6413 * gdbtypes.c (add_name, add_mangled_type): Ditto.
6414 * cli/cli-cmds.c (validate_comname): Ditto.
6415
65f05602
AC
6416 * tui/tui-disasm.h: Update copyright. Include "tui.h" and
6417 "tui-data.h".
6418 (tui_set_disassem_content): Rename tuiSetDisassemContent.
6419 (tui_show_disassem): Rename tuiShowDisassem.
6420 (tui_show_disassem_and_update_source): Rename
6421 tuiVerticalDisassemScroll.
6422 (tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
6423 (tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
6424 * tui/tui.h: Update copyright.
6425 (enum tui_status): Define.
6426 * tui/tui-data.h (enum tui_scroll_direction): Define.
6427 * tui/tui-disasm.c: Update copyright. Update references.
6428 * tui/tui-winsource.c: Update copyright. Update references.
6429 * tui/tui-win.c: Update references.
6430 * tui/tui-layout.c: Update references.
6431
6bb0384f
AC
64322004-01-20 Andrew Cagney <cagney@redhat.com>
6433
6434 * mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
6435 sym2 to start of block.
6436
9175c9a3
MC
64372004-01-19 Michael Chastain <mec.gnu@mindspring.com>
6438
6439 * MAINTAINERS: Delete mmalloc.
6440 * Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
6441 * NEWS: Mention removal of --with-malloc.
6442 * acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
6443 * config.in: Regenerate.
6444 * configure: Regenerate.
6bb0384f
AC
6445 * configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc,
6446 USE_MMALLOC, MMCHECK_FORCE.
9175c9a3
MC
6447 * gdbinit.in: Remove mmalloc.
6448 * utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
6449 * config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
6450 * config/i386/go32.mh: Likewise.
6451 * config/i386/interix.mh: Likewise.
6452 * config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.
6453
4fcef00a
JJ
64542004-01-19 Jeff Johnston <jjohnstn@redhat.com>
6455
6456 * linespec.c (decode_variable, symtab_from_filename): Call
6457 error_silent with error message instead of throwing an exception
6458 directly.
6459 * defs.h (error_silent, error_output_message): Add prototypes.
6460 (catch_exceptions_with_msg): Ditto.
6461 * utils.c (error_silent, error_output_message): New functions.
6462 * top.c (catch_exceptions_with_msg): New function.
6463
8e94b928
NR
64642004-01-20 Nick Roberts <nick@nick.uklinux.net>
6465
6466 * mi/mi-cmds.h (enum print_values): Add definition.
6467
6468 * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Print the name,
6469 type and value for simple data types and just the name and type
6470 for complex ones, if required.
6471
6472 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Print the values of the
6473 children, if required.
6474
a02d6af8
KB
64752004-01-19 Kevin Buettner <kevinb@redhat.com>
6476
6477 * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
6478 unused declarations.
6479
78a4a9b9
AC
64802004-01-19 Andrew Cagney <cagney@redhat.com>
6481
6482 * top.h (mapped_symbol_files): Delete declaration.
6483 * main.c (captured_main): Delete option "m" and "mapped".
6484 * objfiles.c (mapped_symbol_files): Delete variable.
6485 * symfile.c (symbol_file_command): Delete mmap code.
6486 (symbol_file_add_with_addrs_or_offsets): Ditto.
6487 (add_symbol_file_command, reread_separate_symbols): Ditto.
6488 * objfiles.h (OBJF_MAPPED): Delete.
6489 * objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
6490 (free_objfile) [USE_MMALLOC]: Ditto.
6491 (open_existing_mapped_file): Delete function.
6492 (open_mapped_file): Delete function.
6493 (map_to_file): Delete function.
6494
2dbd5e30
KB
64952004-01-19 Kevin Buettner <kevinb@redhat.com>
6496
6497 * infrun.c (step_into_function): Account for possible breakpoint
6498 adjustment when computing ``stop_func_start''.
6499
437b434f
KB
65002004-01-19 Kevin Buettner <kevinb@redhat.com>
6501
6502 * target.c (default_region_size_ok_for_hw_watchpoint): Compare
6503 the region size against the size of a pointer, not the size of
6504 a register as given by DEPRECATED_REGISTER_SIZE.
6505
55fb0713
AC
65062004-01-19 Andrew Cagney <cagney@redhat.com>
6507
6508 * tui/tui-regs.h: Include "tui-data.h".
6509 (tuiFirstRegElementNoInLine): Delete declaration.
6510 (tui_display_registers_from): Rename tuiDisplayRegistersFrom.
6511 (tui_last_regs_line_no): Rename tuiLastRegsLineNo.
6512 (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
6513 (tui_calculate_regs_column_count): Rename
6514 tuiCalculateRegsColumnCount.
6515 (tui_check_register_values): Rename tuiCheckRegisterValues.
6516 (tui_show_registers): Rename tuiShowRegisters.
6517 (tui_display_registers_from_line): Rename
6518 tuiDisplayRegistersFromLine.
6519 (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
6520 (tui_toggle_float_regs): Rename tuiToggleFloatRegs.
6521 (tui_first_reg_element_no_inline): Rename
6522 tuiFirstRegElementNoInLine.
6523 * tui/tui-data.h: Update copyright.
6524 (enum tui_register_display_type): Rename _TuiRegisterDisplayType.
6525 * tui/tui-windata.c: Update copyright, update references.
6526 * tui/tui-regs.c: Update copyright, update references.
6527 * tui/tui-win.c: Update copyright, update references.
6528 * tui/tui-layout.c: Update copyright, update references.
fe61caab 6529
cebe9500
AC
65302004-01-18 Andrew Cagney <cagney@redhat.com>
6531
bcdf1568
AC
6532 * tui/tui-io.c: Update copyright.
6533 (key_is_end_sequence, key_is_backspace): New functions.
6534 (key_is_command_char, key_is_start_sequence): New function.
6535 (tui_getc): Update references.
6536 * tui/tui-io.h: Update copyright.
6537 (m_tuiStartNewLine): Delete macro.
6538 (m_isBackspace, m_isDeleteChar): Delete macros.
6539 (m_isDeleteLine, m_isDeleteToEol): Delete macros.
6540 (m_isNextPage, m_isPrevPage): Delete macros.
6541 (m_isLeftArrow, m_isRightArrow): Delete macros.
6542 (m_isXdbStyleCommandChar): Delete macro.
6543 (key_is_start_sequence): Declare, replace m_isStartSequence.
6544 (key_is_end_sequence): Declare, replace m_isEndSequence.
6545 (key_is_backspace): Declare ,replace m_isBackspace.
6546 (key_is_command_char): Declare, replace m_isCommandChar.
6547 * tui/tui-command.c: Update copyright.
6548 (tuiDispatchCtrlChar): Update references.
6549
130d87e6
AC
6550 * config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
6551 tuiSourceWin.h.
6552
d7b2e967
AC
6553 * tui/tui-command.c: Rename tui/tuiCommand.c.
6554 * tui/tui-command.h: Rename tui/tuiCommand.h.
6555 * tui/tui-data.c: Rename tui/tuiData.c.
6556 * tui/tui-data.h: Rename tui/tuiData.h.
6557 * tui/tui-disasm.c: Rename tui/tuiDisassem.c.
6558 * tui/tui-disasm.h: Rename tui/tuiDisassem.h.
6559 * tui/tui-io.c: Rename tui/tuiIO.c.
6560 * tui/tui-io.h: Rename tui/tuiIO.h.
6561 * tui/tui-layout.c: Rename tui/tuiLayout.c.
6562 * tui/tui-layout.h: Rename tui/tuiLayout.h.
6563 * tui/tui-regs.c: Rename tui/tuiRegs.c.
6564 * tui/tui-regs.h: Rename tui/tuiRegs.h.
6565 * tui/tui-source.c: Rename tui/tuiSource.c.
6566 * tui/tui-source.h: Rename tui/tuiSource.h.
6567 * tui/tui-stack.c: Rename tui/tuiStack.c.
6568 * tui/tui-stack.h: Rename tui/tuiStack.h.
6569 * tui/tui-win.c: Rename tui/tuiWin.c.
6570 * tui/tui-win.h: Rename tui/tuiWin.h.
6571 * tui/tui-windata.c: Rename tui/tuiDataWin.c.
6572 * tui/tui-windata.h: Rename tui/tuiDataWin.h.
6573 * tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
6574 * tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
6575 * tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
6576 * tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
6577 * tui/tui-file.c: Update includes.
6578 * tui/tui-hooks.c: Update includes.
6579 * tui/tui-interp.c: Update includes.
6580 * tui/tui.c: Update includes.
6581 * Makefile.in: Update all tui/ dependencies.
6582 (SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.
6583
b2100910
AC
6584 * Makefile.in: Update copyright. Update dependencies.
6585
cebe9500
AC
6586 * tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
6587 problem.
6588
c6f0559b
AC
65892004-01-18 Andrew Cagney <cagney@redhat.com>
6590
43e9390b
AC
6591 * mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
6592 instead of register_gdbarch_init.
6593
c6f0559b
AC
6594 * remote-sds.c (tohex): Delete unused function. Update copyright.
6595 * xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
6596 * v850-tdep.c (v850_register_virtual_size): Ditto.
6597 * target.c (normal_target_post_startup_inferior): Ditto.
6598 * source.c (ambiguous_line_spec): Ditto.
6599 * remote.c (adapt_remote_get_threadinfo): Ditto.
6600 * mi/mi-out.c (out_field_fmt): Ditto.
6601 * mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
6602 (output_control_change_notification): Ditto.
6603 * m68k-tdep.c (m68k_register_byte): Ditto.
6604 (m68k_remote_breakpoint_from_pc): Ditto.
6605 * ui-out.c (init_ui_out_state): Delete unused declaration.
6606 * stabsread.c (search_value): Ditto.
6607 * mi/mi-cmd-env.c (env_cli_command): Ditto.
6608 * maint.c (print_section_table): Ditto.
6609 * infrun.c (set_follow_fork_mode_command): Ditto.
6610
a8504492
MK
66112004-01-18 Mark Kettenis <kettenis@gnu.org>
6612
6613 * dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
6614 DW_CFA_def_cfa_exporession. Add support for
6615 DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
6616 DW_CFA_def_cfa_offset_sf. This should fix PR backtrace/1391.
6617
0bd8997e
AC
66182004-01-18 Andrew Cagney <cagney@redhat.com>
6619
6620 * ocd.c: Update copyright.
6621 (bdm_read_register_command): Delete unused function.
6622 (_initialize_remote_ocd): Delete commented out reference.
6623 (get_quoted_char, reset_packet): Delete #if0ed function.
6624 (output_packet, put_quoted_char): Delete #if0ed function.
6625 (stu_put_packet, stu_get_packet): Delete #if0ed function.
6626 (ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
6627 (BDM_BREAKPOINT): Delete #if0ed macro.
6628 (remote_timeout): Delete #if0ed variable.
6629
31bb40e4
MK
66302004-01-18 Mark Kettenis <kettenis@gnu.org>
6631
6632 * Makefile.in (ALLDEPFILES): Remove core-sol2.c.
6633 (core-sol2.o): Remove dependency.
6634 * core-sol2.c: Remove file.
6635
887432a5
AC
66362004-01-17 Andrew Cagney <cagney@redhat.com>
6637
6638 * mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
6639 * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
6640 enums.
6641
29182b13
DJ
66422004-01-17 Daniel Jacobowitz <drow@mvista.com>
6643
6644 * remote.c: Update copyright years.
6645
2963ee1d
DJ
66462004-01-17 Daniel Jacobowitz <drow@mvista.com>
6647
6648 * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
6649
79d45cd4
AC
66502004-01-17 Andrew Cagney <cagney@redhat.com>
6651
ee300cd4
AC
6652 * mdebugread.c: Update copyright.
6653 (parse_symbol): Replace DEPRECATED_STREQ with strcmp.
6654 (parse_type, parse_procedure): Ditto.
6655 (parse_partial_symbols, psymtab_to_symtab_1): Ditto.
6656
fcacc9c2
AC
6657 * cris-tdep.c (cris_store_struct_return): Put back accidently
6658 deleted function.
6659
79d45cd4
AC
6660 * gdbarch.sh: Update copyright year.
6661 * gdbarch.h, gdbarch.c: Re-generate.
6662
b263358a
DJ
66632004-01-17 Daniel Jacobowitz <drow@mvista.com>
6664
6665 Suggested by George Anzinger.
6666 * dwarf2expr.c (execute_stack_op): Fetch the second item from the
6667 correct stack offset. Include unknown opcode numbers in the error
6668 message.
6669
931aecf5
AC
66702004-01-17 Andrew Cagney <cagney@redhat.com>
6671
6672 * x86-64-tdep.c (x86_64_init_abi): No need to clear
6673 extract_struct_value_address, i386 does not set it.
6674 * sparc64-tdep.c (sparc64_init_abi): Do not set
6675 extract_struct_value_address, never called.
6676 (sparc64_extract_struct_value_address): Delete function.
6677 * m68hc11-tdep.c: Update copyright.
6678 (m68hc11_gdbarch_init): Delete redundant assignment of
6679 extract_struct_value_address.
6680 * i386-tdep.c: Update copyright.
6681 (i386_gdbarch_init): Do not set extract_struct_value_address,
6682 never called.
6683 (i386_extract_struct_value_address): Delete function.
6684 * sparc-tdep.c (sparc32_gdbarch_init): Do not set
6685 extract_struct_value_address, never called.
6686 (sparc32_extract_struct_value_address): #if 0 function. Add
6687 comments explaining its future.
6688
756fe439
DJ
66892004-01-17 Daniel Jacobowitz <drow@mvista.com>
6690
6691 * arm-tdep.c (arm_write_pc): New function.
6692 (arm_gdbarch_init): Call set_gdbarch_write_pc.
6693
e74f0f02
DJ
66942004-01-17 Daniel Jacobowitz <drow@mvista.com>
6695
6696 * breakpoint.c (must_shift_inst_regs): Delete.
6697 (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK
6698 and SHIFT_INST_REGS.
6699 * infcmd.c (step_1, step_1_continuation): Delete references to
6700 SHIFT_INST_REGS.
6701 * infrun.c (keep_going): Likewise.
6702 * target.h (DECR_PC_AFTER_HW_BREAK): Don't define.
6703 * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise.
6704
b6cb9035
AC
67052004-01-17 Andrew Cagney <cagney@redhat.com>
6706
444a1e2e
AC
6707 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
6708 * gdbarch.h, gdbarch.c: Re-generate.
6709 * infcmd.c (print_return_value): Delete reference to
6710 DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.
6711
def7e6ed
AC
6712 * cris-tdep.c (cris_gdbarch_init): Do not set
6713 deprecated_extract_struct_value_address.
6714
07be497a
AC
6715 * xstormy16-tdep.c: Update copyright.
6716 (xstormy16_extract_struct_value_address): Update to current
6717 extract struct value address interface.
6718 (xstormy16_gdbarch_init): Set extract_struct_value_address.
6719 * sh64-tdep.c (sh64_extract_struct_value_address): Update to
6720 current extract struct value address interface.
6721 (sh64_gdbarch_init): Set extract_struct_value_address.
6722
6b4d5c91
AC
6723 * cris-tdep.c: Update copyright.
6724 (cris_extract_struct_value_address): Delete function.
6725 (struct_return_address): Delete variable.
6726 (cris_store_struct_return): Do not set struct_return_address.
6727
464e0365
AC
6728 * mcore-tdep.c: Update copyright.
6729 (mcore_extract_struct_value_address): Delete function. Update
6730 comments.
6731 (mcore_gdbarch_init): Update.
6732 * mn10300-tdep.c: Update copyright.
6733 (mn10300_extract_struct_value_address): Delete function.
6734 (mn10300_gdbarch_init): Update.
6735 * v850-tdep.c: Update copyright.
6736 (v850_extract_struct_value_address): Delete.
6737 (v850_gdbarch_init): Update.
6738 * ns32k-tdep.c: Update copyright.
6739 (ns32k_extract_struct_value_address): Delete.
6740 (ns32k_gdbarch_init): Update.
6741 * hppa-tdep.c (hppa_extract_struct_value_address): Delete.
6742 (hppa_gdbarch_init): Update.
6743 * vax-tdep.c: Update copyright.
6744 (vax_extract_struct_value_address): Delete.
6745 (vax_gdbarch_init): Update.
6746
afb18d0f
AC
6747 * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete.
6748 * gdbarch.h, gdbarch.c: Re-generate.
6749 * procfs.c (procfs_fetch_registers): Delete reference to
6750 DEPRECATED_NPC_REGNUM.
6751 (procfs_store_registers): Ditto.
6752 * regcache.c (generic_target_write_pc): Simplify.
6753 * lynx-nat.c: Delete #ifdef SPARC code. Not used.
6754
a698f53e
AC
6755 * core-sol2.c (fetch_core_registers): Replace
6756 DEPRECATED_NPC_REGNUM with equivalent tdep value.
6757
adc11376
AC
6758 * hppa-tdep.c: Update copyright year.
6759 (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of
6760 NPC_REGNUM.
6761 (hppa_gdbarch_init): Do not set deprecated_npc_regnum.
6762
b6cb9035
AC
6763 * mips-tdep.c (mips_write_pc): New function.
6764 (mips_gdbarch_init): Set "write_pc" to "mips_write_pc".
6765 (mips_read_pc): Use mips_regnum instead of PC_REGNUM.
6766 (mips_find_saved_regs, mips_software_single_step: Ditto.
6767 (mips_frame_saved_pc, mips_frame_saved_pc): Ditto.
6768 mips_init_extra_frame_info, mips_pop_frame): Ditto.
6769
6d82d43b
AC
67702004-01-17 Andrew Cagney <cagney@redhat.com>
6771
6772 * mips-tdep.c: Re-indent. Group functions by ABI.
6773
71bd6bd4
AC
67742004-01-17 Andrew Cagney <cagney@redhat.com>
6775
6776 * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default.
6777 * gdbarch.c: Re-generate.
6778 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
6779 DECR_PC_AFTER_BREAK to zero.
6780 * vax-tdep.c (vax_gdbarch_init): Ditto.
6781 * v850-tdep.c (v850_gdbarch_init): Ditto.
6782 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
6783 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
6784 * sh-tdep.c (sh_gdbarch_init): Ditto.
6785 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
6786 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
6787 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
6788 * mips-tdep.c (mips_gdbarch_init): Ditto.
6789 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
6790 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
6791 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
6792 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
6793 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
6794 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
6795 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
6796 * frv-tdep.c (frv_gdbarch_init): Ditto.
6797 * cris-tdep.c (cris_gdbarch_init): Ditto.
6798 * avr-tdep.c (avr_gdbarch_init): Ditto.
6799 * arm-tdep.c (arm_gdbarch_init): Ditto.
6800 * i386-nto-tdep.c (i386nto_init_abi): Add comment.
6801
a02abb62
JB
68022004-01-17 J. Brobecker <brobecker@gnat.com>
6803
6804 * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint):
6805 Delete, no longer used.
6806 (read_subrange_type): New function, mostly extracted from
6807 read_array_type().
6808 (read_array_type): Replace extracted code by call to
6809 read_subrange_type().
6810 (dwarf2_get_attr_constant_value): New function.
6811 (scan_partial_symbols): Add handling for DW_TAG_subrange_type.
6812 (add_partial_symbol): Likewise.
6813 (process_die): Likewise.
6814 (new_symbol): Likewise.
6815 (read_type_die): Likewise.
6816
cf5b2f1b
AC
68172004-01-16 Andrew Cagney <cagney@redhat.com>
6818
6819 * symfile.c: Update copyright year.
6820 (compare_symbols): Delete unused function.
6821 * stabsread.c: Update copyright year.
6822 (lrs_general_complaint): Delete unused function.
6823 (ref_search_value): Ditto.
6824 (get_substring): Delete declaration.
6825 * sh64-tdep.c: Update copyright year.
6826 (sh64_get_gdb_regnum): Delete unused function.
6827 * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint):
6828 Delete unused function.
6829
d33b9831
MK
68302004-01-17 Mark Kettenis <kettenis@gnu.org>
6831
6832 * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF.
6833 * osabi.c (gdb_osabi_names): Add "OpenBSD ELF".
6834
7aea86e6
AC
68352004-01-16 Andrew Cagney <cagney@redhat.com>
6836
6837 Changes from Peter Schauer.
6838 * rs6000-tdep.c: Update copyright year.
6839 (rs6000_push_dummy_call): Update the stack pointer before
6840 accessing the corresponding stack region.
6841 * rs6000-nat.c: Update copyright year.
6842 (set_host_arch): Set "info.abfd" to "exec_bfd".
6843
26b0da32
MK
68442004-01-15 Mark Kettenis <kettenis@gnu.org>
6845
6846 * blockframe.c: Update copyright year.
6847 (inside_entry_func): Don't treat a zero PC specially.
6848
86fbe6cc
EZ
68492004-01-14 Elena Zannoni <ezannoni@redhat.com>
6850
6851 * gcore.c (gcore_copy_callback): Use paddr_d to print size
6852 variable.
6853 (gcore_create_callback): Ditto. Skip any memory segment that has
6854 no permissions set.
6855
63d06c5c
DC
68562004-01-14 David Carlton <carlton@kealia.com>
6857
6858 Change symbols for C++ nested types to contain the fully qualified
6859 name, if possible. (At least in the DWARF-2 case.) Partial fix
6860 for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
6861 c++/895.
6862 * c-exp.y (qualified_type): Handle types nested within classes.
6863 * cp-namespace.c: Update comments.
6864 (cp_set_block_scope): Delete #if 0.
6865 (cp_lookup_nested_type): Handle types nested within classes.
6866 * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
6867 when appropriate.
6868 (add_partial_symbol): Add the name of the enclosing namespace to
6869 types.
6870 (pdi_needs_namespace): New.
6871 (add_partial_namespace): Tweak comment.
6872 (add_partial_structure): New.
6873 (psymtab_to_symtab_1): Initialize processing_current_prefix
6874 here...
6875 (process_die): instead of here.
6876 (read_structure_scope): Try to figure out the name of the class or
6877 namespace that the structure might be defined within.
6878 (read_enumeration): Generate fully-qualified names, if possible.
6879 (read_namespace): Don't set name to NULL.
6880 (die_specification): New.
6881 (new_symbol): Generate fully-qualified names for types.
6882 (read_type_die): Determine appropriate prefix.
6883 (determine_prefix): New.
6884 (typename_concat): New.
6885 (class_name): New.
6886 * valops.c (value_aggregate_elt): Pass NOSIDE to
6887 value_struct_elt_for_reference.
6888 (value_struct_elt_for_reference): Make static, add NOSIDE
6889 parameter, call value_maybe_namespace_elt as a last resort.
6890 (value_namespace_elt): Break out code into
6891 value_maybe_namespace_elt.
6892 (value_maybe_namespace_elt): New.
6893
87783b8b
AC
68942004-01-12 Andrew Cagney <cagney@redhat.com>
6895
6896 * mips-tdep.c (mips_convert_register_p): Handle both raw and
6897 cooked floating-point registers.
6898 (mips_gdbarch_init): Set convert_register_p, register_to_value,
6899 and value_to_register.
6900
6503b91e
AC
69012004-01-13 Andrew Cagney <cagney@redhat.com>
6902
6903 * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default.
6904 * gdbarch.c: Re-generate.
6905 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
6906 FUNCTION_START_OFFSET.
6907 * v850-tdep.c (v850_gdbarch_init): Ditto.
6908 * sparc-tdep.c (sparc32_gdbarch_init): Ditto.
6909 * sh64-tdep.c (sh64_gdbarch_init): Ditto.
6910 * sh-tdep.c (sh_gdbarch_init): Ditto.
6911 * s390-tdep.c (s390_gdbarch_init): Ditto.
6912 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
6913 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
6914 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
6915 * mips-tdep.c (mips_gdbarch_init): Ditto.
6916 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
6917 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
6918 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
6919 * m32r-tdep.c (m32r_gdbarch_init): Ditto.
6920 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
6921 * i386-tdep.c (i386_gdbarch_init): Ditto.
6922 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
6923 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
6924 * frv-tdep.c (frv_gdbarch_init): Ditto.
6925 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
6926 * cris-tdep.c (cris_gdbarch_init): Ditto.
6927 * avr-tdep.c (avr_gdbarch_init): Ditto.
6928 * arm-tdep.c (arm_gdbarch_init): Ditto.
6929 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
6930
ea1dd7bc
DJ
69312004-01-13 Daniel Jacobowitz <drow@mvista.com>
6932
6933 * infrun.c (follow_fork_mode_ask): Remove.
6934 (follow_fork_mode_kind_names): Remove follow_fork_mode_ask.
6935 (follow_fork): Simplify and remove internal error for
6936 follow_fork_mode_ask.
6937 (_initialize_infrun): Update "set follow-fork-mode" help text.
6938
0f0cffd2
AC
69392004-01-13 Andrew Cagney <cagney@redhat.com>
6940
6941 * configure.in: Update copyright year.
6942 (build_warnings): Add -Wunused-label.
6943 * configure: Re-generate.
6944
de38af99
AC
69452004-01-12 Andrew Cagney <cagney@redhat.com>
6946
954a7fba
AC
6947 * exec.h (exec_ops): Make "extern".
6948
de38af99
AC
6949 * mips-tdep.c (mips_pseudo_register_read): Don't return a value,
6950 the function is void.
6951 (mips_pseudo_register_write): Ditto.
6952
1a111ce3
AC
69532004-01-12 Andrew Cagney <cagney@redhat.com>
6954
6955 * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO
6956 call. Never defined.
6957 * sparc-tdep.h (struct frame_info): Add opaque declaration.
6958 * sparc64-tdep.h (struct gdbarch): Add opaque declaration.
6959 (struct sparc_gregset, struct regcache): Ditto.
6960 * sparc-nat.c: Update copyright. Specify "GNU/Linux".
6961
48efe704
AC
69622004-01-12 Andrew Cagney <cagney@redhat.com>
6963
6964 * mi/ChangeLog: Delete file. Renamed to ...
6965 * mi/ChangeLog-1999-2003: New file.
6966 * tui/ChangeLog: Delete file. Renamed to ...
6967 * tui/ChangeLog-1998-2003: New file.
fe61caab 6968
a54124c5
MK
69692004-01-11 Mark Kettenis <kettenis@gnu.org>
6970
2ca62865
MK
6971 * sparc64nbsd-tdep.c: Include "regset.h".
6972 (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg):
6973 Remove variables.
6974 (fetch_core_registers): Remove function.
6975 (sparc64nbsd_core_fns): Remove variable.
6976 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New
6977 functions.
6978 (sparc64nbsd_init_abi): Initialize TDEP->gregset,
6979 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
6980 (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns.
6981
ca9d58e9
MK
6982 * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from
6983 sparc_extract_struct_value_address.
6984 (sparc32_gdbarch_init): Set extract_struct_value_address.
6985 * sparc64-tdep.c (sparc64_extract_struct_value_address): New
6986 function.
6987 (sparc64_init_abi): Set extract_struct_value_address. Don't set
6988 return_value_on_stack.
6989
3cc87ec0
MK
6990 * NEWS: Mention that %cs and %ss have been added to the AMD64
6991 configurations
6992
5bf00f29
MK
6993 * frame.c: Update copyright year.
6994 (get_prev_frame): Improve comment.
6995
4f7ec84e
MK
6996 * sparc64fbsd-tdep.c: Include "regset.h".
6997 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
6998 Remove variables.
6999 (fetch_core_registers): Remove function.
7000 (sparc64fbsd_core_fns): Remove variable.
7001 (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New
7002 functions.
7003 (sparc64fbsd_init_abi): Initialize TDEP->gregset,
7004 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset.
46b58ce9 7005 (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns.
4f7ec84e 7006
4e7b0cd3
MK
7007 * sparcnbsd-tdep.c: Include "regset.h".
7008 (fetch_core_registers): Remove function.
7009 (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles.
7010 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New
7011 functions.
7012 (sparc32nbsd_init_abi): Initialize TDEP->gregset and
7013 TDEP->fpregset.
46b58ce9 7014 (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns.
4e7b0cd3 7015
a54124c5
MK
7016 * sparc-tdep.h (struct regset): Provide opaque declaration.
7017 (struct gdbarch_tdep): Add gregset, sizeof_gregset,
7018 fpregset and sizeof_fpregset members.
7019 * sparc-tdep.c (struct regset): Provide opaque declaration.
7020 (sparc_regset_from_core_section): New function.
7021 (sparc32_gdbarch_init): Initialize TDEP->gregset,
7022 TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset.
7023 Set regset_from_core_section when appropriate.
7024
29ff87c5
MK
70252004-01-10 Mark Kettenis <kettenis@gnu.org>
7026
79b1ab3d
MK
7027 * x86-64-tdep.c (amd64_non_pod_p): New function.
7028 (amd64_classify_aggregate): Return class memory for non-POD
7029 C++ structure types.
7030
6470d250
MK
7031 * x86-64-tdep.c (amd64_push_arguments): Add struct_return
7032 argument. Use it to reserve a register if necessary.
7033 (amd64_push_dummy_call): Pass STRUCT_RETURN in call to
7034 amd64_push_arguments.
7035
562c50c2
MK
7036 * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields.
7037
af233647
MK
7038 * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust
7039 register numbers in comments.
7040 * x86-64-tdep.h: Update copyright year.
7041 (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM):
7042 Adjust for addition of %cs and %ss.
7043 * amd64fbsd-nat.c: Update copyright year.
7044 (reg_offset): Add register offsets for %cs and %ss.
7045 * amd64fbsd-tdep.c: Update copyright year.
7046 (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss.
7047 (amd64fbsd_sc_reg_offset): Likewise.
7048 * x86-64-linux-nat.c: Update copyright year.
7049 (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs
7050 and %ss.
7051 * amd64nbsd-nat.c: Update copyright year.
7052 (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss.
7053 * amd64nbsd-tdep.c: Update copyright year.
7054 (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss.
7055 * x86-64-linux-tdep.c: Update copyright year.
7056 (user_to_gdb_regmap): Add mapping for %cs and %ss.
7057 (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss.
7058 * regformats/reg-x86-64.dat: Add %cs and %ss.
7059
29ff87c5
MK
7060 * blockframe.c (inside_entry_func): Reformat. Introduce new local
7061 variables to prevent long lines. Update comments to reflect
7062 reality.
7063
38d518c9
EZ
70642004-01-09 David Carlton <carlton@kealia.com>
7065
7066 Checked in by Elena Zannoni <ezannoni@redhat.com>.
7067 * dwarf2read.c (read_namespace): Pull out name-generating code
7068 into namespace_name. Rename previous_namespace to previous_prefix
7069 and processing_current_namespace to processing_current_prefix..
7070 (namespace_name): New function.
7071 (add_partial_symbol): Substitute uses of pdi->name with
7072 actual_name.
7073 * cp-support.h: Rename processing_current_namespace to
7074 processing_current_prefix.
7075 Update copyright year.
7076 * cp-namespace.c: Rename processing_current_namespace to
7077 processing_current_prefix.
7078 Update copyright year.
fe61caab 7079
1e4728e7
AC
70802004-01-09 Andrew Cagney <cagney@redhat.com>
7081
7082 * jv-valprint.c, ser-unix.c: Add missing copyright years.
7083
c77c642a
MK
70842004-01-09 Mark Kettenis <kettenis@gnu.org>
7085
7086 * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of
7087 complaining.
7088 (process_one_symbol): Deal with N_PATCH stabs.
7089
b44e9041
EZ
70902004-01-09 Elena Zannoni <ezannoni@redhat.com>
7091
7092 * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and
7093 ifdeffed code.
7094 Update copyright year.
38d518c9 7095
eccfb640
MC
70962004-01-08 Michael Chastain <mec.gnu@mindspring.com>
7097
7098 * config/pa/tm-hppa.h: Update extern declarations for
7099 hppa32_hpux_frame_saved_pc_in_sigtramp,
7100 hppa32_hpux_frame_base_before_sigtramp, and
7101 hppa32_hpux_frame_find_saved_regs_in_sigtramp.
7102
848c5feb
MC
71032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
7104
7105 * config/pa/tm-hppah.h: Update copyright years.
7106
3cc5d663
AC
71072004-01-08 Andrew Cagney <cagney@redhat.com>
7108
7109 * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function.
7110 (mips_o32_reg_struct_has_addr): Delete function.
7111 (mips_gdbarch_init): Update.
7112 (mips_extract_struct_value_address): Delete function.
7113
bfec0b41
JJ
71142004-01-08 David Mosberger <davidm@hpl.hp.com>
7115
7116 * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect
7117 reality.
7118
16e109ca
AC
71192004-01-07 Andrew Cagney <cagney@redhat.com>
7120
6214a8a1
AC
7121 * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous
7122 architecture's elf flags (when available).
7123
8d5838b5
AC
7124 * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS
7125 FPU to the start, check the MIPS FPU when looking for an old
7126 architecture.
7127 (set_mipsfpu_single_command): Update the architecture.
7128 (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto.
7129
480d3dd2
AC
7130 * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro.
7131 (mips_mask_address_p): Add "tdep" parameter.
7132 (show_mask_address, mips_addr_bits_remove): Update.
7133 (mips_dump_tdep): Update.
7134 (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro.
7135 (MIPS_STACK_ARGSIZE): Delete macro.
7136 (mips_stack_argsize, mips_eabi_push_dummy_call): Update.
7137 (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update.
7138 (mips_o64_push_dummy_call, mips_o32_return_value): Update.
7139 (mips_dump_tdep): Update.
7140 (MIPS_SAVED_REGSIZE): Delete macro.
7141 (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro.
7142 (mips_saved_regsize, mips_eabi_use_struct_convention): Update.
7143 (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update.
7144 (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update.
7145 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update.
7146 (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update.
7147 (mips_pop_frame, return_value_location): Update.
7148 (mips_n32n64_return_value, mips_dump_tdep): Update.
7149
ec03c1ac
AC
7150 * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the
7151 MIPS ABI.
7152
16e109ca
AC
7153 * mips-tdep.c: Update copyright.
7154 (mips_gdbarch_init): Merge two code blocks handling the register
7155 name and number layout.
7156
15255275
MS
71572004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl>
7158
7159 * tracepoint.c (validate_actionline): Fix segv at EOF
7160
9f9057da
MC
71612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
7162
7163 * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME
7164 properly for static fields.
7165
0127c0d3 71662004-01-06 Jeff Johnston <jjohnstn@redhat.com>
91562f53 7167 Jason Molenda <jmolenda@apple.com>
0127c0d3
JJ
7168
7169 * disasm.c: Update copyright to include 2004.
7170 (do_mixed_source_and_assembly): For uiout asm list
7171 and tuple cleanups, initialize to null_cleanup instead of
fe61caab 7172 NULL and do so prior to loop. Only reset when we close off
0127c0d3 7173 the tuple/list. Move check for whether to close off the
fe61caab 7174 asm tuple/list to after dump_insns call where it will be run
0127c0d3
JJ
7175 on each loop iteration.
7176
5269965e
AC
71772004-01-05 Andrew Cagney <cagney@redhat.com>
7178
54f1137d
AC
7179 * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED"
7180 should be a switch case and not a label.
7181 * mips-tdep.c (mips32_next_pc): Delete unused labels
7182 "greater_equal_branch" and "less_zero_branch".
7183 * jv-valprint.c (java_print_value_fields): Delete unused label
7184 "flush_it".
7185
5269965e
AC
7186 * target.c (unpush_target): Only close a target that is in the
7187 target stack.
7188
dbc22fa1
MK
71892004-01-05 Mark Kettenis <kettenis@gnu.org>
7190
9515395e
MK
7191 * sparc-tdep.c (sparc_extract_struct_value_address): Get the
7192 address from [sp + 64] instead of %o2.
7193
dbc22fa1
MK
7194 * frame.c (get_prev_frame): Don't try to unwind the PC. This
7195 fixes PR backtrace/1476.
7196
5439edaa
AC
71972004-01-05 Andrew Cagney <cagney@redhat.com>
7198
7199 * libunwind-frame.h (struct frame_id): Add opaque declaration,
7200 move to start of file.
7201 * i386-tdep.h (struct regcache): Add opaque declaration.
7202 * config/ia64/nm-linux.h (struct target_ops): Add opaque
7203 declaration.
7204 * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__.
7205 (ia64_gdbarch_init): Use "GNU/Linux" in comment.
7206 * win32-nat.c (fake_create_process): Use ISO C style definition.
7207 * stabsread.c (define_symbol): Delete #ifndef
7208 DEPRECATED_USE_REGISTER_NOT_ARG wrapper around
7209 stabs_argument_has_addr call, macro never defined.
7210
19061abe
MC
72112004-01-04 Michael Chastain <mec.gnu@mindspring.com>
7212
7213 * op50-rom.c: Delete.
7214 * w89k-rom.c: Delete.
7215 * Makefile.in: Remove references.
7216
e53bef9f
MK
72172004-01-04 Mark Kettenis <kettenis@gnu.org>
7218
7219 * x86-64-tdep.c: Update copyright year.
7220 (struct amd64_register_info): Rename from x86_64_register_info.
7221 (amd64_register_info): Rename from x86_64_register_info.
7222 (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS.
7223 (amd64_register_name): Rename from x86_64_register_name.
7224 (amd64_register_type): Rename from x86_64_register_type.
7225 (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap.
7226 (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len.
7227 (amd64_dwarf_reg_to_regnum): Rename from
7228 x86_64_dwarf_reg_to_regnum.
7229 (amd64_convert_register_p): Rename from x86_64_convert_register_p.
7230 (amd64_push_dummy_call): Rename from x86_64_push_dummy_call.
7231 (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS.
7232 (struct amd64_frame_cache): Renamed from x86_64_frame_cache.
7233 (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache.
7234 (amd64_analyze_prologue): Rename from x86_64_analyze_prologue.
7235 (amd64_skip_prologue): Rename from x86_64_skip_prologue.
7236 (amd64_frame_cache): Rename from x86_64_frame_cache.
7237 (amd64_frame_this_id): Rename from x86_64_frame_this_id.
7238 (amd64_frame_prev_register): Rename from
7239 x86_64_frame_prev_register.
7240 (amd64_frame_unwind): Rename from x86_64_frame_unwind.
7241 (amd64_frame_sniffer): Rename from x86_64_frame_sniffer.
7242 (amd64_sigtramp_frame_cache): Rename from
7243 x86_64_sigtramp_frame_cache.
7244 (amd64_sigtramp_frame_prev_register): Rename from
7245 x86_64_sigtramp_frame_prev_register.
7246 (amd64_sigtramp_frame_unwind): Rename from
7247 x86_64_sigtramp_frame_unwind.
7248 (amd64_sigtramp_frame_sniffer): Rename from
7249 x86_64_sigtramp_frame_sniffer.
7250 (amd64_frame_base_address): Rename from x86_64_frame_base_address.
7251 (amd64_frame_base): Rename from x86_64_frame_base.
7252 (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id.
7253 (amd64_frame_align): Rename from x86_64_frame_align.
7254 (amd64_supply_fpregset): Rename from x86_64_supply_fpregset.
7255 (amd64_regset_from_core_section): Rename from
7256 x86_64_regset_from_core_section.
7257 (x86_64_init_abi): Update comments.
7258
fca6aa58
NR
72592004-01-04 Nick Roberts <nick@nick.uklinux.net>
7260
7261 * MAINTAINERS (write after approval): Add myself.
7262
8ada74e3
MK
72632004-01-04 Mark Kettenis <kettenis@gnu.org>
7264
7265 * sparc64-tdep.c (sparc64_store_arguments): Fix handling of
7266 `float' arguments.
7267
5154b0cd
MK
72682004-01-04 Mark Kettenis <kettenis@gnu.org>
7269
7270 * sparc64-tdep.c (sparc64_store_floating_fields): Update comment
7271 such that it mentions a specific version of GCC that exhibits this
7272 bug.
7273
fb316966
MK
72742004-01-03 Mark Kettenis <kettenis@gnu.org>
7275
200cc553
MK
7276 * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a
7277 structure that has a single `float' member, store it in %f1 in
7278 addition to %f0.
7279
e226a4a0
MK
7280 * sparc-sol2-nat.c: Add missing '\'.
7281
b9d4c5ed
MK
7282 * sparc-tdep.c (sparc32_return_value): New function.
7283 (sparc32_use_struct_convention, sparc32_return_value_on_stack):
7284 Remove functions.
7285 (sparc32_gdbarch_init): Set return_value, don't set
7286 extract_return_value, store_return_value, use_struct_convention
7287 and return_value_on_stack.
7288
fb316966
MK
7289 * sparc-sol2-nat.c: Add missing ')'.
7290
1af510a8
JB
72912004-01-03 J. Brobecker <brobecker@gnat.com>
7292
7293 * infrun.c (handle_step_into_function): New function.
7294 (handle_inferior_event): Extract out some code into the new
7295 function above.
7296
5cf4d23a
JB
72972004-01-03 J. Brobecker <brobecker@gnat.com>
7298
7299 * infrun.c (handle_inferior_event): Move the declaration of
7300 real_stop_pc inside the if blocks where it is used.
7301
60af1db2
MK
73022004-01-03 Mark Kettenis <kettenis@gnu.org>
7303
7304 * sparc64-tdep.c (sparc64_16_byte_align_p)
7305 (sparc64_store_floating_fields, sparc64_store_floating_fields):
7306 Use check_typedef to get subtypes of structures and unions.
7307 (sparc64_store_return_value): Fix calculation of the appropriate
7308 offset into VALBUF when storing a structure or union.
7309 (sparc64_return_value): New function.
7310 (sparc64_use_struct_convention): Remove function.
7311 (sparc64_init_abi): Set return_value, don't set
7312 extract_return_value, store_return_value and
7313 use_struct_convention.
7314
1a901d3f
EZ
73152004-01-03 Eli Zaretskii <eliz@elta.co.il>
7316
7317 * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS,
7318 bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c,
7319 gdb/config/alpha/xm-alphaosf.h,
7320 gdb/config/powerpc/tm-ppcle-eabi.h,
7321 gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001,
7322 gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003,
7323 gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in,
7324 gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c,
7325 gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c,
7326 gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c,
7327 gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c,
7328 gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c,
7329 gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c,
7330 gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c,
7331 gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp,
7332 nclude/ChangeLog-9103, include/coff/ChangeLog-9103,
7333 include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103,
7334 opcodes/ChangeLog-0001, opcodes/ChangeLog-0203,
7335 opcodes/openrisc-dis.c, opcodes/openrisc-desc.h,
7336 sim/frv/profile-fr550.c, sim/frv/profile-fr550.h,
7337 sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c,
7338 sim/testsuite/sim/sh64/compact/ldsl-mach.cgs,
7339 sim/testsuite/sim/sh64/compact/ldsl-macl.cgs,
7340 sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and
7341 sim/testsuite/sim/sh64/compact/stsl-macl.cgs.
7342 Remove lines for .cvsignore files.
7343
ef52e463
JB
73442004-01-03 J. Brobecker <brobecker@gnat.com>
7345
7346 * infrun.c: Back out the previous change.
7347
cb1bf9dc
MK
73482004-01-03 Mark Kettenis <kettenis@gnu.org>
7349
f0424ef6
MK
7350 * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and
7351 sparc-*-sunos4* to the list of REMOVED configurations.
7352
cb1bf9dc
MK
7353 * configure.tgt: Add back sparc-*-vxworks*.
7354 * remote-vxsparc.c: Remove all includes except for "defs.h",
7355 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
7356 Include "sparc-tdep.h".
7357 (SPARC_R_G1): New define.
7358 (vxsparc_gregset): New variable.
7359 (ext_format_sparc): Remove extern declaration.
7360 (vx_read_register): Rewrite to use sparc32_supply_gregset and
7361 sparc32_supply_fpregset.
7362 (vx_write_register): Rewrite to use sparc32_collect_gregset,
7363 sparc_collect_rwindow and sparc32_collect_fpregset.
7364 * config/sparc/tm-vxworks.h: New file, based on recently removed
7365 tm-vxsparc.h.
7366 * config/sparc/vxworks.mt: New file, based on recently removed
7367 vxworks.mt.
fe61caab 7368
5e938f9f
JB
73692004-01-03 J. Brobecker <brobecker@gnat.com>
7370
7371 * infrun.c (handle_step_into_function): New function.
7372 (handle_inferior_event): Extract out some code into the new
7373 function above.
7374
386c036b
MK
73752004-01-02 Mark Kettenis <kettenis@gnu.org>
7376
7377 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
7378 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
7379 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
7380 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
7381 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
7382 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
7383 (sparc_nat_h): New variable.
7384 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
7385 (tm-sun4os4.h): Remove dependency.
7386 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
7387 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
7388 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
7389 sparc-tdep.o): Update dependencies.
7390 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
7391 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
7392 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
7393 dependencies.
7394 * configure.host: Remove existing sparc-*-lynxos*,
7395 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
7396 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
7397 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
7398 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
7399 triplets.
7400 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
7401 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
7402 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
7403 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
7404 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
7405 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
7406 sparc64-*-solaris2* and sparc64-*-* triplets.
7407 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
7408 "symtab.h" and "objfiles.h".
7409 (BIAS): Remove define.
7410 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
7411 (X_DISP19): Remove macros.
7412 (sparc_fetch_instruction): Remove function.
7413 (struct gdbarch_tdep): Remove definition.
7414 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
7415 (sparc_breakpoint_from_pc): Remove function.
7416 (struct sparc64_frame_cache): Remove definition.
7417 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
7418 sparc64_unwind_pc): Remove functions.
7419 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
7420 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
7421 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
7422 (sparc64_frame_cache): Change return type to `struct
7423 sparc_frame_cache *'. Simply call sparc_frame_cache.
7424 (sparc64_frame_this_id, sparc64_frame_prev_register,
7425 sparc64_frame_base_address): Use `struct sparc_frame_cache'
7426 instead of `struct sparc64_frame_cache.
7427 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
7428 sparc_analyze_control_transfer, sparc_software_single_step,
7429 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
7430 _initialize_sparc64_tdep): Remove functions.
7431 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
7432 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
7433 macros.
7434 (sparc64_supply_gregset, sparc64_collect_gregset,
7435 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
7436 (sparc64_init_abi): New function.
7437 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
7438 inclusion guard. Include "sparc-tdep.h".
7439 (BIAS): Define.
7440 (r_tstate_offset, r_fprs_offset): New defines.
7441 (enum sparc_regnum): Remove defenition.
7442 (enum sparc64_regnum): Reformat.
7443 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
7444 (sparc64_init_abi, sparc64_supply_gregset,
7445 sparc64_collect_gregset, sparc64_supply_fpregset,
7446 sparc64_collect_fpregset): New prototypes.
7447 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
7448 Add extern declarations.
7449 (sparc64_sol2_init_abi): New prototype.
7450 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
7451 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
7452 prototypes.
7453 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
7454 "sparnbsd-nat.h".
7455 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
7456 functions.
7457 (_initialize_sparc64fbsd_nat): Remove initialization of
7458 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
7459 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
fe61caab 7460 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
386c036b
MK
7461 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
7462 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
7463 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
7464 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
7465 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
7466 (sparc64fbsd_r_y_offset): Remove variables.
7467 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
7468 Make static and const.
7469 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
7470 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
7471 functions.
7472 (sparc64fbsd_gregset): New variable.
7473 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
7474 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
7475 and sparc64_supply_fpregset.
7476 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
7477 (sparc64fbsd_sigtramp_frame_this_id)
7478 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
7479 (sparc64fbsd_sigtramp_frame_unwind): New variable.
7480 (sparc64fbsd_sigtramp_frame_sniffer): New function.
7481 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
7482 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
7483 * sparcnbsd-tdep.c: Update copyright year. Include
7484 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
7485 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
7486 "value.h" and "sparcnbsd-tdep.h".
7487 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
7488 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
7489 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
7490 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
7491 defines.
7492 (sparcnbsd_gregset): New variable.
7493 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
7494 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
7495 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
7496 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
7497 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
7498 variables.
7499 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
7500 (sparc32nbsd_sigcontext_frame_this_id)
7501 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
7502 (sparc32nbsd_sigcontext_frame_unwind): New variable.
7503 (sparc32nbsd_sigtramp_frame_sniffer): New function.
7504 (sparcnbsd_get_longjmp_target_32,
7505 sparcnbsd_get_longjmp_target_64): Remove functions.
7506 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
7507 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
7508 sparcnbsd_init_elf): Remove.
7509 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
7510 (sparcnbsd_elf_init_abi): New functions.
7511 (_initialize_sparcnbsd_tdep): New prototype.
7512 (_initialize_sparnbsd_tdep): Update.
7513 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
7514 corelow.o. Add sparc64-nat.o and sparc-nat.o.
7515 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
7516 * config/sparc/linux.mh: Update comment.
7517 (XM_FILE, HOST_IPC): Remove variables.
7518 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
7519 sparc-linux-nat.o.
7520 * config/sparc/linux.mt: Update comment.
7521 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
7522 * config/sparc/nbsd.mt: Reformat.
7523 * config/sparc/nbsd64.mh: Update comment.
7524 (NATDEPFILES): Add sparc-nat.o.
7525 * config/sparc/nbsd64.mt: Update comment.
7526 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
7527 (TM_FILE): Set to tm-nbsd.h.
7528 * config/sparc/nbsdelf.mh: Update comment.
7529 (NATDEPFILES): Add sparc-nat.o.
7530 (XM_FILE): Delete.
7531 * config/sparc/nbsdaout.mh: Update comment.
7532 (NATDEPFILES): Add sparc-nat.o
7533 (XM_FILE): Delete.
7534 * config/sparc/nm-linux.h: Update copyright year. Don't include
7535 "config/nm-svr4.h" and "solib.h". Add protection against multiple
7536 inclusion.
7537 (KERNEL_U_SIZE): Remove define.
7538 (kernel_u_size): Remove prototype.
7539 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
7540 * config/sparc/nm-nbsd.h: Update copyright. Don't include
7541 "regcache.h".
7542 (CHILD_PREPARE_TO_STORE): Remove define.
7543 * config/sparc/nm-nbsdaout.h: Tweak some comments.
7544 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
7545 sparcnbsd-nat.c: Rewrite files.
7546 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
7547 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
7548 sparcnbsd-tdep.h: Remove files.
7549 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
7550 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
7551 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
7552 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
7553 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
7554 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
7555 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
7556 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
7557 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
7558 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
7559 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
7560 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
7561 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
7562 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
7563 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
7564 * config/sparc/linux64.mh, config/sparc/linux64.mt,
7565 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
7566 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
7567 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
7568
ee84457a
AC
75692004-01-02 Andrew Cagney <cagney@redhat.com>
7570
7571 From 2003-12-18 Kazuhiro Inaoka:
7572 * configure.host: Add m32r-linux target.
7573
0bc2134e
MC
75742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
7575
7576 * top.c (print_gdb_version): Update year to 2004.
7577
89a72f9c
MM
75782004-01-02 Mark Mitchell <mark@codesourcery.com>
7579
7580 * MAINTAINERS: Add myself to the write-after-approval category.
7581
86b013ed
DJ
75822004-01-02 Daniel Jacobowitz <drow@mvista.com>
7583
7584 From Bernardo Innocenti <bernie@develer.com>:
7585 * configure.tgt: Add uClinux target.
7586
e42c9534
AC
75872004-01-02 Andrew Cagney <cagney@redhat.com>
7588
7589 * utils.c (do_my_cleanups): Make static, add forward declaration.
7590 * defs.h (do_my_cleanups): Delete declaration.
7591
162467d3
EZ
75922004-01-02 Eli Zaretskii <eliz@elta.co.il>
7593
7594 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
7595 bfd/ChangeLog-0203.
7596
78434e59
MK
75972004-01-02 Mark Kettenis <kettenis@gnu.org>
7598
7599 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
7600 in <machine/reg.h>.
7601 * configure, config.in: Regenerate.
7602
48efe704
AC
7603For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and
7604tui/ChangeLog-1998-2003.
c906108c
SS
7605\f
7606Local Variables:
7607mode: change-log
7608left-margin: 8
7609fill-column: 74
7610version-control: never
7611End:
This page took 1.145885 seconds and 4 git commands to generate.