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