* Makefile.in (install-only): Use $(SHELL) when running
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
b7f31508
ILT
12003-05-14 Ian Lance Taylor <ian@airs.com>
2
3 * Makefile.in (install-only): Use $(SHELL) when running
4 mkinstalldirs.
5
2fdbdd39
ILT
62003-05-13 Ian Lance Taylor <ian@airs.com>
7
a208d82c
ILT
8 * MAINTAINERS (write after approval): Add myself.
9
2fdbdd39
ILT
10 * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swap
11 second and third arguments.
12 * ser-tcp.c (_initialize_ser_tcp): Likewise.
13 * ser-unix.c (_initialize_ser_hardwire): Likewise.
14
fbd9dcd3
AC
152003-05-13 Andrew Cagney <cagney@redhat.com>
16
17 * defs.h (store_address): Delete declaration.
18 findvar.c (store_address): Delete function.
19 * arm-tdep.c (arm_push_dummy_call): Replace store_address with
20 store_unsigned_integer.
21 * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto.
22 * v850-tdep.c (v850_push_arguments): Ditto.
23 * sparc-tdep.c (sparc_get_saved_register): Ditto.
24 * sh-tdep.c (sh64_get_saved_register): Ditto.
25 * rs6000-tdep.c (rs6000_push_arguments): Ditto.
26 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto.
27 * mips-tdep.c (mips_eabi_push_arguments): Ditto.
28 (mips_get_saved_register): Ditto.
29 * ia64-tdep.c (ia64_get_saved_register): Ditto.
30 (find_func_descr, ia64_push_arguments): Ditto.
31 * i386-tdep.c (i386_push_arguments): Ditto.
32 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
33 * frv-tdep.c (frv_push_arguments): Ditto.
34 * frame.c (legacy_saved_regs_prev_register): Ditto.
35 (deprecated_generic_get_saved_register): Ditto.
36 * findvar.c (unsigned_address_to_pointer): Ditto.
37 * dwarf2read.c (dwarf2_const_value): Ditto.
38 * arm-linux-tdep.c (arm_linux_push_arguments): Ditto.
39 * alpha-tdep.c (alpha_push_arguments): Ditto.
40
6760f9e6
JB
412003-05-12 J. Brobecker <brobecker@gnat.com>
42
43 * NEWS: Mention that the hppa-hpux port has been partially
44 multiarched (32bit ABIT only, so far).
45
30e221b4
AC
462003-05-11 Andrew Cagney <cagney@redhat.com>
47
48 * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol.
49 * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h,
50 include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms,
51 sim/testsuite/sim/arm/misaligned2.ms, and
52 sim/testsuite/sim/arm/misaligned3.ms.
53 * disasm.h (struct ui_file): Add opaque struct declaration.
54 * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto.
55 * frame.h (struct ui_file): Ditto.
56
dea7f9ba
MK
572003-05-11 Mark Kettenis <kettenis@gnu.org>
58
59 * value.h: Pretty print.
60
01986c48
MK
612003-05-10 Mark Kettenis <kettenis@gnu.org>
62
63 * config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.
64
123a958e
AC
652003-05-08 Andrew Cagney <cagney@redhat.com>
66
67 * regcache.h (max_register_size): Delete declaration.
68 * regcache.c (max_register_size): Delete function.
69 (struct regcache_descr): Delete field "max_register_size".
70 (init_regcache_descr, init_legacy_regcache_descr): Assert that all
71 registers fit in MAX_REGISTER_SIZE.
72 (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE.
73 (regcache_restore, regcache_xfer_part, regcache_dump): Ditto.
74 * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE.
75 * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto.
76 * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto.
77 * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto.
78 * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto.
79 * dve3900-rom.c, hppa-tdep.c: Ditto.
80
eb294659
DC
812003-05-08 David Carlton <carlton@math.stanford.edu>
82
83 * valops.c (push_word): Fix typo.
84
d9d9c31f
AC
852003-05-08 Andrew Cagney <cagney@redhat.com>
86
87 * gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
88 * gdbarch.h: Re-generate.
89 * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
90 (legacy_max_register_raw_size): Delete declaration.
91 * regcache.c (legacy_max_register_raw_size): Delete function.
92 * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
93 * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Ditto.
94 * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Ditto.
95 * remote-rdp.c, remote-array.c, regcache.c: Ditto.
96 * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Ditto.
97 * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Ditto.
98 * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Ditto.
99 * findvar.c, dwarf2cfi.c: Ditto.
100
22540ece
AC
1012003-05-08 Andrew Cagney <cagney@redhat.com>
102
103 * mips-tdep.c (read_signed_register): New function, moved to here
104 from "regcache.c".
105 (read_signed_register_pid): Ditto.
106 * regcache.c (read_signed_register_pid): Delete function, moved to
107 "mips-tdep.c".
108 (read_signed_register): Ditto.
109 * regcache.h (read_signed_register): Delete declaration.
110 (read_signed_register_pid): Delete declaration.
111
0c92afe8
AC
1122003-05-08 Andrew Cagney <cagney@redhat.com>
113
114 * gdbarch.sh: Add comments on MAX_REGISTER_SIZE.
115 * gdbarch.h: Re-generate.
116 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro.
117 (legacy_max_register_virtual_size): Delete declaration.
118 * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE.
119 * d10v-tdep.c (d10v_print_registers_info): Ditto.
120 * tracepoint.c (memrange_sortmerge): Ditto.
121 * sparc-tdep.c (sparc_print_registers): Ditto.
122 * regcache.c (legacy_max_register_virtual_size): Delete function.
123
6037b830
JB
1242002-05-08 J. Brobecker <brobecker@gnat.com>
125
126 * fork-child.c (escape_bang_in_quoted_argument): New function.
127 (fork_inferior): Escape '!' characters in quoted arguments
128 only when needed.
129
5d62c8b1
JB
1302003-05-08 J. Brobecker <brobecker@gnat.com>
131
132 * dwarf2read.c (set_cu_language): Set the language to "minimal" if
133 the language of the CU is not currently supported by GDB.
134
20a0e81d
JB
1352003-05-08 J. Brobecker <brobecker@gnat.com>
136
137 * defs.h (language): Add language_minimal enum value.
138 * c-lang.c (minimal_language_defn): New language definition.
139 (_initialize_c_language): Add the new minimal language to the list
140 of languages known to GDB.
141
710ee10a
KB
1422003-05-08 Kevin Buettner <kevinb@redhat.com>
143
144 * frame.c (get_frame_type): Don't attempt to lazily initialize
145 frame's unwinder for legacy frames.
146
1750fa04
AC
1472003-05-07 Andrew Cagney <cagney@redhat.com>
148
149 * ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
150 and "regcache" parameters.
151 * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
152
ddf9f258
JJ
1532003-05-07 Jeff Johnston <jjohnstn@redhat.com>
154
155 * dwarf2read.c (dwarf_decode_lines): Only use output of
156 check_cu_functions() when calling record_line(). Do not update
157 the current address.
158
87767c29
AC
1592003-05-07 Andrew Cagney <cagney@redhat.com>
160
161 * fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
162 code.
163
5e7b2f39
JB
1642003-05-07 Jim Blandy <jimb@redhat.com>
165
166 Rename commands 'maint list symtabs' and 'maint list psymtabs' to
167 'maint info symtabs' and 'maint info psymtabs'.
168 * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs):
169 Renamed from maintenance_list_symtabs and maintenance_list_psymtabs.
170 * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs):
171 Declarations updated.
172 * maint.c (maintenance_list_command): Delete.
173 (_initialize_maint_cmds): Update calls to add_cmd.
174 * gdbcmd.h (maintenancelistlist): Delete declaration.
175 * cli/cli-cmds.c (maintenancelistlist): Delete.
176 (init_cmd_lists): Don't initialize it.
177 * cli/cli-cmds.h (maintenancelistlist): Delete declaration.
178
f6684c31
AC
1792003-05-07 Andrew Cagney <cagney@redhat.com>
180
181 * d10v-tdep.c (remote_d10v_translate_xfer_address): Add
182 "regcache".
183 (d10v_print_registers_info): Update.
184 (d10v_dmap_register, d10v_imap_register): Delete functions.
185 (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register"
186 and "imap_register".
187 (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache".
188 (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache".
189 * arch-utils.c (generic_remote_translate_xfer_address): Add
190 "regcache" and "gdbarch" parameters.
191 * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache"
192 parameter. Change class to multi-arch.
193 * gdbarch.h, gdbarch.c: Re-generate.
194 * remote.c (remote_xfer_memory): Use
195 gdbarch_remote_translate_xfer_address.
196
e4846b08
JJ
1972003-05-07 Jeff Johnston <jjohnstn@redhat.com>
198
199 * infrun.c (prev_pc): Move declaration ahead of proceed().
200 (proceed): Refresh prev_pc value before resuming.
201 (stop_stepping): Remove code to refresh prev_pc.
202
6b71b8ac
KW
2032003-05-06 Kris Warkentin <kewarken@qnx.com>
204
205 * nto-tdep.c: Removed stray comment.
206
47979a4b
KW
2072003-05-06 Kris Warkentin <kewarken@qnx.com>
208
209 * i386-nto-tdep.c: Fix old K&R function definitions.
210 * nto-tdep.c: Likewise and change stat.h include to gdb_stat.h.
211 Also change add_show_from_set() call to add_setshow_cmd().
212 * nto-tdep.h: Remove PARAMS and grep ^func ARI hits.
213
00905d52
AC
2142003-05-05 Andrew Cagney <cagney@redhat.com>
215
216 * dummy-frame.c: Include "command.h" and "gdbcmd.h".
217 (fprint_dummy_frames): New function.
218 (maintenance_print_dummy_frames): New function.
219 (_initialize_dummy_frame): Add command "maint print dummy-frames".
220 * frame.c (fprint_frame_id): Make global.
221 * frame.h (fprint_frame_id): Declare.
222 * Makefile.in (dummy-frame.o): Update dependencies.
223
b1e29e33
AC
2242003-05-05 Andrew Cagney <cagney@redhat.com>
225
226 * gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE.
227 (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename
228 SIZEOF_CALL_DUMMY_WORDS.
229 (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS.
230 (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY.
231 (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename
232 CALL_DUMMY_BREAKPOINT_OFFSET.
233 (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename
234 CALL_DUMMY_START_OFFSET.
235 (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH.
236 * gdbarch.h, gdbarch.c: Re-generate.
237 * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update.
238 * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update.
239 * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update.
240 * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update.
241 * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update.
242 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update.
243 * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update.
244 * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update.
245 * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update.
246 * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update.
247 * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update.
248 * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update.
249 * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update.
250 * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update.
251 * config/sparc/tm-sparc.h: Update.
daea6f0b
KW
252
2532003-05-05 Kris Warkentin <kewarken@qnx.com>
254
255 * configure.tgt: Add i[3456]86-*-nto*.
256 * i386-nto-tdep.c: New file. i386 specific support for QNX Neutrino.
257 * nto-tdep.c: New file. Neutrino target support routines.
258 * nto-tdep.h: New file. Neutrino target header.
259 * config/tm-qnxnto.h: New file.
260 * config/i386/i386nto.mt: New file.
261 * config/i386/tm-i386nto.h: New file.
b1e29e33 262
0ce3d317
AC
2632003-05-04 Andrew Cagney <cagney@redhat.com>
264
265 * gdbthread.h (save_infrun_state): Drop prev_func_name parameter.
266 (load_infrun_state): Ditto.
267 (struct thread_info): Drop "prev_func_name" field.
268 * thread.c (load_infrun_state): Update.
269 (save_infrun_state): Update.
270 * infrun.c (prev_func_name): Delete variable.
271 (init_wait_for_inferior): Do not clear prev_func_name.
272 (stop_stepping, keep_going, context_switch): Do not swap
273 prev_func_name.
274 (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp
275 instead of PC_IN_SIGTRAMP.
276
46654a5b
AC
2772003-05-04 Andrew Cagney <cagney@redhat.com>
278
279 * sentinel-frame.c (sentinel_frame_prev_register): Replace
280 REGISTER_BYTE with register_offset_hack.
281 * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check
282 that REGISTER_BYTE is consistent with the regcache.
283 * gdbarch.sh (REGISTER_BYTE): Add a predicate.
284 * gdbarch.h, gdbarch.c: Regenerate.
285
14b08c1b
MK
2862003-05-04 Mark Kettenis <kettenis@gnu.org>
287
04c8243f
MK
288 * i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.
289 (FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
290
14b08c1b
MK
291 * i386-linux-nat.c (supply_gregset): Remove unnecessary casts.
292
c7a11e01
JB
2932003-05-03 J. Brobecker <brobecker@gnat.com>
294
295 From Thierry Schneider <tpschneider1@yahoo.com>
296 * Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o.
297 (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c.
298 (mi-cmd-symbol.o): Add rule.
299
7043d8dc
AC
3002003-05-03 Andrew Cagney <cagney@redhat.com>
301
302 * gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add
303 comments noteing that it replaces the old FIX_CALL_DUMMY code.
304 * gdbarch.h, gdbarch.c: Re-generate.
305 * d10v-tdep.c (d10v_push_dummy_code): New function.
306 (d10v_gdbarch_init): Set push_dummy_code.
307 * infcall.c (legacy_push_dummy_code): New function.
308 (generic_push_dummy_code): New function.
309 (push_dummy_code): New function.
310 (call_function_by_hand): Call push_dummy_code. Pass bp_addr,
311 instead of dummy_addr, to push_dummy_call. Move call to
312 generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION
313 switch.
314 * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code.
315
92bf2b80
AC
3162003-05-03 Andrew Cagney <cagney@redhat.com>
317
318 * disasm.h (print_insn): Declare.
319 * disasm.c (init_gdb_disassemble_info): New function.
320 (gdb_disassembly): Call init_gdb_disassemble_info.
321 (gdb_print_insn): New function.
322 * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead
323 of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog".
324 * mcore-tdep.c: Include "disasm.h"
325 (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN.
326 * d10v-tdep.c: Include "disasm.h".
327 (display_trace): Call gdb_print_insn, instead of print_insn.
328 (print_insn): Delete function.
329 * printcmd.c: Include "disasm.h".
330 (print_insn): Delete function.
331 (print_formatted): Call gdb_print_insn, instead of print_insn.
332 * Makefile.in (printcmd.o): Update dependencies.
333 (mcore-tdep.o, d10v-tdep.o): Ditto.
334
27d94c49
AC
3352003-05-02 Andrew Cagney <cagney@redhat.com>
336
82de1e5b
AC
337 * std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef
338 PC_REGNUM, re-indent.
339 * stack.c (frame_info): Use "pc" for the name of get_frame_pc when
340 PC_REGNUM isn't set.
341
27d94c49
AC
342 * gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional.
343 * gdbarch.h, gdbarch.c: Re-generate.
344 * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size,
345 register_virtual_size, pc_regnum, or register_bytes.
346 (D10V_PC_REGNUM): Rename _PC_REGNUM.
347 (d10v_register_type): Use D10V_PC_REGNUM.
348 (d10v_print_registers_info, d10v_read_pc): Ditto.
349 (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto.
350 (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
351
a9c0dc7f
DC
3522003-05-02 David Carlton <carlton@bactrian.org>
353
354 * objfiles.c (allocate_objfile): For anonymous objfiles, allocate
355 the name with mstrsave.
356
e33d66ec
EZ
3572003-05-02 Elena Zannoni <ezannoni@redhat.com>
358
359 * charset.c (GDB_DEFAULT_TARGET_CHARSET,
360 GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file.
361 (host_charset_name, target_charset_name): New vars for use by
362 set/show commands.
363 (host_charset_enum, target_charset_enum): New enums for set/show
364 commands.
365 (set_charset_sfunc, set_host_charset_sfunc,
366 set_target_charset_sfunc): New functions.
367 (set_host_charset, set_target_charset): Make static.
368 (list_charsets, set_host_charset_command,
369 set_target_charset_command): Delete functions.
370 (show_charset_command): Rewrite as....
371 (show_charset): Hook this up with the set/show command mechanism.
372 (_initialize_charset): Change names of charsets to match the
373 set/show enums. Use host_charset_name and target_charset_name.
374 Use set/show mechanism for charset, host-charset, target-charset
375 commands. Do not make 'show host-charset' and 'show
376 target-charset' be aliases of 'show charset'.
377
378 * charset.h (set_host_charset, set_target_charset): Don't export,
379 they are not used outside the file.
380
2b6fd0d8
AC
3812003-05-01 Andrew Cagney <cagney@redhat.com>
382
383 * disasm.c (gdb_disassemble_from_exec): Delete global variable.
384 (gdb_disassembly): Make "di" non static, always initialize and
385 cleanup. Always use dis_asm_read_memory.
386 (gdb_dis_asm_read_memory): Delete function.
387
6ae2f580
AC
3882003-05-01 Andrew Cagney <cagney@redhat.com>
389
390 * d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
391 (d10v_gdbarch_init): Set frame_align instead of stack_align.
392
810ecf9f
AC
3932003-04-30 Andrew Cagney <cagney@redhat.com>
394
395 * gdbarch.sh (deprecated_tm_print_insn_info): Rename
396 "tm_print_insn_info".
397 (TARGET_PRINT_INSN_INFO): Delete macro.
398 (dis_asm_read_memory): Delete function declaration.
399 (dis_asm_memory_error, dis_asm_print_address): Ditto.
400 (tm_print_insn_info): Delete variable definition.
401 (_initialize_gdbarch): Do not initialize "tm_print_insn_info".
402 * gdbarch.h, gdbarch.c: Re-generate.
403 * d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
404 "deprecated_tm_print_insn_info".
405 * mcore-tdep.c (mcore_dump_insn): Ditto.
406 * mips-tdep.c (mips_gdbarch_init): Ditto.
407 * sparc-tdep.c (_initialize_sparc_tdep): Ditto.
408 * v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
409 * ia64-tdep.c (_initialize_ia64_tdep): Ditto.
410 * printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
411 instead of TARGET_PRINT_INSN_INFO, add comment.
412 * s390-tdep.c (s390_get_frame_info): Instead of
413 "dis_asm_read_memory", use "deprecated_tm_print_insn_info".
414 (s390_check_function_end, s390_is_sigreturn): Ditto.
415 * corefile.c (dis_asm_read_memory): Move to "disasm.c".
416 (dis_asm_memory_error, dis_asm_print_address): Ditto.
417 * disasm.c: Include "gdbcore.h".
418 (_initialize_disasm): New function, initialize
419 "deprecated_tm_print_insn_info".
420 (deprecated_tm_print_insn_info): New variable.
421 (dis_asm_read_memory): Moved from "corefile.c", made static.
422 (dis_asm_print_address, dis_asm_memory_error): Ditto.
423 * Makefile.in (disasm.o): Update dependencies.
424
07020390
AC
4252003-04-30 Andrew Cagney <cagney@redhat.com>
426
427 * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
428
a9fa03de
AF
4292003-04-29 Adam Fedor <fedor@gnu.org>
430
431 * eval.c (evaluate_subexp_standard): Handle ObjC ops.
432 * infcall.c (find_function_addr): Make non-static.
433 * infcall.h (find_function_addr): Declare.
434 * Makefile.in (eval.o): Update dependencies.
435
1bae87b9
AF
4362003-04-28 Adam Fedor <fedor@gnu.org>
437
438 * symtab.c (symbol_find_demangled_name): Check for and demangle
439 ObjC symbols.
440 (symbol_init_demangled_name): Init for language_objc as well.
441
0ba6dca9
AC
4422003-04-28 Andrew Cagney <cagney@redhat.com>
443
444 * gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
445 (DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
446 * gdbarch.h, gdbarch.c: Re-generate.
447 * infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
448 DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
449 * inferior.h (deprecated_read_fp): Rename read_fp.
450 (generic_target_read_fp): Delete declaration.
451 * regcache.c (generic_target_read_fp): Delete function.
452 (deprecated_read_fp): Replace read_fp, use
453 DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
454 * d10v-tdep.c (d10v_read_fp): Delete function.
455 (d10v_gdbarch_init): Do not set deprecated_read_fp.
456
457 * sparc-tdep.c (sparc_gdbarch_init): Do not set
458 deprecated_target_read_fp to generic_target_read_fp.
459 * sh-tdep.c (sh_gdbarch_init): Ditto.
460 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
461 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
462 * frv-tdep.c (frv_gdbarch_init): Ditto.
463
464 * xstormy16-tdep.c (xstormy16_gdbarch_init): Set
465 deprecated_fp_regnum.
466 * x86-64-tdep.c (x86_64_init_abi): Ditto.
467 * vax-tdep.c (vax_gdbarch_init): Ditto.
468 * v850-tdep.c (v850_gdbarch_init): Ditto.
469 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
470 * sh-tdep.c (sh_gdbarch_init): Ditto.
471 * s390-tdep.c (s390_gdbarch_init): Ditto.
472 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
473 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
474 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
475 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
476 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
477 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
478 * i386-tdep.c (i386_gdbarch_init): Ditto.
479 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
480 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
481 * frv-tdep.c (frv_gdbarch_init): Ditto.
482 * cris-tdep.c (cris_gdbarch_init): Ditto.
483 * avr-tdep.c (avr_gdbarch_init): Ditto.
484 * arm-tdep.c (arm_gdbarch_init): Ditto.
485 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
486
487 * x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
488 * v850-tdep.c (v850_gdbarch_init): Ditto.
489 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
490 * sh-tdep.c (sh_gdbarch_init): Ditto.
491 * s390-tdep.c (s390_gdbarch_init): Ditto.
492 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
493 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
494 * mips-tdep.c (mips_gdbarch_init): Ditto.
495 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
496 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
497 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
498 * frv-tdep.c (frv_gdbarch_init): Ditto.
499 * avr-tdep.c (avr_gdbarch_init): Ditto.
500 * arm-tdep.c (arm_gdbarch_init): Ditto.
501
502 * vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
503 DEPRECATED_FP_REGNUM.
504 (vax_push_dummy_frame, vax_pop_frame): Ditto.
505 * std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
506 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
507 (sparc_push_dummy_frame, sparc64_read_fp): Ditto.
508 (sparc32_register_virtual_type): Ditto.
509 * sh-tdep.c (sh64_frame_chain): Ditto.
510 (sh64_get_saved_register, sh64_pop_frame): Ditto.
511 (sh_nofp_frame_init_saved_regs): Ditto.
512 (sh64_nofp_frame_init_saved_regs): Ditto.
513 (sh_fp_frame_init_saved_regs): Ditto.
514 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
515 * remote-e7000.c (fetch_regs_from_dump): Ditto.
516 * procfs.c (procfs_fetch_registers): Ditto.
517 (procfs_store_registers): Ditto.
518 * ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
519 (store_inferior_registers, fetch_core_registers): Ditto.
520 (fetch_kcore_registers, clear_regs): Ditto.
521 * ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
522 (ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
523 * nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
524 * nlm/i386.c (do_status): Ditto.
525 * mipsv4-nat.c (supply_gregset): Ditto.
526 * mips-tdep.c: Ditto for comments.
527 * mips-nat.c (fetch_inferior_registers): Ditto.
528 (store_inferior_registers, fetch_core_registers): Ditto.
529 * m68k-tdep.c (m68k_push_dummy_frame): Ditto.
530 (m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
531 * i386-tdep.c (i386_frame_init_saved_regs): Ditto.
532 (i386_do_pop_frame, i386_register_type): Ditto.
533 * hppa-tdep.c (hppa_frame_chain): Ditto.
534 (hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
535 (hppa_pop_frame, hppa_read_fp): Ditto.
536 (skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
537 * cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
538 * config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
539 * config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
540 * config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
541 * config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
542 * config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
543 * config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
544 * blockframe.c: Ditto for comments.
545 * arch-utils.h: Ditto for comments.
546 * arch-utils.c (legacy_virtual_frame_pointer): Ditto.
547 * alphanbsd-tdep.c (fetch_core_registers): Ditto.
548 * alphabsd-nat.c (fetch_inferior_registers): Ditto.
549 * alpha-tdep.h: Ditto for comments.
550 * alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
551 (alpha_cannot_store_register): Ditto.
552 (alpha_push_dummy_frame): Ditto.
553 * alpha-nat.c (supply_gregset): Ditto.
554
555 * config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
556 * config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
557 * config/sparc/tm-sparc.h: Update comment.
558
559 * hppa-tdep.c (hppa_init_extra_frame_info): Use
560 deprecated_read_fp instead of TARGET_READ_FP.
561 (hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
562 (hppa_push_dummy_frame, hppa_read_fp): Ditto.
563 * sparc-tdep.c (sparc_init_extra_frame_info): Use
564 deprecated_read_fp instead of read_fp.
565 * s390-tdep.c (s390_push_arguments): Ditto.
566 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
567 * frame.h: Ditto in comments.
568 * frame.c (legacy_get_prev_frame): Ditto.
569 * dummy-frame.c (dummy_frame_this_id): Ditto.
570 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
571
d7a27068
AC
5722003-04-28 Andrew Cagney <cagney@redhat.com>
573
574 * gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
575 * gdbarch.h, gdbarch.c: Re-generate.
576 * xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
577 * vax-tdep.c (_initialize_vax_tdep): Update.
578 * v850-tdep.c (_initialize_v850_tdep): Update.
579 * sparc-tdep.c (_initialize_sparc_tdep): Update.
580 * s390-tdep.c (_initialize_s390_tdep): Update.
581 * ns32k-tdep.c (_initialize_ns32k_tdep): Update.
582 * mn10300-tdep.c (_initialize_mn10300_tdep): Update.
583 * mips-tdep.c (_initialize_mips_tdep): Update.
584 * mcore-tdep.c (_initialize_mcore_tdep): Update.
585 * m68k-tdep.c (_initialize_m68k_tdep): Update.
586 * ia64-tdep.c (_initialize_ia64_tdep): Update.
587 * hppa-tdep.c (_initialize_hppa_tdep): Update.
588 * h8300-tdep.c (_initialize_h8300_tdep): Update.
589 * frv-tdep.c (_initialize_frv_tdep): Update.
590 * cris-tdep.c (cris_delayed_get_disassembler): Update.
591 (_initialize_cris_tdep): Update.
592 * arch-utils.c (legacy_print_insn): Update.
593 * alpha-tdep.c (_initialize_alpha_tdep): Update.
594
d2630e69
AF
5952003-04-26 Adam Fedor <fedor@gnu.org>
596
597 * linespec.c (decode_objc): New function to decode ObjC calls
598 (decode_line_1): Check for ObjC calls (using decode_objc)
599 * Makefile (linespec.o): Update dependencies.
600
3086aeae
DJ
6012003-04-26 Daniel Jacobowitz <drow@mvista.com>
602
603 * breakpoint.h (struct breakpoint_ops): New.
604 (struct breakpoint): Add ops member.
605
606 * breakpoint.c (print_bp_stop_message, print_one_breakpoint)
607 (mention): Use new breakpoint ops member.
608 (set_raw_breakpoint): Initialize ops field to NULL.
609 (print_exception_catchpoint, print_one_exception_catchpoint)
610 (print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
611 (gnu_v3_exception_catchpoint_ops): New.
612 (catch_exception_command_1): Call handle_gnu_v3_exceptions.
613
1fbec6c3
AF
6142003-04-25 Adam Fedor <fedor@gnu.org>
615
616 * Makefile.in (COMMON_OBS): Add objc-lang.o
617
0ef21242
AC
6182003-04-25 Andrew Cagney <cagney@redhat.com>
619
620 * d10v-tdep.c (print_insn): Delete function.
621 (display_trace): Use TARGET_PRINT_INSN.
622 (_initialize_d10v_tdep): Do not set tm_print_insn.
623 (d10v_gdbarch_init): Set print_insn.
624
f75493ed
AC
6252003-04-25 Andrew Cagney <cagney@redhat.com>
626
627 * d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
628 (_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
629 (d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
630 (NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
631 (nr_dmap_regs, a0_regnum): ... new functions.
632 (d10v_print_registers_info): Use a0_regnum, use register_size.
633 (d10v_register_byte): Delete function.
634 (d10v_register_raw_size): Delete function.
635 (d10v_register_type): Use a0_regnum.
636 (d10v_print_registers_info): Use a0_regnum.
637 (D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
638 (d10v_gdbarch_init): Do not set register_byte or
639 register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
640 (d10v_pointer_to_address): Use extract_unsigned_integer instead of
641 extract_address.
642 (trace_command): Use XCALLOC.
643 (print_insn): Delete reference to tm_print_insn.
644 (saved_regs_unwinder): Use store_unsigned_integer instead of
645 store_address.
646 * frame.h (FRAME_OBSTACK_CALLOC): Define
647
2202b100
DC
6482003-04-25 David Carlton <carlton@bactrian.org>
649
650 * config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
651
4e45ca2e
AF
6522003-04-24 Adam Fedor <fedor@gnu.org>
653
654 * objc-lang.c: Include "valprint.h"
655 * Makefile.in (objc-lang.o): Update dependencies.
656
93de3e7f
AF
6572003-04-24 Adam Fedor <fedor@gnu.org>
658
659 * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
660 architecture dependant compilation and mark as unimplemented
661 (until they get put in the gdbarch vector).
662
0f20eeea
DC
6632003-04-23 David Carlton <carlton@bactrian.org>
664
665 * cp-support.c (cp_find_first_component): Accept 'operator' in
666 more locations.
667
74cfe982
AC
6682003-04-23 Andrew Cagney <cagney@redhat.com>
669
670 * infcall.c (call_function_by_hand): Eliminate redundant
671 indentation. Move "saved_async" and "old_cleanups" to where they
672 are needed.
673
52557533
AC
6742003-04-23 Andrew Cagney <cagney@redhat.com>
675
676 * infcall.c (call_function_by_hand): Eliminate the variables "rc"
677 and "buffer". Move the "name" code to where it is needed.
678
158775de
AC
6792003-04-23 Andrew Cagney <cagney@redhat.com>
680
681 * infcall.c (call_function_by_hand): Move variables "start_sp",
682 "dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
683 code to ON_STACK switch branch.
684
ebc7896c
AC
6852003-04-23 Andrew Cagney <cagney@redhat.com>
686
687 * infcall.c (call_function_by_hand): Make declaration of "i",
688 "sal", "bpt" and "old_sp" more local to their use. Delete #if
689 lint.
690
d727590f
AC
6912003-04-23 Andrew Cagney <cagney@redhat.com>
692
693 * infcall.c (call_function_by_hand): Delete variable
694 "n_method_args". Localize "param_type"'s declaration to the loop
695 that it is used. Reinstate code assigning to said variable -
696 deleted on 2002-06-14. Rationalize calls to value_args_coerce.
697 Rationalize code using "param_type".
698
d585e13a
AC
6992003-04-22 Andrew Cagney <cagney@redhat.com>
700
701 * infcall.c (call_function_by_hand): Use new variable "bp_addr" to
702 compute the breakpoint address. Only call FIX_CALL_DUMMY when
703 ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
704 to DEPRECATED_PUSH_RETURN_ADDRESS.
705
051caad9
KB
7062003-04-22 Kevin Buettner <kevinb@redhat.com>
707
708 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
709 on the DWARF2 register number prior to fetching a register.
710
77296879
JB
7112003-04-22 J. Brobecker <brobecker@gnat.com>
712
713 * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
714 Update all the tests using SOFT_FLOAT considering the fact that
715 this macro was always set to 0.
716 * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
717 considering the fact that this macro was always set to 0.
718 * hppa-tdep.h (hppa_store_return_value): Likewise.
719 (hppa_extract_return_value): Likewise.
720
4252f1df
JB
7212003-04-22 J. Brobecker <brobecker@gnat.com>
722
723 * config/pa/tm-hppa.h: Remove obsolete code, was used by
724 the hppa-pro target only.
725
14604c6b
JB
7262003-04-21 J. Brobecker <brobecker@gnat.com>
727
728 Ongoing multi-arch conversion effort for HP/UX:
729 * config/pa/tm-hppa.h: Move all macro that are no longer
730 defined now that GDB_MULTI_ARCH is now set to 1 from here...
731 * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
732
77eb01d1
JB
7332003-04-21 J. Brobecker <brobecker@gnat.com>
734
735 * config/pa/tm-hppa.h: Obsolete a section that was only used
736 for hppa-pro.
737
61995b3b
JB
7382003-04-21 J. Brobecker <brobecker@gnat.com>
739
740 Ongoing multi-arch conversion for HP/UX.
741 * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
742 if already defined (allows hppa64 to stay non-multiarched for now).
743 * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
744
4aa79dcc
AC
7452003-04-21 Andrew Cagney <cagney@redhat.com>
746
747 * frame.c (frame_id_eq): Fail when the code_addr's do not match.
748
0f751ff2
AC
7492003-04-21 Andrew Cagney <cagney@redhat.com>
750
751 * i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
752 "i386_num_mmx_regs".
753
04714b91
AC
7542003-04-21 Andrew Cagney <cagney@redhat.com>
755
756 * infcall.c: New file.
757 * infcall.h: New file.
758 * valarith.c: Include "infcall.h".
759 * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
760 * eval.c, ada-valprint.c, ada-lang.c: Ditto.
761 * Makefile.in (valarith.o, scm-lang.o): Update dependencies.
762 (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
763 (eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
764 (SFILES): Add "infcall.c"
765 (COMMON_OBS): Add "infcall.o".
766 (infcall.o): Specify dependencies.
767 * value.h (call_function_by_hand): Delete declaration.
768 * inferior.h (run_stack_dummy): Delete declaration.
769 * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
770 (run_stack_dummy): Move to "infcall.c", merged into
771 call_function_by_hand.
772 * valops.c (call_function_by_hand): Moved to "infcall.c".
773 (find_function_addr, value_arg_coerce): Ditto.
774 (unwindonsignal_p, coerce_float_to_double): Ditto.
775 (_initialize_valops): Move "set/show coerce-float-to-double", and
776 "set/show unwindonsignal" commands to "infcall.c".
777 * v850-tdep.c, target.h: Update comments.
778 * sparc-tdep.c (sparc_fix_call_dummy): Update comments.
779 * sh-tdep.c (sh_init_extra_frame_info): Update comments.
780 (sh64_init_extra_frame_info): Update comments.
781 * mn10300-tdep.c: Update comments.
782 * mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
783 * config/sparc/tm-sparc.h: Update comments.
784 * breakpoint.h: Update comments.
785 * avr-tdep.c (avr_init_extra_frame_info): Update comments.
786 * arm-tdep.c: Update comment.
787
f9d3c2a8
MK
7882003-04-19 Mark Kettenis <kettenis@gnu.org>
789
c40e1eab
MK
790 * i386-tdep.c (i386_num_register_names): New variable.
791 (i386_num_mmx_regs): Renamed from mmx_num_regs.
792 (MM0_REGNUM): Remove redundant parentheses in define.
793 (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
794 (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
795 i386_mxcsr_regnum_p): Remove redundant parentheses.
796 (i386_register_name): Use i386_num_register_names.
797
94ea66b3
MK
798 * i386-tdep.c (i386_extract_return_value,
799 i386_store_return_value): Correct check for availability of
800 floating-point registers.
801
54299a1d
MK
802 * i386-tdep.c (i386_frame_num_args): Remove function.
803 (i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
804
c86c27af
MK
805 * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
806 mmx_regnum_to_fp_regnum. Adjust all callers.
807
f9d3c2a8
MK
808 * i386-tdep.c (i386_get_longjmp_target): Use
809 TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
810 and TARGET_CHAR_BIT. Use extract_typed_address instead of
811 extract_address.
812
94ba74a9
MK
8132003-04-19 Mark Kettenis <kettenis@gnu.org>
814
815 * core-regset.c: Update comments to reflect reality. Re-order
816 includes.
817 (fetch_core_registers): Use switch instead of if. Remove
818 redundant prototype.
819
4074e13c
JB
8202003-04-18 Jim Blandy <jimb@redhat.com>
821
822 * s390-tdep.c (s390_frame_align): New function.
823 (s390_gdbarch_init): Register it with the gdbarch object.
824
e3ab4aba
RH
8252003-04-17 Richard Henderson <rth@redhat.com>
826
827 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.
828
627bf7c1
EZ
8292003-04-17 Michael Snyder <msnyder@redhat.com>
830 Karen Bennet <bennet@redhat.com>
831
832 Committed by Elena Zannoni <ezannoni@redhat.com>
833 * gdb_gcore.sh: New script to create a core dump of a process.
834
514621a9
EZ
8352003-04-17 Elena Zannoni <ezannoni@redhat.com>
836
837 * values.c (value_being_returned): Don't fetch the return
838 value if the return type is void.
839
b4acd559
JJ
8402003-04-17 Jeff Johnston <jjohnstn@redhat.com>
841
842 * thread-db.c: Reindented.
843
530b167e
JJ
8442003-04-17 Jeff Johnston <jjohnstn@redhat.com>
845
846 * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
847 td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
848 as types.
849
ab9fe00e
KB
8502003-04-16 Kevin Buettner <kevinb@redhat.com>
851
610a3745 852 * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
ab9fe00e
KB
853 the size of ``long double'' to 16, instead of 8.
854
e64a344c
MK
8552003-04-16 Mark Kettenis <kettenis@gnu.org>
856
857 * i386-linux-nat.c: Add some whitespace to make things more
858 readable.
859 (fetch_register, store_register, fetch_inferior_registers,
860 store_inferior_registers): Get rid of assignment in if-statement.
861 (store_register): Fix typo in error message.
862
25d41031
AC
8632003-04-16 Andrew Cagney <cagney@redhat.com>
864
865 * utils.c (xmmalloc): Always allocate something, matches
866 libiberty/xmalloc's semantics.
867 (xmrealloc, xmcalloc): Ditto.
868
c50901fd
AC
8692003-04-16 Andrew Cagney <cagney@redhat.com>
870
871 * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
872 update comments.
873 (get_frame_type): Initialize unwind and type when needed.
874 (get_frame_id, frame_register_unwind): Ditto.
875
f81824a9
AC
8762003-04-16 Andrew Cagney <cagney@redhat.com>
877
878 * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
879 obsolete.
880 * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
881 * sparcl-stub.c: Obsolete file.
882 * config/sparc/tm-sparclet.h: Obsolete file.
883 * sparclet-stub.c: Obsolete file.
884 * sparclet-rom.c: Obsolete file.
885 * sparcl-tdep.c: Obsolete file.
886 * config/sparc/tm-sparclite.h: Obsolete file.
887 * config/sparc/sparclite.mt: Obsolete file.
888 * config/sparc/sparclet.mt: Obsolete file.
889 * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
890 sparc86x-*-* obsolete.
891
9219021c
DC
8922003-04-15 David Carlton <carlton@math.stanford.edu>
893
894 * Makefile.in (SFILES): Add cp-namespace.c.
895 (COMMON_OBS): Add cp-namespace.o.
896 (block.o): Depend on gdb_obstack_h and cp_support_h.
897 (buildsym.o): Depend on cp_support_h.
898 (cp-namespace.o): New.
899 (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
900 gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
901 (dwarf2read.o): Depend on cp_support_h.
902 * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
903 * dwarf2read.c (process_die): Set processing_has_namespace_info,
904 processing_current_namespace.
905 (read_namespace): Update processing_current_namespace; check for
906 anonymous namespaces.
907 (dwarf2_name): New function.
908 (dwarf2_extension): Ditto.
909 * cp-support.h: Update copyright, contributors.
910 Add inclusion guards.
911 Add opaque declaration for structs obstack, block, symbol.
912 (struct using_direct): New struct.
913 Add declarations for cp_find_first_component,
914 cp_entire_prefix_len, processing_has_namespace_info,
915 processing_current_namespace, cp_is_anonymous,
916 cp_add_using_directive, cp_initialize_namespace,
917 cp_finalize_namespace, cp_set_block_scope,
918 cp_scan_for_anonymous_namespaces.
919 * cp-namespace.c: New file.
920 * cp-support.c: Update copyright.
921 Include ctype.h, gdb_assert.h, gdbcmd.h.
922 New variable maint_cplus_cmd_list.
923 (cp_find_first_component): New function.
924 (cp_entire_prefix_len, maint_cplus_command)
925 (first_component_command, _initialize_cp_support): Ditto.
926 * buildsym.c: Include cp-support.h.
927 New variable using_list.
928 (add_symbol_to_list): Check for anonymous namespaces.
929 (finish_block): Set block's scope.
930 (start_symtab): Initialize C++ namespace support.
931 (end_symtab): Finalize C++ namespace support.
932 * block.h: Add opaque declarations for structs
933 block_namespace_info, using_direct, and obstack.
934 Add declarations for block_set_scope and block_set_using.
935 (struct block): Add 'language_specific' member.
936 (BLOCK_NAMESPACE): New macro.
937 * block.c: Include gdb_obstack.h and cp-support.h.
938 (struct block_namespace_info): New struct.
939 (block_set_scope): New function.
940 (block_set_using, block_initialize_namespace): Ditto.
941
d5a921c9
KB
9422003-04-14 Kevin Buettner <kevinb@redhat.com>
943
944 * solib-svr4.c (svr4_have_link_map_offsets): New function.
945 (locate_base): Return early if there aren't any link map offsets.
946 (svr4_solib_create_inferior_hook): Warn if shared library support
947 is unavailable.
948
d2a52b27
DC
9492003-04-14 David Carlton <carlton@math.stanford.edu>
950
951 * symtab.c (symbol_set_names): Add prefix when storing Java names
952 in hash table. Fix for PR java/1039.
953
980cae7a
DC
9542003-04-14 David Carlton <carlton@math.stanford.edu>
955
956 * symtab.c (symbol_set_names): Rename 'name' arg to
957 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
958 * symtab.h: Change 'name' argument in declaration of
959 symbol_set_names to 'linkage_name'.
960 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
961
e227b13c
AC
9622003-04-14 Andrew Cagney <cagney@redhat.com>
963
964 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
965 return the fully sign-extended register value.
966 (get_frame_pointer): Ditto.
967 (mips_pop_frame): Initialize "proc_desc" after checking for a
968 dummy frame.
969
36712a20
AC
9702003-04-14 Andrew Cagney <cagney@redhat.com>
971
972 * mips-tdep.c (mips_push_dummy_frame): Delete function.
973 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
974 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
975 (mips_push_register): Delete function.
976 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
977 PUSH_FP_REGNUM.
978
44ea7b70
JB
9792003-04-14 Jim Blandy <jimb@redhat.com>
980
981 * symmisc.c: #include "gdb_regex.h".
982 (maintenance_list_symtabs, maintenance_list_psymtabs): New
983 functions.
984 * maint.c (maintenance_list_command): New function.
985 (_initialize_maint_cmds): Register the above as commands.
986 * symtab.h (maintenance_list_symtabs,
987 maintenance_list_psymtabs): New declarations.
988 * cli/cli-cmds.c (maintenancelistlist): New variable.
989 (init_cmd_lists): Initialize it.
990 * cli/cli-cmds.h (maintenancelistlist): New declaration.
991 * gdbcmd.h (maintenancelistlist): New declaration.
992 * Makefile.in (symmisc.o): Update dependencies.
993
2d0c7962
EZ
9942003-04-14 Elena Zannoni <ezannoni@redhat.com>
995
996 * s390-nat.c: Include asm/types.h for addr_t.
997
1947a811
CV
9982003-04-14 Corinna Vinschen <vinschen@redhat.com>
999
1000 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
1001 actually incoming type.
1002
adb616d7
AC
10032003-04-13 Andrew Cagney <cagney@redhat.com>
1004
1005 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
1006 get_next_frame and get_frame_saved_regs.
1007
9b5e151c
AC
10082003-04-13 Andrew Cagney <cagney@redhat.com>
1009
1010 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
1011 of gdbarch_num_regs.
1012
ef6e7e13
AC
10132003-04-13 Andrew Cagney <cagney@redhat.com>
1014
1015 * frame.h: Mention what replaced what in "struct frame_info".
1016 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
1017 deprecated_update_frame_base_hack and
1018 deprecated_update_frame_pc_hack.
1019 * hppa-tdep.c: Ditto.
1020
61fbb938
DJ
10212003-04-13 Daniel Jacobowitz <drow@mvista.com>
1022
1023 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
1024 to read_reg and update its comment. Remove regnum member.
1025 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
1026 Don't call read_reg when setting in_reg. Call read_reg to get
1027 the frame base if it's in a register. Return the register number
1028 on the stack instead of in the context. Remove extra arguments
1029 to read_reg.
1030 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
1031 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
1032 the register number on the expression stack.
1033 (needs_frame_read_reg): Remove extra arguments.
1034
0d53c4c4
DJ
10352003-04-13 Daniel Jacobowitz <drow@mvista.com>
1036
1037 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
1038 made non-static.
1039 (execute_stack_op): All callers updated.
1040 * dwarf2expr.h: Add prototype for dwarf2_read_address.
1041 * dwarf2loc.c (find_location_expression): New function.
1042 (dwarf_expr_frame_base): Call it.
1043 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
1044 (dwarf2_tracepoint_var_ref): New function, broken out from
1045 locexpr_tracepoint_var_ref.
1046 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
1047 Make static.
1048 (loclist_read_variable, loclist_read_needs_frame): New functions.
1049 (loclist_describe_location, loclist_tracepoint_var_ref): New
1050 functions.
1051 (dwarf2_loclist_funcs): New struct location_funcs.
1052 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
1053 (struct dwarf2_locexpr_baton): Add comments.
1054 (dwarf2_loclist_funcs): New extern.
1055 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
1056 base_address and base_known.
1057 (dwarf_loc_buffer): New variable.
1058 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
1059 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
1060 (dwarf2_has_info): Initialize dwarf_loc_offset.
1061 (dwarf2_build_psymtabs): Read in .debug_loc.
1062 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
1063 DWARF_LOC_SIZE.
1064 (psymtab_to_symtab_1): Likewise. Move base address calculation
1065 here, from...
1066 (dwarf2_get_pc_bounds): ... here. Use the base address from
1067 cu_header.
1068 (dwarf2_symbol_mark_computed): Handle location lists.
1069
6aca59a3
DJ
10702003-04-13 Daniel Jacobowitz <drow@mvista.com>
1071
1072 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
1073 if the linkage name demangled successfully.
1074
aca1fcd0
MK
10752003-04-13 Mark Kettenis <kettenis@gnu.org>
1076
97095916
MK
1077 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
1078 disassmbly_flavour): Removed.
1079
aca1fcd0
MK
1080 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
1081
562a961f
MK
10822003-04-13 Mark Kettenis <kettenis@gnu.org>
1083
1084 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
1085
bd013d54
AC
10862003-04-12 Andrew Cagney <cagney@redhat.com>
1087
1088 * frame.h (struct frame_info): Move definition from here ...
1089 * frame.c (struct frame_info): ... to here.
1090
167ef8b1
AC
10912003-04-12 Andrew Cagney <cagney@redhat.com>
1092
1093 * gdbthread.h (save_infrun_state): Delete parameter
1094 "prev_func_start".
1095 (struct thread_info): Delete field "prev_func_start".
1096 (load_infrun_state): Ditto.
1097 * thread.c (load_infrun_state, save_infrun_state): Update.
1098 * infrun.c (prev_func_start): Delete variable.
1099 (context_switch, init_wait_for_inferior): Update.
1100 (stop_stepping, keep_going): Update.
1101
da3331ec
AC
11022003-04-12 Andrew Cagney <cagney@redhat.com>
1103
1104 * gdbarch.sh: Add missing opaque declarations.
1105 * gdbarch.h: Regnerate.
1106 * symtab.h: Add missing opaque declarations.
1107 * value.h, target.h, symfile.h, stabsread.h: Ditto.
1108 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
1109 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
1110 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
1111 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
1112 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
1113 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
1114 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
1115 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
1116 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
1117 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
1118 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
1119 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
1120
18adea3f
AC
11212003-04-11 Andrew Cagney <cagney@redhat.com>
1122
1123 * frame.c (get_frame_id): Return this frame's "id".
1124 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
1125 function start.
1126 (legacy_saved_regs_this_id): Replace function body with
1127 internal-error.
1128 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
1129 FRAME_OBSTACK_ZALLOC.
1130 (create_new_frame): Mark the frame ID as valid.
1131
2252e863
AO
11322003-04-11 Alexandre Oliva <aoliva@redhat.com>
1133
1134 * Makefile.in (libbfd_h): Added missing setting.
1135 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
1136 according to the selected ABI.
1137
a8245ab8
JJ
11382003-04-11 Jeff Johnston <jjohnstn@redhat.com>
1139
1140 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
1141
6913c89a
AC
11422003-04-11 Andrew Cagney <cagney@redhat.com>
1143
1144 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
1145 SAVED_PC_AFTER_CALL.
1146 * gdbarch.h, gdbarch.c: Regenerate.
1147 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1148 * x86-64-tdep.c (x86_64_init_abi): Update.
1149 * vax-tdep.c (vax_gdbarch_init): Update.
1150 * v850-tdep.c (v850_gdbarch_init): Update.
1151 * sparc-tdep.c (sparc_gdbarch_init): Update.
1152 * sh-tdep.c (sh_gdbarch_init): Update.
1153 * s390-tdep.c (s390_gdbarch_init): Update.
1154 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1155 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1156 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1157 * mips-tdep.c (mips_gdbarch_init): Update.
1158 * mcore-tdep.c (mcore_gdbarch_init): Update.
1159 * m68k-tdep.c (m68k_gdbarch_init): Update.
1160 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1161 * ia64-tdep.c (ia64_gdbarch_init): Update.
1162 (ia64_saved_pc_after_call): Update declaration.
1163 * i386ly-tdep.c (i386lynx_init_abi): Update.
1164 * i386-tdep.c (i386_gdbarch_init): Update.
1165 * hppa-tdep.c (hppa_gdbarch_init): Update.
1166 * h8300-tdep.c (h8300_gdbarch_init): Update.
1167 * frv-tdep.c (frv_gdbarch_init): Update.
1168 * cris-tdep.c (cris_gdbarch_init): Update.
1169 * avr-tdep.c (avr_gdbarch_init): Update.
1170 * arm-tdep.c (arm_gdbarch_init): Update.
1171 * alpha-tdep.c (alpha_gdbarch_init): Update.
1172 * ns32knbsd-nat.c (frame_num_args): Update.
1173 * ns32k-tdep.c (umax_frame_num_args): Update.
1174 * mips-tdep.c (mips_init_frame_pc_first): Update.
1175 * infrun.c (step_over_function): Update.
1176 * i386-linux-tdep.c (skip_hurd_resolver): Update.
1177 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
1178 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
1179 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1180 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1181 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
1182 * arm-linux-tdep.c (skip_hurd_resolver): Update.
1183 * arch-utils.c (init_frame_pc_default): Update.
1184 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1185 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
1186 declaration.
1187
38edeab8
AC
11882003-04-11 Andrew Cagney <cagney@redhat.com>
1189
1190 * i387-tdep.c: Update copyright.
1191 (i387_to_double): Delete function.
1192 (double_to_i387): Delete function.
1193
81f8a206
AC
11942003-04-10 Andrew Cagney <cagney@redhat.com>
1195
1196 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
1197 frame's function's address. Simplify.
1198 (d10v_frame_unwind_cache): Check that the frame's function is
1199 non-zero.
1200
6e691f7a
JB
12012003-04-10 Jim Blandy <jimb@redhat.com>
1202
1203 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
1204 call to set_gdbarch_deprecated_push_arguments.
1205
7f78e237
AC
12062003-04-10 Andrew Cagney <cagney@redhat.com>
1207
1208 * frame.c (fprint_frame_id): New function.
1209 (fprint_frame_type, fprint_frame): New function.
1210 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
1211 (create_sentinel_frame, get_frame_id): Ditto.
1212 (frame_id_p, frame_id_eq): Ditto.
1213 (frame_id_inner, create_new_frame): Ditto.
1214 (legacy_get_prev_frame, get_prev_frame): Ditto.
1215 (deprecated_update_frame_pc_hack): Ditto.
1216 (frame_register_unwind): Ditto.
1217 (deprecated_update_frame_base_hack): Ditto.
1218
f870b49b
CV
12192003-04-10 Corinna Vinschen <vinschen@redhat.com>
1220
1221 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
1222 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
1223 frame_chain function.
1224 * Makefile.in: Add dependencies due to above change.
1225
7c86889b
CV
12262003-04-10 Corinna Vinschen <vinschen@redhat.com>
1227
1228 * blockframe.c (legacy_frame_chain_valid): Move call to
1229 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
1230 inside_entry_file.
1231
d0a55772
AC
12322003-04-09 Andrew Cagney <cagney@redhat.com>
1233
1234 * frame.h (struct frame_id): Replace "pc" and "base" with
1235 "stack_addr" and "code_addr". Update comments.
1236 (frame_id_build): Update parameter names and comment.
1237 (struct frame_info): Replace "id_p" and "id" with "this_id".
1238 * dummy-frame.c (dummy_frame_this_id): Update.
1239 * breakpoint.c (print_one_breakpoint): Update.
1240 * frame.c (get_frame_id): Update.
1241 (get_frame_base, frame_id_build): Update.
1242 (create_sentinel_frame, legacy_get_prev_frame): Update.
1243 (deprecated_update_frame_base_hack): Update.
1244 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
1245 (frame_id_inner): Ditto.
1246
ac16bf07
AC
12472003-04-09 Andrew Cagney <cagney@redhat.com>
1248
1249 * defs.h (gdb_print_host_address): Make "addr" parameter a
1250 pointer constant.
1251 * utils.c (gdb_print_host_address): Update.
1252
366cfc9e
KB
12532003-04-09 Kevin Buettner <kevinb@redhat.com>
1254
1255 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
1256 register number for R0 is 0.
1257
cd983b5c
JB
12582003-04-09 J. Brobecker <brobecker@gnat.com>
1259
1260 * frame.h (struct gdbarch): Add opaque structure definition
1261 to avoid a compilation warning on LynxOS 4.0.
1262
d1340264
AC
12632003-04-09 Andrew Cagney <cagney@redhat.com>
1264
1265 * frame.h (struct frame_info): Delete field "pc". Replace
1266 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
1267 structure.
1268 * frame.c (frame_pc_unwind): Update.
1269 (create_sentinel_frame): Do not set "pc".
1270 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
1271 (get_frame_pc): Call frame_pc_unwind.
1272 (deprecated_update_frame_pc_hack): Update.
1273 (create_new_frame): Use "pc" not "->pc".
1274
90a6fffb
AC
12752003-04-09 Andrew Cagney <cagney@redhat.com>
1276
1277 * frame.c (get_frame_id): Eliminate code updating "frame".
1278 (legacy_get_prev_frame): Ditto.
1279 (get_frame_base): Return id.base directly.
1280 (deprecated_update_frame_base_hack): Update "id.base".
1281 * frame.h (struct frame_info): Delete field "frame".
1282
2fbce691
AC
12832003-04-09 Andrew Cagney <cagney@redhat.com>
1284
1285 * NEWS: Mention that the "Sequent family" is obsolete.
1286 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
1287 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
1288 * configure.host: Obsolete i[3456]86-sequent-bsd*,
1289 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
1290 * config/i386/tm-ptx4.h: Obsolete file.
1291 * config/i386/tm-ptx.h: Obsolete file.
1292 * symm-tdep.c: Obsolete file.
1293 * config/i386/symmetry.mt: Obsolete file.
1294 * config/i386/tm-symmetry.h: Obsolete file.
1295 * symm-nat.c: Obsolete file.
1296 * config/i386/nm-symmetry.h: Obsolete file.
1297 * config/i386/xm-symmetry.h: Obsolete file.
1298 * config/i386/symmetry.mh: Obsolete file.
1299 * config/i386/nm-ptx4.h: Obsolete file.
1300 * config/i386/ptx4.mh: Obsolete file.
1301 * config/i386/ptx.mt: Obsolete file.
1302 * config/i386/ptx.mh: Obsolete file.
1303 * config/i386/xm-ptx4.h: Obsolete file.
1304 * config/i386/xm-ptx.h: Obsolete file.
1305
78c43945
AC
13062003-04-09 Andrew Cagney <cagney@redhat.com>
1307
1308 Obsolete mips*-*-mach3*.
1309 * NEWS: Mention that mips*-*-mach3* is obsolete.
1310 * m3-nat.c: Obsolete file.
1311 * config/nm-m3.h: Obsolete file.
1312 * config/mips/tm-mipsm3.h: Obsolete file.
1313 * config/mips/mipsm3.mt: Obsolete file.
1314 * config/mips/mipsm3.mh: Obsolete file.
1315 * config/mips/xm-mipsm3.h: Obsolete file.
1316 * mipsm3-nat.c: Obsolete file.
1317 * configure.host: Obsolete mips-dec-mach3*.
1318 * configure.tgt: Obsolete mips*-*-mach3*.
1319
f1908289
AC
13202003-04-09 Andrew Cagney <cagney@redhat.com>
1321
1322 * doublest.h: Update copyright.
1323 (deprecated_store_floating, deprecated_extract_floating): Rename
1324 store_floating and extract_floating. Update comments.
1325 * doublest.c: Update copyright.
1326 (extract_floating_by_length): Replace extract_floating.
1327 (store_floating_by_length): Replace store_floating.
1328 (deprecated_extract_floating): New function.
1329 (deprecated_store_floating): New function.
1330 (extract_typed_floating): Call extract_floating_by_length.
1331 (store_typed_floating): Call store_floating_by_length.
1332 * x86-64-tdep.c (x86_64_store_return_value): Update.
1333 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
1334 (sh64_extract_return_value): Update.
1335 (sh_sh4_register_convert_to_virtual): Update.
1336 (sh_sh64_register_convert_to_virtual): Update.
1337 (sh_sh4_register_convert_to_raw): Update.
1338 (sh_sh64_register_convert_to_raw): Update.
1339 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
1340 (rs6000_register_convert_to_raw): Update.
1341 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
1342 (ia64_register_convert_to_raw): Update.
1343 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
1344 (REGISTER_CONVERT_TO_VIRTUAL): Update.
1345 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
1346 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
1347 (alpha_register_convert_to_raw): Update.
1348
4443bd83
AC
13492003-04-08 Andrew Cagney <cagney@redhat.com>
1350
1351 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
1352 * gdbarch.h, gdbarch.c: Re-generate.
1353 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
1354 (d10v_gdbarch_init): Do not set saved_pc_after_call.
1355 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
1356 conditionally, use frame_pc_unwind as an alternative. Add
1357 comments.
1358 * arch-utils.c (init_frame_pc_default): Only call
1359 SAVED_PC_AFTER_CALL when available.
1360
c0236d92
EZ
13612003-04-08 Elena Zannoni <ezannoni@redhat.com>
1362
1363 * infrun.c (stop_soon): Rename from stop_soon_quietly.
1364 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
1365 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
1366 (start_remote): Ditto.
1367 (handle_inferior_event): Ditto.
1368 (save_inferior_status): Ditto.
1369 (restore_inferior_status): Ditto.
1370 * infcmd.c (attach_command): Ditto.
1371 * fork-child.c (startup_inferior): Ditto.
1372 * inferior.h (stop_soon): Rename from stop_soon_quietly.
1373 * alpha-tdep.c (heuristic_proc_start): Ditto.
1374 * mips-tdep.c (heuristic_proc_start): Ditto.
1375 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
1376 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
1377 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
1378 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
1379 * remote-vx.c (vx_create_inferior): Ditto.
1380
13812003-04-08 Elena Zannoni <ezannoni@redhat.com>
1382
1383 * infrun.c (stop_soon_quietly): Make it an enum, to better
1384 override the default behavior of handle_inferior_event.
1385 (clear_proceed_status): Update uses of stop_soon_quietly to
1386 reflect that it is now an enum.
1387 (start_remote): Ditto.
1388 (handle_inferior_event): Change logic a bit if stop_soon_quietly
1389 is set to handle the new GNU/Linux kernel behavior for
1390 attach/sigstop. Update uses of stop_soon_quietly.
1391 * inferior.h (enum stop_kind): New enum.
1392 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
1393 Reset normal handle_inferior_event behavior, afterwards.
1394 * fork-child.c (startup_inferior): Update.
1395 * alpha-tdep.c (heuristic_proc_start): Update.
1396 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
1397 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
1398 * solib-osf.c (osf_solib_create_inferior_hook): Update.
1399 * solib-irix.c (irix_solib_create_inferior_hook): Update.
1400 * remote-vx.c (vx_create_inferior): Update.
1401 * mips-tdep.c (heuristic_proc_start): Update.
1402
1211bce3
EZ
14032003-04-07 Elena Zannoni <ezannoni@redhat.com>
1404
1405 * disasm.c (dump_insns): Move variables inside loop, or they will
1406 be freed more than once, causing wild memory corruptions.
1407 (gdb_disassembly): Look for the substring "-thread",
1408 instead of "-threads" in the target name, to make sure to find
1409 the 'multi-thread' target. Also, make sure we do the right thing
1410 with the "core" target.
1411
f0ef6b29
KB
14122003-04-07 Kevin Buettner <kevinb@redhat.com>
1413
1414 * mips-tdep.c (mips_print_fp_register): New function, created from
1415 do_fp_register_row(). Registers are now (also) printed as hex.
1416 Only one register is printed per row.
1417 (mips_print_register, do_fp_register_row): Print floating point
1418 registers with mips_print_fp_register().
1419
8cf71652
AC
14202003-04-06 Andrew Cagney <cagney@redhat.com>
1421
5e488a7b
AC
1422 * valprint.h (inspect_it): Add extern declaration.
1423 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
1424 (selectors_info, classes_info): Ditto.
1425 (find_objc_msgcall): Fix indentation.
1426 (objc_printstr): Delete extern declarations.
1427
8cf71652
AC
1428 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
1429
e6ba3bc9
AC
14302003-04-06 Andrew Cagney <cagney@redhat.com>
1431
1432 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
1433 Update comment.
1434 * frame.c (legacy_saved_regs_this_id): Update.
1435 (legacy_get_prev_frame): Update.
1436 * xstormy16-tdep.c: Update comment.
1437 * sparc-tdep.c (sparc_frame_chain): Update comment.
1438 * blockframe.c (legacy_frame_chain_valid): Update.
1439
55e1d7e7
AC
14402003-04-06 Andrew Cagney <cagney@redhat.com>
1441
996179ee
AC
1442 * valprint.c (val_print_type_code_int): Delete #ifdef
1443 PRINT_TYPELESS_INTEGER code.
1444
55e1d7e7
AC
1445 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
1446 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
1447 multi-arch definition.
1448 * gdbarch.h: Re-generate.
1449
43bd9a9e
AC
14502003-04-05 Andrew Cagney <cagney@redhat.com>
1451
1452 Eliminate FRAME_FIND_SAVED_REGS.
1453 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
1454 Change FSR parameter to a pointer.
1455 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
1456 Assume FSR parameter is a pointer.
1457 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
1458 Make fsr a pointer.
1459 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
1460 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
1461 saved_regs a pointer.
1462 (hppa_frame_saved_pc): Ditto.
1463 (find_dummy_frame_regs): Make frame_saved_regs a pointer
1464 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
1465 pointer.
1466 (restore_pc_queue): Make fsr a pointer.
1467 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
1468 (hppa_frame_chain): Make saved_regs a pointer, call
1469 hppa_frame_init_saved_regs.
1470 * sparc-tdep.c: Include "gdb_assert.h".
1471 (sparc_frame_find_saved_regs): Replace internal_error with
1472 gdb_assert.
1473 * remote-vxsparc.c (vx_read_register): Delete reference to
1474 FRAME_FIND_SAVED_REGS.
1475 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
1476 * gdbarch.h: Regenerate.
1477 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
1478 (deprecated_get_frame_saved_regs): Delete declaration.
1479 (struct frame_saved_regs): Delete definition.
1480 * frame.c (deprecated_get_frame_saved_regs): Delete function.
1481 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
1482 (hppa_frame_find_saved_regs): Delete declaration.
1483 (FRAME_FIND_SAVED_REGS): Delete macro.
1484 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
1485 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
1486 FRAME_FIND_SAVED_REGS in comment.
1487
be41e9f4
AC
14882003-04-05 Andrew Cagney <cagney@redhat.com>
1489
1490 * frame.c (frame_func_unwind, get_frame_func): New functions.
1491 * frame.h (get_frame_func, frame_func_unwind): Declare.
1492 (struct frame_info): Add field "prev_func" for caching the
1493 previous frame's function address.
1494 * arm-tdep.c (arm_frameless_function_invocation): Combine
1495 get_pc_function_start and get_frame_pc into get_frame_func.
1496 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
1497 (sh64_nofp_frame_init_saved_regs): Ditto.
1498 * s390-tdep.c (s390_function_start): Ditto.
1499 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
1500 (rs6000_frameless_function_invocation): Ditto.
1501 (rs6000_frame_saved_pc): Ditto.
1502 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
1503 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
1504 * i386-tdep.c (i386_frameless_signal_p): Ditto.
1505 (i386_frame_init_saved_regs): Ditto.
1506 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
1507 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
1508 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
1509 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
1510 * blockframe.c (frameless_look_for_prologue): Ditto.
1511
a01dd7cc
AC
15122003-04-05 Andrew Cagney <cagney@redhat.com>
1513
1514 * frame.c (legacy_get_prev_frame): Link prev to next at the
1515 function start. Update comments.
1516
5e5592e6
AC
15172003-04-05 Andrew Cagney <cagney@redhat.com>
1518
1519 * frame.c (get_frame_id): Update comment.
1520 (legacy_get_prev_frame): Update comment.
1521 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
1522 * gdbarch.h: Regenerate.
1523 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
1524 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
1525
6fba5002
AC
15262003-04-05 Andrew Cagney <cagney@redhat.com>
1527
1528 * stack.c (print_frame_info): Use get_frame_pc.
1529
7df05f2b
AC
15302003-04-04 Andrew Cagney <cagney@redhat.com>
1531
1532 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
1533 the frame's type from the unwinder.
1534 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
1535 (create_new_frame, legacy_get_prev_frame): When the unwinder's
1536 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
1537 (get_frame_base_address): Use get_frame_type.
1538 (get_frame_locals_address, get_frame_args_address): Ditto.
1539 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
1540 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
1541 (struct frame_info): Add comment explaining why the frame contains
1542 a "type" field.
1543 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
1544 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
1545 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
1546 NORMAL_FRAME.
1547 * frame-unwind.h: Include "frame.h".
1548 (struct frame_unwind): Add "type" field.
1549 * Makefile.in (frame_unwind_h): Add $(frame_h).
1550
11889732
AC
15512003-04-04 Andrew Cagney <cagney@redhat.com>
1552
1553 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
1554 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
1555 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
1556 get_frame_base.
1557 (d10v_unwind_dummy_id): Use frame_id_build.
1558 * frame.c (find_frame_sal): Use get_frame_pc.
1559 (create_new_frame): Use deprecated_update_frame_pc_hack and
1560 deprecated_update_frame_base_hack.
1561 (create_sentinel_frame): Add comment about ->pc going away.
1562 (get_prev_frame): Add comment about ->pc going away.
1563 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
1564 frame_id_build, deprecated_update_frame_pc_hack and
1565 deprecated_update_frame_base_hack.
1566 (select_frame): Use get_frame_pc.
1567 (legacy_saved_regs_this_id): Use frame_id_build.
1568
50c46a0d
EZ
15692003-04-04 Elena Zannoni <ezannoni@redhat.com>
1570
1571 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
1572 signed integer case.
1573 (classify_argument): Handle enumerations and references.
1574
50bbdbd9
AC
15752003-04-04 Andrew Cagney <cagney@redhat.com>
1576
1577 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
1578 ID to NULL.
1579
36018d2e
AF
15802003-04-01 Adam Fedor <fedor@gnu.org>
1581
1582 * gdb/objc-lang.c (selectors_info): Replace calls to
1583 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
1584 SYMBOL_NATURAL_NAME.
1585 (classes_info, find_methods): Likewise.
1586
35cec841
KB
15872003-04-03 Kevin Buettner <kevinb@redhat.com>
1588
1589 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
1590 ``mach'' to the value determined by bfd_default_set_arch_mach().
1591
43136899
BR
15922003-04-02 Bob Rossi <bob_rossi@cox.net>
1593
1594 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
1595 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
1596 (mi-cmd-file.o): Update dependencies.
1597
040b99fd
KB
15982003-04-01 Kevin Buettner <kevinb@redhat.com>
1599
1600 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
1601 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
1602
9a3d7dfd
AF
16032003-04-01 Adam Fedor <fedor@gnu.org>
1604
1605 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
1606 * language.h (struct language_defn): Add la_demangle.
1607 (language_demangle): Declare.
1608 * language.c (language_demangle): New function.
1609 (unk_lang_demangle): Likewise.
1610 (unknown_language_defn, auto_language_defn, local_language_defn):
1611 Add ukn_lang_demangle.
1612 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
1613 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
1614 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
1615 (cplus_language_defn): Add cplus_demangle for la_demangle element.
1616 * jv-lang.c (java_demangle): New function
1617 (java_language_defn): Use it for la_demangle element.
1618 * objc-lang.c (objc_demangle): Add options argument
1619 (objc_language_defn): Use objc_demangle for la_demangle element.
1620 * maint.c (maintenance_demangle): Replace switch with
1621 call to language_demangle.
1622 * utils.c (fprintf_symbol_filtered): Likewise.
1623
5e074003
AC
16242003-04-01 Andrew Cagney <cagney@redhat.com>
1625
1626 * printcmd.c (print_frame_nameless_args): Delete #ifdef
1627 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
1628 PRINT_TYPELESS_INTEGER.
1629 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
1630 PUSH_RETURN_ADDRESS.
1631
270cb5d6
AC
16322003-04-01 Andrew Cagney <cagney@redhat.com>
1633
1634 * Makefile.in (d10v-tdep.o): Update dependencies.
1635 * d10v-tdep.c: Include "frame-base.h".
1636 (d10v_frame_unwind): Make constant.
1637 (d10v_frame_base_address): New function.
1638 (d10v_frame_base): New variable.
1639 (d10v_gdbarch_init): Set frame_base default.
1640 (struct d10v_unwind_cache): Add the field "prev_sp". Update
1641 comment for base.
1642 (d10v_frame_unwind_cache): Set and use "prev_sp".
1643 (d10v_frame_this_id): Use the previous frame's inner most stack
1644 address and this frame's func address for the frame ID. Use
1645 frame_id_build. Don't analyze beyond the current instruction.
1646
6bfb3e36
AC
16472003-04-01 Andrew Cagney <cagney@redhat.com>
1648
1649 * frame.h (get_frame_locals_address, get_frame_args_address):
1650 Refer to the base address, instead of the address of the first
1651 local or parameter.
1652
da62e633
AC
16532003-04-01 Andrew Cagney <cagney@redhat.com>
1654
1655 Add frame debug info addresses:
1656 * frame-base.c: New file.
1657 * frame-base.h: New file.
1658 * frame.h (struct frame_base): Add opaque declaration.
1659 (get_frame_base): Update comment.
1660 (get_frame_base_address): Declare.
1661 (get_frame_locals_address): Declare.
1662 (get_frame_args_address): Declare.
1663 (struct frame_info): Add "base" and "base_cache". Update
1664 comments on the unwinder.
1665 * frame.c: Include "frame-base.h".
1666 (get_frame_locals_address): New function.
1667 (get_frame_base_address): New function.
1668 (get_frame_args_address): New function.
1669 * findvar.c (read_var_value): Use get_frame_locals_address and
1670 get_frame_args_address.
1671 * stack.c (frame_info): Use get_frame_locals_address and
1672 get_frame_args_address.
1673 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
1674 moved to "frame-base.c".
1675 * printcmd.c (print_frame_nameless_args): Ditto.
1676 * symtab.h (address_class): Update comments.
1677 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
1678 get_frame_base_address.
1679 * dwarf2expr.c (execute_stack_op): Ditto.
1680 * Makefile.in (frame_base_h): Define.
1681 (frame.o): Update dependencies.
1682 (frame-base.o): Add dependencies.
1683 (SFILES): Add frame-base.c.
1684 (COMMON_OBS): Add frame-base.o.
1685
3d30e9c2
AC
16862003-04-01 Andrew Cagney <cagney@redhat.com>
1687
1688 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
1689 CALL_DUMMY_LENGTH): Ditto.
1690 * gdbarch.c: Re-generate.
1691 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
1692 (CALL_DUMMY_LENGTH): Delete macro.
1693 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
1694 * arm-tdep.c (arm_gdbarch_init): Ditto.
1695 * avr-tdep.c (avr_gdbarch_init): Ditto.
1696 * cris-tdep.c (cris_gdbarch_init): Ditto.
1697 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1698 * frv-tdep.c (frv_gdbarch_init): Ditto.
1699 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1700 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1701 * i386-tdep.c (i386_gdbarch_init): Ditto.
1702 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1703 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1704 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1705 * mips-tdep.c (mips_gdbarch_init): Ditto.
1706 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1707 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1708 * s390-tdep.c (s390_gdbarch_init): Ditto.
1709 * sh-tdep.c (sh_gdbarch_init): Ditto.
1710 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1711 * v850-tdep.c (v850_gdbarch_init): Ditto.
1712 * vax-tdep.c (vax_gdbarch_init): Ditto.
1713 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1714
ce0c7262
CV
17152003-04-01 Corinna Vinschen <vinschen@redhat.com>
1716
1717 * frame.c (get_prev_frame): Disable call to inside_entry_file().
1718
73dd234f
AC
17192003-04-01 Andrew Cagney <cagney@redhat.com>
1720
1721 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
1722 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
1723 * gdbarch.h, gdbarch.c: Re-generate.
1724 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
1725 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
1726 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
1727 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
1728 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
1729 * infcmd.c (run_stack_dummy): Simplify assuming
1730 CALL_DUMMY_BREAKPOINT_OFFSET_P.
1731 * infrun.c (handle_inferior_event): Ditto.
1732 * alpha-tdep.c (alpha_gdbarch_init): Do not set
1733 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
1734 * arm-tdep.c (arm_gdbarch_init): Ditto.
1735 * avr-tdep.c (avr_gdbarch_init): Ditto.
1736 * cris-tdep.c (cris_gdbarch_init): Ditto.
1737 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1738 * frv-tdep.c (frv_gdbarch_init): Ditto.
1739 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1740 * i386-tdep.c (i386_gdbarch_init): Ditto.
1741 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1742 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1743 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1744 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1745 * mips-tdep.c (mips_gdbarch_init): Ditto.
1746 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1747 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1748 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1749 * s390-tdep.c (s390_gdbarch_init): Ditto.
1750 * sh-tdep.c (sh_gdbarch_init): Ditto.
1751 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1752 * v850-tdep.c (v850_gdbarch_init): Ditto.
1753 * vax-tdep.c (vax_gdbarch_init): Ditto.
1754 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1755
97606a13
DJ
17562003-04-01 Daniel Jacobowitz <drow@mvista.com>
1757
1758 * symfile.c (symfile_relocate_debug_section): Update call to
1759 bfd_simple_get_relocated_section_contents.
1760
e8ab51f7
AC
17612003-03-31 Andrew Cagney <cagney@redhat.com>
1762
1763 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
1764 * gdbarch.h, gdbarch.c: Regenerate.
1765 * inferior.h (FIX_CALL_DUMMY): Delete macro.
1766 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
1767 available.
1768 * frame.h (generic_fix_call_dummy): Delete declaration.
1769 * dummy-frame.h: Update comment.
1770 * dummy-frame.c (generic_fix_call_dummy): Delete function.
1771 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1772 fix_call_dummy.
1773 * sh-tdep.c (sh_gdbarch_init): Ditto.
1774 * s390-tdep.c (s390_gdbarch_init): Ditto.
1775 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1776 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1777 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1778 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1779 * i386-tdep.c (i386_gdbarch_init): Ditto.
1780 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1781 * frv-tdep.c (frv_gdbarch_init): Ditto.
1782 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1783 * cris-tdep.c (cris_gdbarch_init): Ditto.
1784 * avr-tdep.c (avr_gdbarch_init): Ditto.
1785 * arm-tdep.c (arm_gdbarch_init): Ditto.
1786
018d1b48
JB
17872003-03-31 J. Brobecker <brobecker@gnat.com>
1788
1789 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
1790 (INIT_FRAME_AP): Likewise.
1791 (EXTRA_FRAME_INFO): Likewise.
1792
e9a2674e
AC
17932003-03-31 Andrew Cagney <cagney@redhat.com>
1794
1795 * gdbarch.sh: Include "symfile.h".
1796 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
1797 * gdbarch.h, gdbarch.c: Re-generate.
1798 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
1799 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1800 call_dummy_address, the default is at entry_point_address.
1801 * v850-tdep.c (v850_gdbarch_init): Ditto.
1802 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1803 * sh-tdep.c (sh_gdbarch_init): Ditto.
1804 * s390-tdep.c (s390_gdbarch_init): Ditto.
1805 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1806 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1807 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1808 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1809 * i386-tdep.c (i386_gdbarch_init): Ditto.
1810 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1811 * frv-tdep.c (frv_gdbarch_init): Ditto.
1812 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1813 * cris-tdep.c (cris_gdbarch_init): Ditto.
1814 * arm-tdep.c (arm_gdbarch_init): Ditto.
1815
e8a8712a
AC
18162003-03-31 Andrew Cagney <cagney@redhat.com>
1817
1818 * gdbarch.sh (CALL_DUMMY_P): Delete.
1819 * gdbarch.h, gdbarch.c: Re-generate.
1820 * inferior.h (CALL_DUMMY_P): Delete macro.
1821 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1822 * vax-tdep.c (vax_gdbarch_init): Update.
1823 * v850-tdep.c (v850_gdbarch_init): Update.
1824 * sparc-tdep.c (sparc_gdbarch_init): Update.
1825 * sh-tdep.c (sh_gdbarch_init): Update.
1826 * s390-tdep.c (s390_gdbarch_init): Update.
1827 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1828 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1829 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1830 * mips-tdep.c (mips_gdbarch_init): Update.
1831 * mcore-tdep.c (mcore_gdbarch_init): Update.
1832 * m68k-tdep.c (m68k_gdbarch_init): Update.
1833 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1834 * ia64-tdep.c (ia64_gdbarch_init): Update.
1835 * i386-tdep.c (i386_gdbarch_init): Update.
1836 * h8300-tdep.c (h8300_gdbarch_init): Update.
1837 * frv-tdep.c (frv_gdbarch_init): Update.
1838 * d10v-tdep.c (d10v_gdbarch_init): Update.
1839 * cris-tdep.c (cris_gdbarch_init): Update.
1840 * breakpoint.c (deprecated_frame_in_dummy): Update.
1841 * avr-tdep.c (avr_gdbarch_init): Update.
1842 * alpha-tdep.c (alpha_gdbarch_init): Update.
1843 * arm-tdep.c (arm_gdbarch_init): Update.
1844 * dummy-frame.c (dummy_frame_this_id): Update comments.
1845 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
1846 * frame.c (legacy_get_prev_frame): Ditto.
1847 * valops.c (call_function_by_hand): Delete function.
1848 (hand_function_call): Rename to call_function_by_hand
1849
ed234cf8
AC
18502003-03-30 Andrew Cagney <cagney@redhat.com>
1851
1852 2002-11-10 Klee Dienes <kdienes@apple.com>
1853 * value.h (struct value): Update comment.
1854
06c77151
AC
18552003-03-30 Andrew Cagney <cagney@redhat.com>
1856
6c2b5168
AC
1857 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
1858 D10V_FP_REGNUM.
1859 (d10v_gdbarch_init): Do not set fp_regnum.
1860
06c77151
AC
1861 * frame.c (get_frame_base): Force ID initialization.
1862 (get_prev_frame): Move computation of the frame ID from here ...
1863 (get_frame_id): ... to here.
1864 (legacy_get_prev_frame): Mark the frame ID as valid.
1865 * frame.h (struct frame_info): Add field "id_p".
1866
97a1a11c
MK
18672003-03-30 Mark Kettenis <kettenis@gnu.org>
1868
1869 * i386-tdep.c (i386_store_struct_return): Removed.
1870 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
1871
6c0e89ed
AC
18722003-03-30 Andrew Cagney <cagney@redhat.com>
1873
1874 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
1875 * gdbarch.h, gdbarch.c: Regenerate.
1876 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
1877 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1878 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1879 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1880 * i386-tdep.c (i386_gdbarch_init): Ditto.
1881 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1882 * cris-tdep.c (cris_gdbarch_init): Ditto.
1883 * vax-tdep.c (vax_gdbarch_init): Ditto.
1884 * s390-tdep.c (s390_gdbarch_init): Ditto.
1885 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1886 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1887 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1888 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
1889 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
1890 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
1891 * sparc-tdep.c (sparc_gdbarch_init): Update.
1892 * sh-tdep.c (sh_gdbarch_init): Update.
1893 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1894 * mips-tdep.c (mips_gdbarch_init): Update.
1895 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1896 * ia64-tdep.c (ia64_gdbarch_init): Update.
1897 * frv-tdep.c (frv_gdbarch_init): Update.
1898 * avr-tdep.c (avr_gdbarch_init): Update.
1899 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
1900 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
1901 instead of when push_dummy_call is not available.
1902
f7dd6af2
AC
19032003-03-30 Andrew Cagney <cagney@redhat.com>
1904
1905 * infttrace.c: Include "gdbthread.h".
1906 (parent_attach_all): Fix function signature.
1907 (call_ptrace): Update call.
1908 * Makefile.in (infttrace.o): Update dependencies.
1909
28f617b3
AC
19102003-03-30 Andrew Cagney <cagney@redhat.com>
1911
1912 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
1913 PUSH_RETURN_ADDRESS.
1914 * gdbarch.h, gdbarch.c: Regenerate.
1915 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1916 * x86-64-tdep.c (x86_64_init_abi): Update.
1917 * v850-tdep.c (v850_gdbarch_init): Update.
1918 * sparc-tdep.c (sparc_gdbarch_init): Update.
1919 * sh-tdep.c (sh_gdbarch_init): Update.
1920 * s390-tdep.c (s390_gdbarch_init): Update.
1921 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1922 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1923 * mips-tdep.c (mips_gdbarch_init): Update.
1924 * mcore-tdep.c (mcore_gdbarch_init): Update.
1925 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1926 * ia64-tdep.c (ia64_gdbarch_init): Update.
1927 * i386-tdep.c (i386_gdbarch_init): Update.
1928 * h8300-tdep.c (h8300_gdbarch_init): Update.
1929 * frv-tdep.c (frv_gdbarch_init): Update.
1930 * cris-tdep.c (cris_gdbarch_init): Update.
1931 * avr-tdep.c (avr_gdbarch_init): Update.
1932 * arm-tdep.c (arm_gdbarch_init): Update.
1933 * valops.c (hand_function_call): Update.
1934
4d628cd7
AC
19352003-03-29 Andrew Cagney <cagney@redhat.com>
1936
1937 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
1938 sizeof_call_dummy_words.
1939 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
1940 define.
1941 * gdbarch.h: Regenerate.
1942
65e82032
AC
19432003-03-29 Andrew Cagney <cagney@redhat.com>
1944
1945 * infttrace.h: New file.
1946 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
1947 (hpread_get_textlow): Detect an uninitialized dn_bufp.
1948 (hpread_read_doc_function_type): Detect an initialized type1.
1949 (hpread_quick_traverse): Initialize mod_name_string.
1950 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
1951 (som_solib_get_solib_by_pc): Declare.
1952 (so_lib_thread_start_addr): Declare.
1953 (no_shared_libraries): Declare.
1954 * somread.c (init_import_symbols): Make static. Add forward
1955 declaration.
1956 * config/pa/nm-hppah.h: Include "infttrace.h" for
1957 parent_attach_all.
1958 (hppa_insert_hw_watchpoint): Declare.
1959 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
1960 * hppah-nat.c: Include "gdb_string.h".
1961 (parent_attach_all): Delete extern declaration, moved to
1962 "infttrace.h".
1963 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
1964 int.
1965 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
1966 * Makefile.in (infttrace_h): Define.
1967 (hpread.o): Update dependencies.
1968 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
1969 * hppa-hpux-tdep.c: Include "gdb_string.h".
1970 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
1971 * infrun.c (handle_inferior_event): Always initialize
1972 stepped_after_stopped_by_watchpoint. Add default and remove
1973 fallthrough in switch statement.
1974 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
1975 parameter to int.
1976 (hppa_remove_hw_watchpoint): Ditto.
1977
2c3bbe77
AC
19782003-03-29 Andrew Cagney <cagney@redhat.com>
1979
1980 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
1981 offset.
1982
2dd604e7
RE
19832003-03-29 Richard Earnshaw <rearnsha@arm.com>
1984
1985 * arm-tdep.c (arm_push_arguments): Delete.
1986 (struct stack_item): New type.
1987 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
1988 (arm_store_struct_return): Delte.
1989 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
1990 arm_push_arguments or arm_store_struct_return.
1991
e8933a55
AC
19922003-03-28 Andrew Cagney <cagney@redhat.com>
1993
1994 * Makefile.in (d10v-tdep.o): Update dependencies.
1995 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
1996 * d10v-tdep.c: Include "remote.h".
1997 (target_resume_hook): Delete extern declaration.
1998 (target_wait_loop_hook): Ditto.
1999 (tdisassemble_command): Eliminate assignment in "if" conditional.
2000 (d10v_ts2_register_sim_regno): Eliminate call to
2001 legacy_register_sim_regno.
2002 (d10v_ts3_register_sim_regno): Ditto.
2003
6949171e
JJ
20042003-03-28 Jeff Johnston <jjohnstn@redhat.com>
2005
2006 * thread.c: Reindented.
2007 * lin-lwp.c: Ditto.
2008 * linux-proc.c: Ditto.
2009
98c7071f
BR
20102003-03-28 Bob Rossi <bob_rossi@cox.net>
2011
2012 * MAINTAINERS (write after approval): Add myself.
2013
5edc9ca6
TR
20142003-03-27 Theodore A. Roth <troth@openavr.org>
2015
2016 * objc-exp.y: Add missing semi-colons.
2017
378bfd1b
AC
20182003-03-27 Andrew Cagney <cagney@redhat.com>
2019
2020 * regcache.c (write_sp): Delete function and references.
2021 * inferior.h (write_sp): Delete declaration.
2022 * valops.c (hand_function_call): Replace write_sp with
2023 TARGET_WRITE_SP.
2024 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
2025 (sparc_pop_frame): Ditto.
2026
56056df7
AC
20272003-03-27 Andrew Cagney <cagney@redhat.com>
2028
2029 * NEWS: Mention removal of support for hppa*-*-bsd* and
2030 hppa*-*-osf* natives, and hppa*-*-pro* target.
2031 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
2032 * config/pa/xm-pa.h: Obsolete file.
2033 * config/pa/xm-hppab.h: Obsolete file.
2034 * config/pa/nm-hppab.h: Obsolete file.
2035 * config/pa/tm-hppab.h: Obsolete file.
2036 * config/pa/tm-hppao.h: Obsolete file.
2037 * config/pa/nm-hppao.h: Obsolete file.
2038 * config/pa/tm-pro.h: Obsolete file.
2039 * config/pa/hppaosf.mt: Obsolete file.
2040 * config/pa/hppaosf.mh: Obsolete file.
2041 * config/pa/hppapro.mt: Obsolete file.
2042 * config/pa/hppabsd.mt: Obsolete file.
2043 * config/pa/hppabsd.mh: Obsolete file.
2044 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
2045 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
2046 hppa*-*-osf*.
2047
5873a88d
AC
20482003-03-27 Andrew Cagney <cagney@redhat.com>
2049
2050 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
2051 push_arguments. Don't set push_return_address or write_sp.
2052 (d10v_push_dummy_call): Replace d10v_push_arguments.
2053 (d10v_push_return_address, d10v_write_sp): Delete function,
2054 handled by push_dummy_call.
2055
b81774d8
AC
20562003-03-26 Andrew Cagney <cagney@redhat.com>
2057
2058 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
2059 (push_dummy_call): New pure multi-arch replacement with gdbarch,
2060 regcache and dummy_addr parameters.
2061 * gdbarch.h, gdbarch.c: Re-generate.
2062 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
2063 available; assume it will handle stack alignment and return
2064 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
2065 legacy_push_arguments.
2066 (legacy_push_arguments): Rename default_push_arguments.
2067 * value.h (legacy_push_arguments): Rename default_push_arguments.
2068 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
2069 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
2070 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
2071 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
2072 * config/i386/tm-symmetry.h: Update.
2073 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2074 * x86-64-tdep.c (x86_64_init_abi): Update.
2075 * v850-tdep.c (v850_gdbarch_init): Update.
2076 * sparc-tdep.c (sparc_gdbarch_init): Update.
2077 * sh-tdep.c (sh_gdbarch_init): Update.
2078 * s390-tdep.c (s390_gdbarch_init): Update.
2079 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2080 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2081 * mips-tdep.c (mips_gdbarch_init): Update.
2082 * mcore-tdep.c (mcore_gdbarch_init): Update.
2083 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2084 * ia64-tdep.c (ia64_gdbarch_init): Update.
2085 * i386-tdep.c (i386_gdbarch_init): Update.
2086 * hppa-tdep.c (hppa_gdbarch_init): Update.
2087 * h8300-tdep.c (h8300_gdbarch_init): Update.
2088 * frv-tdep.c (frv_gdbarch_init): Update.
2089 * d10v-tdep.c (d10v_gdbarch_init): Update.
2090 * cris-tdep.c (cris_gdbarch_init): Update.
2091 * avr-tdep.c (avr_gdbarch_init): Update.
2092 * arm-tdep.c (arm_gdbarch_init): Update.
2093 * arm-linux-tdep.c (arm_linux_init_abi): Update.
2094 * alpha-tdep.c (alpha_gdbarch_init): Update.
2095
f541410f
DJ
20962003-03-26 Daniel Jacobowitz <drow@mvista.com>
2097
2098 * signals/signals.c (do_target_signal_to_host): Correct realtime
2099 signal range test.
2100
69f567ae
DJ
21012003-03-26 Daniel Jacobowitz <drow@mvista.com>
2102
2103 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
2104 (struct sal_chain, map_catch_names): Remove.
2105 (catch_exception_command_1): Don't call
2106 handle_gnu_4_16_catch_command.
2107
d5d14a5a
DJ
21082003-03-26 Daniel Jacobowitz <drow@mvista.com>
2109
2110 From Mark Dettinger <dettinge@de.ibm.com>:
2111 * dwarf2cfi.c (read_2u): Increment pointer by two.
2112
bdd73e22
DJ
21132003-03-26 Daniel Jacobowitz <drow@mvista.com>
2114
2115 * signals/signals.c: Fix typos in last change.
2116
960cb555
DJ
21172003-03-26 Daniel Jacobowitz <drow@mvista.com>
2118
2119 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
2120 not already defined. Use __SIGRTMIN if available.
2121 (target_signal_from_host): Remove SIGRTMIN block.
2122 (do_target_signal_to_host): Remove SIGRTMIN block; check that
2123 the signal is within the realtime range.
2124
f636b87d
AF
21252003-03-25 Adam Fedor <fedor@gnu.org>
2126
2127 * Makefile.in (infrun.o): Add $(language_h)
2128 * infrun.c (handle_inferior_event): Use skip_language_trampoline
2129 for language specific trampolines.
2130 * language.h (struct language_defn): Add skip_trampoline.
2131 (skip_language_trampoline): Declare.
2132 * language.c (unk_lang_trampoline, skip_language_trampoline):
2133 New functions.
2134 (unknown_language_defn, auto_language_defn, local_language_defn):
2135 Add ukn_lang_trampoline.
2136 * ada-lang.c (ada_language_defn): Add NULL for language
2137 specific skip_trampoline.
2138 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
2139 scm-lang.c: Likewise.
2140 * objc-lang.c (objc_skip_trampoline): New function.
2141 (objc_language_defn): Add objc_skip_trampoline.
2142
28f617b3 21432003-03-25 Andrew Cagney <cagney@redhat.com>
270c3b1d
AC
2144
2145 * frame.c (get_prev_frame): Delay validating a frame's ID -
2146 non-NULL, didn't go backwards - until an attempt to unwind it to
2147 the previous frame.
2148
f933a9c5
AC
21492003-03-25 Andrew Cagney <cagney@redhat.com>
2150
2151 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
2152 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
2153 * gdbarch.h, gdbarch.c: Re-generate.
2154 * config/sparc/tm-sparc.h
2155 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
2156 * sparc-tdep.c (sparc_gdbarch_init): Set
2157 deprecated_extra_stack_alignment_needed.
2158 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
2159 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
2160 extra_stack_alignment_needed.
2161 * v850-tdep.c (v850_gdbarch_init): Ditto.
2162 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2163 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2164 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2165 * cris-tdep.c (cris_gdbarch_init): Ditto.
2166 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
2167 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2168
4183d812
AC
21692003-03-25 Andrew Cagney <cagney@redhat.com>
2170
2171 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
2172 STORE_STRUCT_RETURN.
2173 * gdbarch.h, gdbarch.c: Regenerate.
2174 * d10v-tdep.c (d10v_store_struct_return): Delete function.
2175 (d10v_push_arguments): Set the struct return register.
2176 (d10v_gdbarch_init): Update.
2177 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2178 * x86-64-tdep.c (x86_64_init_abi): Update.
2179 * vax-tdep.c (vax_gdbarch_init): Update.
2180 * v850-tdep.c (v850_gdbarch_init): Update.
2181 * sparc-tdep.c (sparc_gdbarch_init): Update.
2182 * sh-tdep.c (sh_gdbarch_init): Update.
2183 * s390-tdep.c (s390_gdbarch_init): Update.
2184 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2185 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2186 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2187 * mips-tdep.c (mips_gdbarch_init): Update.
2188 * mcore-tdep.c (mcore_gdbarch_init): Update.
2189 * m68k-tdep.c (m68k_gdbarch_init): Update.
2190 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2191 * ia64-tdep.c (ia64_gdbarch_init): Update.
2192 * i386-tdep.c (i386_gdbarch_init): Update.
2193 * hppa-tdep.c (hppa_gdbarch_init): Update.
2194 * h8300-tdep.c (h8300_gdbarch_init): Update.
2195 * frv-tdep.c (frv_gdbarch_init): Update.
2196 * cris-tdep.c (cris_gdbarch_init): Update.
2197 * avr-tdep.c (avr_gdbarch_init): Update.
2198 * arm-tdep.c (arm_gdbarch_init): Update.
2199 * alpha-tdep.c (alpha_gdbarch_init): Update.
2200
1bf6d5cc
AC
22012003-03-25 Andrew Cagney <cagney@redhat.com>
2202
2203 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
2204 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
2205 CALL_DUMMY_STACK_ADJUST with a predicate variable.
2206 * gdbarch.h, gdbarch.c: Regenerate.
2207 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
2208 call_dummy_stack_adjust_p.
2209 * vax-tdep.c (vax_gdbarch_init): Ditto.
2210 * v850-tdep.c (v850_gdbarch_init): Ditto.
2211 * sh-tdep.c (sh_gdbarch_init): Ditto.
2212 * s390-tdep.c (s390_gdbarch_init): Ditto.
2213 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2214 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
2215 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2216 * mips-tdep.c (mips_gdbarch_init): Ditto.
2217 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2218 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
2219 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2220 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2221 * i386-tdep.c (i386_gdbarch_init): Ditto.
2222 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2223 * frv-tdep.c (frv_gdbarch_init): Ditto.
2224 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2225 * cris-tdep.c (cris_gdbarch_init): Ditto.
2226 * avr-tdep.c (avr_gdbarch_init): Ditto.
2227 * arm-tdep.c (arm_gdbarch_init): Ditto.
2228 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2229 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
2230 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
2231 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
2232 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
2233 call_dummy_stack_adjust_p.
2234 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
2235 (CALL_DUMMY_STACK_ADJUST): Delete macro.
2236 * sparc-tdep.c (sparc32_push_arguments): Update.
2237 * valops.c (hand_function_call): Update.
2238
71c08af0
CV
22392003-03-25 Corinna Vinschen <vinschen@redhat.com>
2240
2241 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
2242 set_gdbarch_char_signed.
2243
30757f90
RE
22442003-03-25 Richard Earnshaw <rearnsha@arm.com>
2245
2246 PR cli/548
2247 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
2248
03d48a7d
RE
22492003-03-25 Richard Earnshaw <rearnsha@arm.com>
2250
2251 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
2252 (_initialize_arm_tdep): Don't set tm_print_insn.
2253
2cf6873c
AF
22542003-03-24 Adam Fedor <fedor@gnu.org>
2255
2256 * Makefile.in (YYOBJ): Add objc-exp.tab.o
2257 * objc-lang.h: Add multiple inclusion protection.
2258 (start_msglist, add_msglist, end_msglist): Additional declarations.
2259
17c0759e
RE
22602003-03-24 Richard Earnshaw <rearnsha@arm.com>
2261
2262 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
2263 value was renamed to ARM_FLOAT_SOFT_FPA.
2264
618ce49f
AC
22652003-03-23 Andrew Cagney <cagney@redhat.com>
2266
2267 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
2268 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
2269 * gdbarch.h, gdbarch.c: Regenerate.
2270 * valops.c (hand_function_call): Update.
2271 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
2272 * frame.c (legacy_saved_regs_this_id): Update.
2273 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
2274 * dummy-frame.h: Update.
2275 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
2276 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
2277 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
2278 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
2279 * config/m68k/tm-sun3.h: Update.
2280 * blockframe.c (inside_main_func, frame_chain_valid): Update.
2281 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2282 * x86-64-tdep.c (x86_64_init_abi): Update.
2283 * vax-tdep.c (vax_gdbarch_init): Update.
2284 * v850-tdep.c (v850_gdbarch_init): Update.
2285 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
2286 * sh-tdep.c (sh_gdbarch_init): Update.
2287 * s390-tdep.c (s390_gdbarch_init): Update.
2288 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
2289 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
2290 (frame_get_saved_regs): Update.
2291 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2292 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2293 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2294 * mips-tdep.c (mips_gdbarch_init): Update.
2295 * mcore-tdep.c (mcore_gdbarch_init): Update.
2296 * m68k-tdep.c (m68k_gdbarch_init): Update.
2297 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2298 * ia64-tdep.c (ia64_gdbarch_init): Update.
2299 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
2300 * i386-interix-tdep.c (i386_interix_init_abi): Update.
2301 (i386_interix_back_one_frame): Update.
2302 * hppa-tdep.c (hppa_gdbarch_init): Update.
2303 (hppa_init_extra_frame_info): Update.
2304 * h8300-tdep.c (h8300_gdbarch_init): Update.
2305 * frv-tdep.c (frv_gdbarch_init): Update.
2306 * cris-tdep.c (cris_gdbarch_init): Update.
2307 * avr-tdep.c (avr_gdbarch_init): Update.
2308 * arm-tdep.c (arm_gdbarch_init): Update.
2309 * alpha-tdep.c (alpha_gdbarch_init): Update.
2310
fd50bc42
RE
23112003-03-22 Richard Earnshaw <rearnsha@arm.com>
2312
2313 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
2314 (arm_get_fp_model): Declare.
2315 * arm-tdep.c (fp_model_strings): New string array.
2316 (arm_fp_model, current_fp_model): New variables.
2317 (arm_get_fp_model): New function.
2318 (arm_set_fp): New function.
2319 (set_fp_model_sfunc): New function.
2320 (show_fp_model): New function.
2321 (_initialize_arm_tdep): Add new command to set/show the FPU.
2322 (arm_extract_return_value): Use arm_get_fp_model.
2323 (arm_store_return_value): Likewise.
2324 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
2325 to initialize the floating-point data types.
2326 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
2327 model is FPA.
2328
26304000
RE
23292003-03-22 Richard Earnshaw <rearnsha@arm.com>
2330
2331 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
2332 the current setting of each value.
2333 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
2334 new_set and new_show. Use add_setshow_cmd_full and
2335 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
2336 commands and add new version as subcommands of "set/show arm".
2337
afd7eef0
RE
23382003-03-22 Richard Earnshaw <rearnsha@arm.com>
2339
2340 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
2341 (set_arm_command, show_arm_command): New functions.
2342 (_initialize_arm_tdep): Add them.
2343 (num_disassembly_options): Renamed from num_flavor_options.
2344 (valid_disassembly_styles): Renamed from valid_flavors.
2345 (disassembly_style): Renamed from disassembly_flavor.
2346 (set_disassembly_style_sfunc): Renamed from
2347 set_disassembly_flavor_sfunc.
2348 (set_disassembly_style): Renamed from set_disassembly_flavor.
2349 (arm_othernames): Updated.
2350 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
2351 command. Add "set/show arm disassembly" commands. Deprecate
2352 "othernames" command.
2353
299a7944
RE
23542003-03-22 Richard Earnshaw <rearnsha@arm.com>
2355
2356 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
2357 (arm-tdep.o): Depend on elf_arm_h.
2358
c1dac9e6
RE
23592003-03-22 Richard Earnshaw <rearnsha@arm.com>
2360
2361 * Makefile.in (coff_internal_h): Define.
2362 (arm-tdep.o): Update dependencies.
2363
2702d96c
RE
23642003-03-22 Richard Earnshaw <rearnsha@arm.com>
2365
2366 * arm-tdep.c (prologue_cache): Delete.
2367 (check_prologue_cache, save_prologue_cache): Delete.
2368 (arm_scan_prologue): Don't check or update the prologue_cache.
2369 (arm_gdb_arch_init): Don't initialize it.
2370 (_initialize_arm_tdep): Likewise.
2371
27d5d74b
SC
23722003-03-21 Stephane Carrez <stcarrez@nerim.fr>
2373
2374 * MAINTAINERS (tui): Maintainer of tui code.
2375
1762d96d
CV
23762003-03-21 Corinna Vinschen <vinschen@redhat.com>
2377
2378 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
2379 (i386-cygwin-tdep.o): Add dependencies.
2380 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
2381 * i386-cygwin-tdep.c: New file.
2382 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
2383 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
2384
4c2e2391
AC
23852003-03-20 Andrew Cagney <cagney@redhat.com>
2386
f20d38b7
AC
2387 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
2388 (handle_inferior_event): Remove code calling
2389 DYNAMIC_TRAMPOLINE_NEXTPC.
2390
0022b738
AC
2391 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
2392 already has a full path.
2393
864dbc90
AC
2394 * main.c (gdb_main): Return 1.
2395 (captured_main): Call error to report an invalid interpreter.
2396
4c2e2391
AC
2397 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
2398 * alpha-osf1-tdep.c: Include "gdb_string.h".
2399
5ef7553b
JB
24002003-03-19 J. Brobecker <brobecker@gnat.com>
2401
2402 Continuing work to convert the hppa targets to multiarch partial.
2403
2404 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
2405 method, now that hppa_push_dummy_frame has a conformant prototype.
2406 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
2407 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
2408 for the switch to multiarch partial.
2409
7bde8967
KB
24102003-03-19 Kevin Buettner <kevinb@redhat.com>
2411
2412 * mdebugread.c (parse_symbol): For stEnd, we're done counting
2413 when iss is issNull.
2414
b006a9e9
KB
24152003-03-18 Kevin Buettner <kevinb@redhat.com>
2416
2417 * mips-tdep.c (mips_register_name): Fix fencepost error involving
2418 NUM_REGS bounds check.
2419
5e2e9765
KB
24202003-03-18 Kevin Buettner <kevinb@redhat.com>
2421
2422 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
2423 * mips-tdep.c (gdb_assert.h): Include.
2424 (mips_generic_reg_names, mips_processor_reg_names): Make static.
2425 (mips_register_name): Handle integer registers explicitly. Add
2426 bounds checking.
2427 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
2428 (mips_lsi33k_reg_names): Don't list integer registers; they're
2429 handled by mips_register_name() now.
2430 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
2431 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
2432 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
2433 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
2434 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
2435
a2867626
AC
24362003-03-18 Andrew Cagney <cagney@redhat.com>
2437
2438 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
2439 a void pointer.
2440 * gdbtypes.h (print_scalar_formatted): Update declaration.
2441 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
2442
06600e06
JB
24432003-03-18 J. Brobecker <brobecker@gnat.com>
2444
2445 * infrun.c (observer.h): Add #include.
2446 (normal_stop): Add call to observer_notify_normal_stop.
2447 * Makefile.in (infrun.o): Add dependency on observer.h.
2448
7daf4f5b
JB
24492003-03-18 J. Brobecker <brobecker@gnat.com>
2450
2451 Continuing work to convert the hppa targets to multiarch partial.
2452 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
2453 parameter. Reformat comment.
2454 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
2455 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
2456 to match new profile.
2457
3371ccc0
JB
24582003-03-18 J. Brobecker <brobecker@gnat.com>
2459
2460 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
2461 appear to be working in any case.
2462
4fbe891e
JB
24632003-03-18 J. Brobecker <brobecker@gnat.com>
2464
2465 * observer.c (observer_test_first_observer): New static variable.
2466 (observer_test_second_observer): Likewise.
2467 (observer_test_third_observer): Likewise.
2468 (observer_test_first_notification_function): New static function.
2469 (observer_test_second_notification_function): Likewise.
2470 (observer_test_third_notification_function): Likewise.
2471
a7ff40e7
JB
24722003-03-17 J. Brobecker <brobecker@gnat.com>
2473
2474 * hppa-tdep.c (gdb_assert.h): Add missing #include.
2475 * somsolib.c (gdb_assert.h): Likewise.
2476 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
2477 (somsolib.o): Likewise.
2478
26ca4152
AC
24792003-03-17 Andrew Cagney <cagney@redhat.com>
2480
2481 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
2482 BFD. Simplify setting of di.endian.
2483
0a613259
AC
24842003-03-17 Andrew Cagney <cagney@redhat.com>
2485
2486 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
2487 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
2488
2489 From Elena Zannoni <ezannoni@redhat.com>
2490 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
2491 vector and floating-point parameters.
2492 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
2493 convention.
2494 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
2495
1132738f
FN
24962003-03-17 Fernando Nasser <fnasser@redhat.com>
2497
2498 * MAINTAINERS: Remove my name from several maintainership roles.
2499
6dc42492
AC
25002003-03-17 Andrew Cagney <cagney@redhat.com>
2501
2502 Fix frame off-by-one bug.
2503 * frame-unwind.h (frame_this_id_ftype): Replace
2504 frame_unwind_id_ftype.
2505 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
2506 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
2507 with "prev_register".
2508 * frame-unwind.c (frame_unwind_find_by_pc): Return
2509 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
2510 comment.
2511 * dummy-frame.c (cached_find_dummy_frame): Delete function.
2512 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
2513 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
2514 (dummy_frame_unwind): Update.
2515 * sentinel-frame.c (sentinel_frame_prev_register): Replace
2516 sentinel_frame_register_unwind.
2517 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
2518 (sentinel_frame_unwinder): Update.
2519 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
2520 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
2521 * frame.c (create_sentinel_frame): Update. Initialize
2522 "prologue_cache" instead of "unwind_cache".
2523 (frame_register_unwind): Call this frame's prev_register with the
2524 next frame and this frame's prologue cache.
2525 (get_prev_frame): Simplify. Always call prev frame's this_id with
2526 this frame and prev frame's prologue cache. Document that this
2527 call is shifted one to the left when compared to the
2528 frame_register_unwind call.
2529 (legacy_saved_regs_prev_register): Replace
2530 frame_saved_regs_register_unwind.
2531 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
2532 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
2533 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
2534 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
2535 (d10v_frame_unwind): Update.
2536 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
2537 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
2538 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
2539 "saved_regs" with "this_saved_regs".
2540
efd710d6
AC
25412003-03-16 Andrew Cagney <cagney@redhat.com>
2542
2543 * frame.c (frame_pop): Don't call target_store_registers. Fix
2544 problem reported by Mark Kettenis.
2545
4e259f09
MK
25462003-03-16 Mark Kettenis <kettenis@gnu.org>
2547
2548 * i386-tdep.c (i386_register_type): Renamed from
2549 i386_register_virtual_type. Adjust function signature.
2550 (i386_gdbarch_init): Set register_type instead of
2551 deprecated_max_register_raw_size,
2552 deprecated_max_register_virtual_size and register_virtual_type.
2553
055bb976
AC
25542003-03-14 Andrew Cagney <cagney@redhat.com>
2555
2556 * frame.c (get_prev_frame): When a legacy frame, always call
2557 legacy_get_prev_frame. Simplify unwind code using assumption that
2558 the unwinder is new.
2559 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
2560 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
2561 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
2562
ac2adee5
AC
25632003-03-14 Andrew Cagney <cagney@redhat.com>
2564
2565 * frame.c (get_saved_register): Delete function.
2566 * frame.h (get_saved_register): Delete declaration.
2567 * xstormy16-tdep.c: Update comment.
2568 * regcache.h: Update comments.
2569 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
2570 get_saved_register and extract_address, use
2571 frame_read_unsigned_register.
2572 (sparc_frame_saved_pc): Ditto.
2573 (sparc_get_saved_register): Instead of get_saved_register, use
2574 frame_register.
2575 (sparc_pop_frame): Ditto.
2576 * findvar.c: Update comments.
2577 (value_of_register): Call frame_register instead of
2578 get_saved_register.
2579 (value_from_register): Ditto.
2580 * config/sparc/tm-sparc.h: Update comment.
2581 * breakpoint.c: Update comment.
2582
129c1cd6
AC
25832003-03-14 Andrew Cagney <cagney@redhat.com>
2584
2585 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
2586 GET_SAVED_REGISTER.
2587 * gdbarch.h, gdbarch.c: Re-generate.
2588 * frame.h: Update comments.
2589 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2590 * x86-64-tdep.c (x86_64_init_abi): Update.
2591 * sparc-tdep.c (sparc_gdbarch_init): Update.
2592 * sh-tdep.c (sh_gdbarch_init): Update.
2593 * mips-tdep.c (mips_gdbarch_init): Update.
2594 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2595 * cris-tdep.c (cris_gdbarch_init): Update.
2596 * ia64-tdep.c (ia64_gdbarch_init): Update.
2597 * frame.c (frame_register): Update.
2598 (get_saved_register): Update.
2599 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
2600
749b82f6
AC
26012003-03-13 Andrew Cagney <cagney@redhat.com>
2602
2603 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
2604 * gdbarch.h, gdbarch.c: Regenerate.
2605 * valops.c (hand_function_call): Update comment.
2606 * stack.c (return_command): Update comment.
2607 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
2608 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
2609 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2610 * x86-64-tdep.c (x86_64_init_abi): Update.
2611 * vax-tdep.c (vax_gdbarch_init): Update.
2612 * v850-tdep.c (v850_gdbarch_init): Update.
2613 * sparc-tdep.c (sparc_gdbarch_init): Update.
2614 * sh-tdep.c (sh_gdbarch_init): Update.
2615 * s390-tdep.c (s390_gdbarch_init): Update.
2616 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2617 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2618 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2619 * mips-tdep.c (mips_gdbarch_init): Update.
2620 * mcore-tdep.c (mcore_gdbarch_init): Update.
2621 * m68k-tdep.c (m68k_gdbarch_init): Update.
2622 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2623 * ia64-tdep.c (ia64_gdbarch_init): Update.
2624 * i386-tdep.c (i386_gdbarch_init): Update.
2625 * hppa-tdep.c (hppa_gdbarch_init): Update.
2626 * h8300-tdep.c (h8300_gdbarch_init): Update.
2627 * frv-tdep.c (frv_gdbarch_init): Update.
2628 * cris-tdep.c (cris_gdbarch_init): Update.
2629 * avr-tdep.c (avr_gdbarch_init): Update.
2630 * arm-tdep.c (arm_gdbarch_init): Update.
2631 * alpha-tdep.c (alpha_gdbarch_init): Update.
2632
1594fa56
AC
26332003-03-13 Andrew Cagney <cagney@redhat.com>
2634
2635 * frame.c (legacy_frame_p): New function.
2636 (get_prev_frame): Use legacy_frame_p.
2637 * frame.h (legacy_frame_p): Declare.
2638
7717fda3
V
26392003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
2640
2641 * MAINTAINERS (write after approval): Alphabetically
2642 listing corrected.
2643
0c67cbe9
V
26442003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
2645
2646 * MAINTAINERS (write after approval): Add myself.
2647
03febf99
AC
26482003-03-12 Andrew Cagney <cagney@redhat.com>
2649
2650 * frame.c (get_prev_frame): Rename the frame parameter to
2651 "this_frame".
2652 (get_next_frame, legacy_get_prev_frame): Ditto.
2653
0a1e1ca1
AC
26542003-03-12 Andrew Cagney <cagney@redhat.com>
2655
2656 * frame.c (get_current_frame): Check target_has_registers before
2657 checking target_has_stack.
2658 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
2659 instead of deprecated_selected_frame.
2660 * findvar.c (value_of_register): Pass "frame", not
2661 deprecated_selected_frame, to value_of_builtin_reg.
2662
a66a9c23
AC
26632003-03-12 Andrew Cagney <cagney@redhat.com>
2664
2665 * regcache.c (regcache_cooked_write_signed): New function.
2666 (regcache_cooked_write_unsigned): New function.
2667 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
2668 (regcache_cooked_read_signed): Fix regnum in range assertion.
2669 * regcache.h (regcache_cooked_write_signed): Declare.
2670 (regcache_cooked_write_unsigned): Declare.
2671
8bedc050
AC
26722003-03-12 Andrew Cagney <cagney@redhat.com>
2673
2674 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
2675 * gdbarch.h, gdbarch.c: Re-generate.
2676 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2677 * x86-64-tdep.h: Update.
2678 * x86-64-tdep.c (x86_64_init_abi): Update.
2679 * v850-tdep.c (v850_gdbarch_init): Update.
2680 * sparc-tdep.c (sparc_gdbarch_init): Update.
2681 * sh-tdep.c (sh_gdbarch_init): Update.
2682 * s390-tdep.c (s390_gdbarch_init): Update.
2683 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2684 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2685 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2686 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2687 * mips-tdep.c (mips_gdbarch_init): Update.
2688 * mcore-tdep.c (mcore_gdbarch_init): Update.
2689 * m68k-tdep.c (m68k_gdbarch_init): Update.
2690 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2691 * ia64-tdep.c (ia64_gdbarch_init): Update.
2692 * i386-tdep.c (i386_gdbarch_init): Update.
2693 * i386-interix-tdep.c (i386_interix_init_abi): Update.
2694 * hppa-tdep.c (hppa_gdbarch_init): Update.
2695 * h8300-tdep.c (h8300_gdbarch_init): Update.
2696 * frv-tdep.c (frv_gdbarch_init): Update.
2697 * cris-tdep.c (cris_gdbarch_init): Update.
2698 * avr-tdep.c (avr_gdbarch_init): Update.
2699 * arm-tdep.c (arm_gdbarch_init): Update.
2700 * alpha-tdep.c (alpha_gdbarch_init): Update.
2701 * sh-tdep.c (sh_init_extra_frame_info): Update.
2702 (sh64_init_extra_frame_info): Update.
2703 * ns32knbsd-nat.c (frame_num_args): Update.
2704 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
2705 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
2706 (xstormy16_frame_chain_valid): Update.
2707 * vax-tdep.c (vax_saved_pc_after_call): Update.
2708 * v850-tdep.c (v850_frame_chain): Update.
2709 (v850_pop_frame): Update.
2710 (v850_init_extra_frame_info): Update.
2711 * sparc-tdep.c (setup_arbitrary_frame): Update.
2712 * ns32k-tdep.c (umax_frame_num_args): Update.
2713 * s390-tdep.c (s390_pop_frame_regular): Update.
2714 * mn10300-tdep.c (mn10300_frame_chain): Update.
2715 (mn10300_pop_frame_regular): Update.
2716 (mn10300_init_extra_frame_info): Update.
2717 * mips-tdep.c (mips_init_frame_pc_first): Update.
2718 (mips_frame_chain): Update.
2719 (mips_pop_frame): Update.
2720 * mcore-tdep.c (mcore_frame_chain): Update.
2721 (mcore_pop_frame): Update.
2722 (mcore_init_extra_frame_info): Update.
2723 * arch-utils.c (init_frame_pc_default): Update.
2724 * m68k-tdep.c (isi_frame_num_args): Update.
2725 (delta68_frame_num_args): Update.
2726 (news_frame_num_args): Update.
2727 * ia64-tdep.c (ia64_pop_frame_regular): Update.
2728 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
2729 (alpha_frame_chain): Update.
2730 (alpha_pop_frame): Update.
2731 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
2732 (hppa_init_extra_frame_info): Update.
2733 (hppa_frame_chain): Update.
2734 (hppa_frame_chain_valid): Update.
2735 * cris-tdep.c (cris_init_extra_frame_info): Update.
2736 * avr-tdep.c (avr_init_extra_frame_info): Update.
2737 * arm-tdep.c (arm_frame_chain_valid): Update.
2738 (arm_init_extra_frame_info): Update.
2739 (arm_pop_frame): Update.
2740 * frame.c (frame_pc_unwind): Update.
2741 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
2742 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2743 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2744 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
2745 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
2746 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2747
7a25a7c1
AC
27482003-03-12 Andrew Cagney <cagney@redhat.com>
2749
2750 Eliminate the need for POP_FRAME.
2751 * frame.c (do_frame_unwind_register): New function.
2752 (frame_pop): When no POP_FRAME, pop the frame using register
2753 unwind and a scratch regcache.
2754 (frame_saved_regs_pop): Delete function.
2755 (trad_frame_unwinder): Update.
2756 * d10v-tdep.c (d10v_frame_pop): Delete function.
2757 (d10v_frame_unwind): Update.
2758 * sentinel-frame.c (sentinel_frame_pop): Delete function.
2759 (sentinel_frame_unwinder): Update.
2760 * dummy-frame.c (dummy_frame_pop): Delete function.
2761 (dummy_frame_unwind): Update.
2762 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
2763 (struct frame_unwind): Update.
2764
2f38ef89
KB
27652003-03-11 Kevin Buettner <kevinb@redhat.com>
2766
2767 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
2768 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
2769 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
2770 Do range checks on register number obtained from debugging info.
2771 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
2772 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
2773 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
2774 mapping function.
2775 (do_fp_register_row): Fix typo which caused double type to be
2776 used when attempting to unpack a float.
2777
552f4abf
JB
27782003-03-11 J. Brobecker <brobecker@gnat.com>
2779
2780 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
2781
e0d2ae16
AC
27822003-03-11 Andrew Cagney <cagney@redhat.com>
2783
2784 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
2785 frame. Problem found by Corinna Vinschen.
2786
ddbfdd06
PM
27872003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
2788
2789 * doublest.c (floatformat_from_length): Accept also
2790 the real size of 'long double' type.
2791
088b2ddc 27922003-03-10 Daniel Jacobowitz <drow@mvista.com>
31cc81e9 2793
088b2ddc 2794 From Klee Dienes <kdienes@apple.com>:
31cc81e9
DJ
2795 * breakpoint.c (bpstat_copy): Copy the command lines as well
2796 as the old value, to match what is freed in bpstat_clear.
2797
f56f77c1
DC
27982003-03-10 David Carlton <carlton@math.stanford.edu>
2799
2800 * minsyms.c (add_minsym_to_hash_table): Replace
2801 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
2802 (compare_minimal_symbols, compact_minimal_symbols)
2803 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
2804 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
2805 of DEPRECATED_SYMBOL_MATCHES_NAME.
2806 (lookup_minimal_symbol_solib_trampoline): Ditto.
2807
5602984a
AC
28082003-03-10 Andrew Cagney <cagney@redhat.com>
2809
2810 * regcache.h (regcache_cooked_read_ftype): Define.
2811 (regcache_save, regcache_restore): Add a cooked_read parameter.
2812 * regcache.c (regcache_save, regcache_restore): Update.
2813 (do_cooked_read): New function.
2814 (regcache_cpy): Pass do_cooked_read to regcache_save and
2815 regcache_restore.
2816
8bedc050
AC
28172003-03-10 Andrew Cagney <cagney@redhat.com>
2818
2819 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
2820 * gdbarch.h, gdbarch.c: Re-generate.
2821 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2822 * x86-64-tdep.h: Update.
2823 * x86-64-tdep.c (x86_64_init_abi): Update.
2824 * v850-tdep.c (v850_gdbarch_init): Update.
2825 * sparc-tdep.c (sparc_gdbarch_init): Update.
2826 * sh-tdep.c (sh_gdbarch_init): Update.
2827 * s390-tdep.c (s390_gdbarch_init): Update.
2828 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2829 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2830 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2831 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2832 * mips-tdep.c (mips_gdbarch_init): Update.
2833 * mcore-tdep.c (mcore_gdbarch_init): Update.
2834 * m68k-tdep.c (m68k_gdbarch_init): Update.
2835 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2836 * ia64-tdep.c (ia64_gdbarch_init): Update.
2837 * i386-tdep.c (i386_gdbarch_init): Update.
2838 * i386-interix-tdep.c (i386_interix_init_abi): Update.
2839 * hppa-tdep.c (hppa_gdbarch_init): Update.
2840 * h8300-tdep.c (h8300_gdbarch_init): Update.
2841 * frv-tdep.c (frv_gdbarch_init): Update.
2842 * cris-tdep.c (cris_gdbarch_init): Update.
2843 * avr-tdep.c (avr_gdbarch_init): Update.
2844 * arm-tdep.c (arm_gdbarch_init): Update.
2845 * alpha-tdep.c (alpha_gdbarch_init): Update.
2846 * sh-tdep.c (sh_init_extra_frame_info): Update.
2847 (sh64_init_extra_frame_info): Update.
2848 * ns32knbsd-nat.c (frame_num_args): Update.
2849 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
2850 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
2851 (xstormy16_frame_chain_valid): Update.
2852 * vax-tdep.c (vax_saved_pc_after_call): Update.
2853 * v850-tdep.c (v850_frame_chain): Update.
2854 (v850_pop_frame): Update.
2855 (v850_init_extra_frame_info): Update.
2856 * sparc-tdep.c (setup_arbitrary_frame): Update.
2857 * ns32k-tdep.c (umax_frame_num_args): Update.
2858 * s390-tdep.c (s390_pop_frame_regular): Update.
2859 * mn10300-tdep.c (mn10300_frame_chain): Update.
2860 (mn10300_pop_frame_regular): Update.
2861 (mn10300_init_extra_frame_info): Update.
2862 * mips-tdep.c (mips_init_frame_pc_first): Update.
2863 (mips_frame_chain): Update.
2864 (mips_pop_frame): Update.
2865 * mcore-tdep.c (mcore_frame_chain): Update.
2866 (mcore_pop_frame): Update.
2867 (mcore_init_extra_frame_info): Update.
2868 * arch-utils.c (init_frame_pc_default): Update.
2869 * m68k-tdep.c (isi_frame_num_args): Update.
2870 (delta68_frame_num_args): Update.
2871 (news_frame_num_args): Update.
2872 * ia64-tdep.c (ia64_pop_frame_regular): Update.
2873 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
2874 (alpha_frame_chain): Update.
2875 (alpha_pop_frame): Update.
2876 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
2877 (hppa_init_extra_frame_info): Update.
2878 (hppa_frame_chain): Update.
2879 (hppa_frame_chain_valid): Update.
2880 * cris-tdep.c (cris_init_extra_frame_info): Update.
2881 * avr-tdep.c (avr_init_extra_frame_info): Update.
2882 * arm-tdep.c (arm_frame_chain_valid): Update.
2883 (arm_init_extra_frame_info): Update.
2884 (arm_pop_frame): Update.
2885 * frame.c (frame_pc_unwind): Update.
2886 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
2887 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2888 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2889 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
2890 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
2891 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2892
12cc2063
AC
28932003-03-10 Andrew Cagney <cagney@redhat.com>
2894
2895 * gdbarch.sh (gdbarch_unwind_pc): New method.
2896 * gdbarch.h, gdbarch.c: Regenerate.
2897 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
2898 but use read_pc and FRAME_SAVED_PC as fall backs.
2899 (frame_saved_regs_pc_unwind): Delete function.
2900 (trad_frame_unwinder): Update.
2901 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
2902 (struct frame_unwind): Update.
2903 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
2904 (dummy_frame_unwind): Update.
2905 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
2906 (sentinel_frame_unwinder): Update.
2907 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
2908 (d10v_frame_unwind): Update.
2909 (d10v_unwind_pc): New function.
2910 (d10v_gdbarch_init): Set unwind_pc.
2911
ef840a37
AC
29122003-03-10 Andrew Cagney <cagney@redhat.com>
2913
a2ce2e56
AC
2914 * gdbarch.h: Re-generate.
2915
ef840a37
AC
2916 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
2917 PC.
2918 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
2919 the PC register.
2920
08f3424b
MK
29212003-03-08 Mark Kettenis <kettenis@gnu.org>
2922
2923 * gdbarch.sh (save_dummy_frame_tos): Add comment.
2924
1248ede2
AC
29252003-03-08 Andrew Cagney <cagney@redhat.com>
2926
2927 * cli-out.c: Update copyright.
2928 (cli_out_data): Define typedef. Use instead of ui_out_data.
2929
f49bacc8
AC
29302003-03-08 Andrew Cagney <cagney@redhat.com>
2931
2932 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
2933 the result.
2934
9b05f993
AC
29352003-03-07 Andrew Cagney <cagney@redhat.com>
2936
2937 * gdbarch.sh: Don't generate two macro definitions when an
2938 undefined macro taking no arguments.
2939 * gdbarch.h: Regenerate.
2940
166f4c7b
ML
29412002-03-07 Michal Ludvig <mludvig@suse.cz>
2942
2943 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
2944 (x86_64_unwind_dummy_id): New functions.
2945 (x86_64_init_abi): Register these two new functions.
2946
6d686a84
ML
29472003-03-07 Michal Ludvig <mludvig@suse.cz>
2948
2949 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
2950 (x86_64_skip_prologue): Move prologue detection to
2951 separate function.
2952 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
2953
6314f104
AC
29542003-03-05 Andrew Cagney <cagney@redhat.com>
2955
2956 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
2957 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
2958 * frame.c (get_prev_frame): Restructure the frame ID unwind code
2959 to use unwind_dummy_id when a dummy frame.
2960 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
2961 predicate.
2962 * gdbarch.h, gdbarch.c: Regneerate.
2963
ceea5145
AC
29642003-03-05 Andrew Cagney <cagney@redhat.com>
2965
2966 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
2967 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
2968 Do not use d10v_read_sp or d10v_read_fp when obtaining register
2969 values.
2970
0d843116
AC
29712003-03-05 Andrew Cagney <cagney@redhat.com>
2972
2973 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
2974 (struct d10v_unwind_cache): Delete field "frameless". Replace
2975 "next_addr" with "sp_offset". Add "r11_offset".
2976 (d10v_frame_unwind_cache): Update.
2977 (prologue_find_regs): Update. When "mv r11, sp", save the
2978 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
2979 RN was saved in r11_offset.
2980
b2579786
AC
29812003-03-05 Andrew Cagney <cagney@redhat.com>
2982
2983 * frame.c (deprecated_update_frame_pc_hack): Also update the the
2984 cached PC value in the next frame.
2985
218e5956
AC
29862003-03-05 Andrew Cagney <cagney@redhat.com>
2987
2988 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
2989 "id_unwind_cache" with "id".
2990 (frame_id_unwind): Delete declaration.
2991 * frame.c (frame_id_unwind): Delete function.
2992 (get_prev_frame): Call the frame id unwind method directly. Store
2993 the returned next frame's ID value in NEXT_FRAME. Note that there
2994 is a problem with the wrong unwind ID being called with the wrong
2995 unwind cache.
2996
ed363b1b
DJ
29972003-03-05 Daniel Jacobowitz <drow@mvista.com>
2998
2999 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
3000
fe1f4a5e
DJ
30012003-03-05 James Ingham <jingham@apple.com>
3002 Daniel Jacobowitz <drow@mvista.com>
3003
3004 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
3005 (auto_cp_abi): New variable.
3006 (current_cp_abi, num_cp_abis): Make static.
3007 (CP_ABI_MAX): Define.
3008 (cp_abis): Turn into an array.
3009 (value_virtual_fn_field): Fix formatting.
3010 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
3011 takes a pointer.
3012 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
3013 (list_cp_abis, _initialize_cp_abi): New functions.
3014 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
3015 declarations for cp_abis, num_cp_abis, current_cp_abi, and
3016 switch_to_cp_abi. Update prototype for register_cp_abi.
3017 * Makefile.in (cp-abi.o): Update dependencies.
3018 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
3019 instead of switch_to_cp_abi.
3020 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
3021 register_cp_abi.
3022 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
3023 register_cp_abi.
3024 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
3025
e4adbba9
DJ
30262003-03-05 Daniel Jacobowitz <drow@mvista.com>
3027
3028 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
3029 * dwarf2loc.c: Include "regcache.h".
3030 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
3031 register_size.
3032 * Makefile.in (dwarf2loc.o): Update dependencies.
3033
91ccbfc1
TR
30342003-03-04 Theodore A. Roth <troth@openavr.org>
3035
3036 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
3037 number of io registers reported by remote target is not a multiple of
3038 step.
3039
3d4e8fd2
DC
30402003-03-04 David Carlton <carlton@math.stanford.edu>
3041
3042 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
3043 (lookup_symbol_aux_psymtabs): Update call to
3044 lookup_partial_symbol.
3045 (lookup_transparent_type, find_main_psymtab)
3046 (make_symbol_overload_list): Ditto.
3047
ed42d87b
KH
30482003-03-04 Kazu Hirata <kazu@cs.umass.edu>
3049
3050 * MAINTAINERS (Write after approval): Update my email address.
3051
a0ed5532
AC
30522003-03-03 Andrew Cagney <cagney@redhat.com>
3053
3054 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
3055 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
3056 predicate. Replace MAX_REGISTER_RAW_SIZE.
3057 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
3058 MAX_REGISTER_VIRTUAL_SIZE.
3059 * regcache.c (legacy_max_register_raw_size): New function.
3060 (legacy_max_register_virtual_size): New function.
3061 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
3062 (MAX_REGISTER_RAW_SIZE): Define.
3063 (legacy_max_register_raw_size): Declare.
3064 (legacy_max_register_virtual_size): Declare.
3065 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
3066 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
3067 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
3068 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
3069 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
3070 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
3071 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
3072 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
3073 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
3074 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3075 * vax-tdep.c (vax_gdbarch_init): Update.
3076 * v850-tdep.c (v850_gdbarch_init): Update.
3077 * sparc-tdep.c (sparc_gdbarch_init): Update.
3078 * sh-tdep.c (sh_gdbarch_init): Update.
3079 * s390-tdep.c (s390_gdbarch_init): Update.
3080 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3081 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3082 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3083 * mips-tdep.c (mips_gdbarch_init): Update.
3084 * mcore-tdep.c (mcore_gdbarch_init): Update.
3085 * m68k-tdep.c (m68k_gdbarch_init): Update.
3086 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3087 * ia64-tdep.c (ia64_gdbarch_init): Update.
3088 * i386-tdep.c (i386_gdbarch_init): Update.
3089 * hppa-tdep.c (hppa_gdbarch_init): Update.
3090 * h8300-tdep.c (h8300_gdbarch_init): Update.
3091 * frv-tdep.c (frv_gdbarch_init): Update.
3092 * cris-tdep.c (cris_gdbarch_init): Update.
3093 * avr-tdep.c (avr_gdbarch_init): Update.
3094 * arm-tdep.c (arm_gdbarch_init): Update.
3095 * alpha-tdep.c (alpha_gdbarch_init): Update.
3096 * d10v-tdep.c (d10v_gdbarch_init): Do not set
3097 max_register_raw_size or max_register_virtual_size.
3098
8e437497
DC
30992003-03-03 David Carlton <carlton@math.stanford.edu>
3100
3101 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
3102 SYMBOL_MATCHES_NAME, add comment.
3103 (SYMBOL_MATCHES_NATURAL_NAME): New.
3104 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
3105 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
3106 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
3107 * symtab.c (lookup_partial_symbol): Use
3108 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
3109 unhelpful comment.
3110 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
3111 SYMBOL_MATCHES_NAME.
3112 Fix for PR c++/33.
3113
25120b0d
DC
31142003-03-03 David Carlton <carlton@math.stanford.edu>
3115
3116 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
3117 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
3118 by regexp matching against SYMBOL_NATURAL_NAME.
3119
78a11fb4
DC
31202003-03-03 David Carlton <carlton@math.stanford.edu>
3121
3122 * linespec.c (find_method): Extract code into collect_methods.
3123 (collect_methods): New.
3124
645dd519
MK
31252003-03-02 Mark Kettenis <kettenis@gnu.org>
3126
b4700d91
MK
3127 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
3128 get_frame_base.
3129
645dd519
MK
3130 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
3131 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
3132
0aa7e1aa
SC
31332003-03-02 Stephane Carrez <stcarrez@nerim.fr>
3134
3135 * arch-utils.c (generic_register_byte): Fix to use the loop index
3136 and not regnum when summing the size of all registers up to regnum.
3137
f30ee0bc
AC
31382003-03-01 Andrew Cagney <cagney@redhat.com>
3139
3140 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
3141 FRAME_INIT_SAVED_REGS.
3142 * gdbarch.h, gdbarch.c: Regenerate.
3143 * stack.c (frame_info): Update.
3144 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
3145 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
3146 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
3147 * ns32k-tdep.c (ns32k_pop_frame): Update.
3148 * mips-tdep.c (mips_pop_frame): Update.
3149 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
3150 * ia64-tdep.c (ia64_frame_chain): Update.
3151 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
3152 (ia64_frameless_function_invocation): Update.
3153 (ia64_init_extra_frame_info): Update.
3154 (ia64_pop_frame_regular): Update.
3155 * frame.h (struct frame_info): Update comment.
3156 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
3157 * frame.c (frame_saved_regs_register_unwind): Update.
3158 (frame_saved_regs_register_unwind): Update.
3159 (deprecated_generic_get_saved_register): Update.
3160 * cris-tdep.c: Update comment.
3161 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
3162 Rename macro.
3163 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
3164 * x86-64-tdep.c (x86_64_init_abi): Update.
3165 * vax-tdep.c (vax_gdbarch_init): Update.
3166 * v850-tdep.c (v850_gdbarch_init): Update.
3167 * sparc-tdep.c (sparc_gdbarch_init): Update.
3168 * sh-tdep.c (sh_gdbarch_init): Update.
3169 * s390-tdep.c (s390_gdbarch_init): Update.
3170 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
3171 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
3172 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3173 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
3174 * mips-tdep.c (mips_gdbarch_init): Update.
3175 * mcore-tdep.c (mcore_gdbarch_init): Update.
3176 * m68k-tdep.c (m68k_gdbarch_init): Update.
3177 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
3178 * ia64-tdep.c (ia64_gdbarch_init): Update.
3179 * i386-tdep.c (i386_gdbarch_init): Update.
3180 * frv-tdep.c (frv_gdbarch_init): Update.
3181 * avr-tdep.c (avr_gdbarch_init): Update.
3182 * arm-tdep.c (arm_gdbarch_init): Update.
3183 * alpha-tdep.c (alpha_gdbarch_init): Update.
3184
42fa7c0f
AC
31852003-03-01 Andrew Cagney <cagney@redhat.com>
3186
3187 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
3188 option enum and switch. When no windows, set the interpreter to
3189 INTERP_CONSOLE.
3190
49c7e338
AC
31912003-03-01 Andrew Cagney <cagney@redhat.com>
3192
3193 * main.c (captured_main): Replace magic option characters with an
3194 enum.
3195
e9582e71
AC
31962003-03-01 Andrew Cagney <cagney@redhat.com>
3197
3198 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
3199 INIT_EXTRA_FRAME_INFO.
3200 * gdbarch.h, gdbarch.c: Regenerate.
3201 * arm-tdep.c: Update comments.
3202 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
3203 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
3204 * frame.h, avr-tdep.c: Ditto.
3205 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
3206 (create_new_frame, legacy_get_prev_frame): Ditto.
3207 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
3208 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
3209 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
3210 deprecated_init_extra_frame_info instead of init_extra_frame_info.
3211 * x86-64-tdep.c (x86_64_init_abi): Ditto.
3212 * v850-tdep.c (v850_gdbarch_init): Ditto.
3213 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3214 * sh-tdep.c (sh_gdbarch_init): Ditto.
3215 * s390-tdep.c (s390_gdbarch_init): Ditto.
3216 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
3217 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3218 * mips-tdep.c (mips_gdbarch_init): Ditto.
3219 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3220 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3221 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3222 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
3223 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
3224 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3225 * frv-tdep.c (frv_gdbarch_init): Ditto.
3226 * cris-tdep.c (cris_gdbarch_init): Ditto.
3227 * avr-tdep.c (avr_gdbarch_init): Ditto.
3228 * arm-tdep.c (arm_gdbarch_init): Ditto.
3229 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
3230 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3231
35cac7cf
AC
32322003-03-01 Andrew Cagney <cagney@redhat.com>
3233
3234 * gdbarch.sh (register_type): New function with predicate.
3235 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
3236 * gdbarch.h, gdbarch.c: Re-generate.
3237 * arch-utils.c (generic_register_byte): Use generic_register_size.
3238 (generic_register_size): When available, use
3239 gdbarch_register_type.
3240 * regcache.c (init_regcache_descr): When available, initialize the
3241 register type array using gdbarch_register_type. If the
3242 architecture supplies gdbarch_register_type, do not use the legacy
3243 regcache layout.
3244 * d10v-tdep.c (d10v_register_type): Replace
3245 d10v_register_virtual_type.
3246 (d10v_gdbarch_init): Set register_type instead of
3247 register_virtual_type.
3248
7b83296f
AC
32492003-03-01 Andrew Cagney <cagney@redhat.com>
3250
3251 * Makefile.in (ax-gdb.o): Update dependencies.
3252 * ax-gdb.c: Include "regcache.h".
3253 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
3254 * findvar.c (value_of_register): Ditto.
3255 * infcmd.c (default_print_registers_info): Ditto.
3256
eadc1c87
MK
32572003-03-01 Mark Kettenis <kettenis@gnu.org>
3258
3259 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
3260 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
3261
14143612
MK
32622003-03-01 Mark Kettenis <kettenis@gnu.org>
3263
3264 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
3265 of STREQ.
3266
a55cc764
DJ
32672003-02-28 Daniel Jacobowitz <drow@mvista.com>
3268
3269 * Makefile.in (dwarf2loc.o): Update dependencies.
3270 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
3271 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
3272 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
3273 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
3274 (locexpr_tracepoint_var_ref): New function.
3275 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
3276
08a617da
AC
32772003-02-28 Andrew Cagney <cagney@redhat.com>
3278
3279 * regcache.c (register_size): New function.
3280 * regcache.h (register_size): Declare
3281 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
3282 max_register_size instead of MAX_REGISTER_RAW_SIZE.
3283
4224873a
DC
32842003-02-28 David Carlton <carlton@math.stanford.edu>
3285
3286 * linespec.c (decode_compound): Extract code into find_method.
3287 (find_method): New.
3288
ccdc5d7f
JB
32892003-02-28 J. Brobecker <brobecker@gnat.com>
3290
3291 * Makefile.in: Add rules to build and link in observer.o.
3292
974e8ced
JB
32932003-02-27 J. Brobecker <brobecker@gnat.com>
3294
3295 * observer.c: Minor comments edits.
3296
7a28f973
JB
32972003-02-27 J. Brobecker <brobecker@gnat.com>
3298
3299 * observer.h, observer.c: New file.
3300
27cddce2
AC
33012003-02-27 Andrew Cagney <cagney@redhat.com>
3302
3303 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
3304
b94a41a1
SC
33052003-02-27 Stephane Carrez <stcarrez@nerim.fr>
3306
3307 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
3308 (M6812_OP_STS_EXT): Likewise.
3309 (m6811_prologue): Use the above to recognize prologue.
3310 (m6812_prologue): Likewise.
3311
c8be8951
DC
33122003-02-27 David Carlton <carlton@math.stanford.edu>
3313
3314 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
3315 SYMBOL_PRINT_NAME.
3316 (compare_psymbols): Ditto.
3317 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
3318
d05bb1fc
MS
33192003-02-27 Michael Snyder <msnyder@redhat.com>
3320
4e845cd3
MS
3321 * f-lang.c (build_fortran_types): New function.
3322 (_initialize_f_language): Gdbarch-register built-in fortran types.
d05bb1fc
MS
3323 * doublest.c (extract_floating): Fix warning text.
3324
f3824013
AC
33252003-02-27 Andrew Cagney <cagney@redhat.com>
3326
3327 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
3328 predicate. Replaces PUSH_DUMMY_FRAME.
3329 * gdbarch.h, gdbarch.c: Regnerate.
3330 * valops.c (hand_function_call): Update. Call
3331 generic_push_dummy_frame directly.
3332 * vax-tdep.c (vax_gdbarch_init): Update.
3333 * sparc-tdep.c (sparc_gdbarch_init): Update.
3334 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
3335 * m68k-tdep.c (m68k_gdbarch_init): Update.
3336 * hppa-tdep.c (hppa_gdbarch_init): Update.
3337 * alpha-tdep.c (alpha_gdbarch_init): Update.
3338 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
3339 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
3340 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
3341 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
3342 push_dummy_frame to generic_push_dummy_frame.
3343 * v850-tdep.c (v850_gdbarch_init): Ditto.
3344 * sh-tdep.c (sh_gdbarch_init): Ditto.
3345 * s390-tdep.c (s390_gdbarch_init): Ditto.
3346 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
3347 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
3348 * mips-tdep.c (mips_gdbarch_init): Ditto.
3349 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
3350 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3351 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
3352 * i386-tdep.c (i386_gdbarch_init): Ditto.
3353 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
3354 * frv-tdep.c (frv_gdbarch_init): Ditto.
3355 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
3356 * cris-tdep.c (cris_gdbarch_init): Ditto.
3357 * avr-tdep.c (avr_gdbarch_init): Ditto.
3358 * arm-tdep.c (arm_gdbarch_init): Ditto.
3359
ad188201
KB
33602003-02-26 Kevin Buettner <kevinb@redhat.com>
3361
3362 * mips-tdep.c (show_mips_abi): New function.
3363 (_initialize_mips_tdep): Use show_mips_abi() to implement the
3364 command ``show mips abi''.
3365
6b37567a
JJ
33662003-02-26 Jeff Johnston <jjohnstn@redhat.com>
3367
3368 From Elena Zannoni <ezannoni@redhat.com>
3369 * dbxread.c (process_one_symbol): Only record line 0 if one or
3370 more sline entries have been seen for the function.
3371
d3e0a5bf
MC
33722003-02-26 Michael Chastain <mec@shout.net>
3373
3374 * configure: Regenerate with autoconf 000227.
3375
18972eea
MC
33762003-02-26 Michael Chastain <mec@shout.net>
3377
3378 Close PR build/660.
3379 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
3380 for old libc5/glibc.
3381 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
3382
0bbde931
KW
33832003-02-26 Kris Warkentin <kewarken@qnx.com>
3384
3385 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
3386 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
3387
27ca5dad
MC
33882003-02-26 Michael Chastain <mec@shout.net>
3389
3390 * configure.in: New variable HAVE_UINTPTR_T.
3391 * configure, config.in: Regenerated.
3392
6f88d630
DJ
33932003-02-26 Daniel Jacobowitz <drow@mvista.com>
3394
3395 Fix PR build/1097.
3396 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
3397
b14185ce
AC
33982003-02-25 Andrew Cagney <cagney@redhat.com>
3399
3400 * frame.c (get_prev_frame): Add comment on check for
3401 inside_entry_func. Only check for inside_entry_file when not a
3402 dummy and not a sentinel. Check that the new frame is not inner
3403 to the old frame.
3404
ac2bd0a9
AC
34052003-02-25 Andrew Cagney <cagney@redhat.com>
3406
3407 * frame.c (frame_debug): New variable.
3408 (_initialize_frame): Add "set/show debug frame" command.
3409 (get_prev_frame): When frame_debug, print reason why unwind
3410 failed.
3411
b18a0fd2
MC
34122003-02-25 Michael Chastain <mec@shout.net>
3413
3414 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
3415 to avoid uintptr_t definition problems.
3416
22abf04a
DC
34172003-02-25 David Carlton <carlton@math.stanford.edu>
3418
3419 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
3420 (SYMBOL_LINKAGE_NAME): Ditto.
3421 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
3422 SYMBOL_LINKAGE_NAME.
3423 (struct general_symbol_info): Expand comment.
3424 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
3425 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
3426 (SYMBOL_MATCHES_REGEXP): Ditto.
3427 * symtab.c (symbol_natural_name): New function.
3428 * objfiles.h: Replace all uses of SYMBOL_NAME by
3429 DEPRECATED_SYMBOL_NAME.
3430 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
3431 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
3432 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
3433 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
3434 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
3435 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
3436 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
3437 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
3438 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
3439 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
3440 * ada-exp.y: Ditto.
3441 * ada-exp.y: Update copyright.
3442 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
3443 * cp-valprint.c: Ditto.
3444
1a5848f6
JJ
34452003-02-25 Jeff Johnston <jjohnstn@redhat.com>
3446
3447 * infptrace.c (detach): Do not flag error if ptrace detach fails
3448 and errno is set to ESRCH.
3449
7343d46a
AC
34502003-02-24 Andrew Cagney <cagney@redhat.com>
3451
3452 * infptrace.c (udot_info): Change type of udot_off to long. Use
3453 paddr when printing udot_off's value.
3454
49fa1dc2
DC
34552003-02-24 David Carlton <carlton@math.stanford.edu>
3456
3457 * symtab.c (make_symbol_overload_list): Only read in partial
3458 symtabs containing a matching partial symbol.
3459
0fe19209
DC
34602003-02-24 David Carlton <carlton@math.stanford.edu>
3461
3462 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
3463 do the comparison, not strcmp.
3464 * symfile.c (compare_psymbols): Ditto.
3465 * defs.h: Declare strcmp_iw_ordered.
3466 * utils.c (strcmp_iw_ordered): New function.
3467
8e3ee7b5
JB
34682003-02-24 Jim Blandy <jimb@redhat.com>
3469
3470 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
3471 support, shared libs): Remove my name from here, to better reflect
3472 reality.
3473
7df1a324
KW
34742003-02-24 Kris Warkentin <kewarken@qnx.com>
3475
3476 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
3477 (target_ops): Add to_have_continuable_watchpoint.
3478 * target.c (update_current_target): Add INHERIT line for
3479 to_have_continuable_watchpoint.
3480 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
3481 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
3482 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
3483 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
3484
d1c76907
EZ
34852003-02-24 Elena Zannoni <ezannoni@redhat.com>
3486
3487 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
3488 maintainership.
3489
2610b0bf
KW
34902003-02-24 Kris Warkentin <kewarken@qnx.com>
3491
f46169db
KW
3492 * solib.c (solib_open): Call target defined search function after
3493 failing with solib-search-path.
3494 * solist.h (target_so_ops): Add find_and_open_solib function hook and
3495 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2610b0bf 3496
9a3c34fe
KW
34972003-02-24 Kris Warkentin <kewarken@qnx.com>
3498
f46169db 3499 * MAINTAINERS: Add myself to Write After section.
9a3c34fe 3500
2417dd25
SC
35012003-02-23 Stephane Carrez <stcarrez@nerim.fr>
3502
3503 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
3504
b631436b
SC
35052003-02-22 Stephane Carrez <stcarrez@nerim.fr>
3506
3507 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
3508 (m68hc11_add_reggroups): New function.
3509 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
3510 (m68hc11_gdbarch_init): Install the reggroups.
3511 (_initialize_m68hc11_tdep): Initialize them.
3512
0aa8c1e4
JW
35132003-02-21 James E Wilson <wilson@tuliptree.org>
3514
3515 * MAINTAINERS: Update my email address.
3516
50ceaba5
DC
35172003-02-21 David Carlton <carlton@math.stanford.edu>
3518
3519 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
3520
4c2df51b
DJ
35212003-02-21 Daniel Jacobowitz <drow@mvista.com>
3522
3523 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
3524 * symtab.h: Add opaque declarations of struct axs_value and
3525 struct agent_expr.
3526 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
3527 (struct location_funcs): New type.
3528 (struct symbol): Add "loc" to aux_value.
3529 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
3530 * dwarf2read.c: Include "dwarf2expr.h".
3531 (dwarf2_symbol_mark_computed): New function.
3532 (read_func_scope): Use it.
3533 (var_decode_location): New function.
3534 (new_symbol): Use it.
3535 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
3536
3537 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
3538 (dwarf2expr_h, dwarf2loc_h): New variables.
3539 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
3540 (dwarf2expr.o, dwarf2loc.o): New rules.
3541 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
3542 * buildsym.c (finish_block): Handle LOC_COMPUTED and
3543 LOC_COMPUTED_ARG.
3544 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
3545 * m2-exp.y (yylex): Likewise.
3546 * printcmd.c (address_info, print_frame_args): Likewise.
3547 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
3548 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
3549 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
3550 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
3551 * symtab.c (lookup_block_symbol): Likewise.
3552
5784d15e
AF
35532003-02-20 Adam Fedor <fedor@gnu.org>
3554
3555 * symtab.h: Remove objc_specific struct
3556 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
3557 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
3558 Have language_objc use cplus_specific struct.
3559
d4cad8db
TT
35602003-02-20 Tom Tromey <tromey@redhat.com>
3561
3562 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
3563 TYPE_NAME, when printing a String value. PR java/1075.
3564
2f9a90b4
AF
35652003-02-20 Adam Fedor <fedor@gnu.org>
3566
d38074a8 3567 * objc-lang.h (find_methods): Remove declaration.
2f9a90b4
AF
3568 * objc-lang.c (find_methods): Make static.
3569
6f17862b
CF
35702003-02-20 Christopher Faylor <cgf@redhat.com>
3571
3572 * win32-nat.c (get_image_name): Check return value from
3573 ReadProcessMemory.
3574 (child_xfer_memory): Ditto.
3575
715d1656
AO
35762003-02-20 Alexandre Oliva <aoliva@redhat.com>
3577
3578 * configure.in (TARGET_SYSTEM_ROOT): Set default to
3579 ${exec_prefix}/${target_alias}/sys-root. Match explicit
3580 '${exec_prefix}' (in addition to the expansion thereof) as
3581 relocatable.
3582 * configure: Rebuilt.
3583
b1262a02
DC
35842003-02-20 David Carlton <carlton@math.stanford.edu>
3585
3586 * symtab.c (search_symbols): Revert the search_symbols part of my
3587 2002-12-23 patch. Add comment.
3588
7134143f
DJ
35892002-02-20 Daniel Jacobowitz <drow@mvista.com>
3590
3591 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
3592 * dbxread.c (elfstab_build_psymtabs): Don't call
3593 install_minimal_symbols.
3594 (stabsect_build_psymtabs): Likewise.
3595 * elfread.c (elf_symfile_read): Call install_minimal_symbols
3596 earlier.
3597 * somread.c (som_symfile_read): Call install_minimal_symbols
3598 and do_cleanups earlier.
3599 * nlmread.c (nlm_symfile_read): Likewise.
3600 * mdebugread.c (elfmdebug_build_psymtabs): Call
3601 install_minimal_symbols and make appropriate cleanups.
3602
cf466558
KB
36032003-02-20 Kevin Buettner <kevinb@redhat.com>
3604
3605 * solib.c (reload_shared_libraries): New function.
3606 (_initialize_solib): Add callbacks for ``set solib-search-path''
3607 and ``set solib-absolute-prefix''.
3608
de5ad195
DC
36092003-02-20 David Carlton <carlton@math.stanford.edu>
3610
3611 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
3612 expand comment.
3613 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
3614 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
3615 * ada-typeprint.c (ada_typedef_print): Ditto.
3616 * ax-gdb.c (gen_var_ref): Ditto.
3617 * breakpoint.c (print_one_breakpoint): Ditto.
3618 * buildsym.c (finish_block): Ditto.
3619 * c-valprint.c (c_val_print): Ditto.
3620 * expprint.c (print_subexp): Ditto.
3621 * findvar.c (locate_var_value): Ditto.
3622 * infcmd.c (jump_command): Ditto.
3623 * linespec.c (decode_line_2, decode_compound): Ditto.
3624 * maint.c (maintenance_translate_address): Ditto.
3625 * objc-lang.c (compare_selectors, compare_classes): Ditto.
3626 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
3627 Ditto.
3628 * p-valprint.c (pascal_val_print): Ditto.
3629 * stabsread.c (define_symbol): Ditto.
3630 * stack.c (print_frame, frame_info, print_block_frame_locals)
3631 (print_frame_arg_vars, return_command): Ditto.
3632 * symfile.c (compare_symbols, compare_psymbols): Ditto.
3633 * symmisc.c (print_symbol): Ditto.
3634 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
3635 (compare_search_syms, print_symbol_info, print_msymbol_info)
3636 (rbreak_command): Ditto.
3637 * tracepoint.c (tracepoints_info): Ditto.
3638 * typeprint.c (typedef_print): Ditto.
3639 * valops.c (value_of_variable, hand_function_call): Ditto.
3640 * cli/cli-cmds.c (edit_command, list_command): Ditto.
3641 * ada-typeprint.c: Update Copyright.
3642 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
3643 * tracepoint.c, cli/cli-cmds.c: Ditto.
3644
f796e4be
KB
36452003-02-20 Kevin Buettner <kevinb@redhat.com>
3646
3647 * frame.c (generic_unwind_get_saved_register): Make non-static.
3648 * frame.h (generic_unwind_get_saved_register): Declare.
3649 * mips-tdep.c (read_next_frame_reg): Fetch register from
3650 current regcache when frame is NULL.
3651 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
3652 that must be NULL.
3653 (mips_get_saved_register): Call generic_unwind_get_saved_register()
3654 instead of frame_register_unwind().
3655
836cc9f4
AC
36562003-02-20 Andrew Cagney <ac131313@redhat.com>
3657
3658 * remote-sim.c (gdbsim_insert_breakpoint)
3659 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
3660 code.
3661
501eef12
AC
36622003-02-20 Andrew Cagney <ac131313@redhat.com>
3663
3664 * remote.c (_initialize_remote): Add commands "set/show remote
3665 hardware-watchpoint-limit" and "set/show remote
3666 hardware-breakpoint-limit".
3667 (remote_hw_watchpoint_limit): Initialize to -1.
3668 (remote_hw_breakpoint_limit): Ditto.
3669 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
3670
1b6bc7e0
CF
36712003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
3672
3673 * coff-pe-read.c: New file - support reading of minimal symbols from a
3674 portable executable using the export table.
3675 * coff-pe-read.h: New file.
3676 * coffread.c: Include coff-pe-read.h.
3677 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
3678 debugging symbols found.
3679 * Makefile.in (SFILES): Add coff-pe-read.o.
3680 (coff_pe_read_h): Define.
3681 (COMMON_OBS): Add coff-pe-read.o.
3682 (coffread.o): Add coff_pe_read_h dependency.
3683 (coff-pe-read.o): New target.
3684
fe898f56
DC
36852003-02-19 David Carlton <carlton@math.stanford.edu>
3686
3687 * Makefile.in (SFILES): Add block.c.
3688 (block_h): New.
3689 (COMMON_OBS): Add block.o.
3690 (block.o): New.
3691 (x86-64-tdep.o): Add $(block_h).
3692 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
3693 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
3694 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
3695 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
3696 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
3697 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
3698 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
3699 * value.h: Add opaque declaration for struct block.
3700 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
3701 * ada-lang.h: Ditto.
3702 * x86-64-tdep.c: #include "block.h"
3703 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
3704 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
3705 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
3706 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
3707 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
3708 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
3709 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
3710 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
3711 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
3712 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
3713 * symtab.c (block_function): Ditto.
3714 (contained_in): Ditto.
3715 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
3716 block.h. Add opaque declaration for struct block.
3717 * symtab.h: Move block_function and contained_in declarations to
3718 block.h. Add opaque declarations for struct block, struct
3719 blockvector.
3720 (struct block): Move to block.h.
3721 (struct blockvector): Ditto.
3722 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
3723 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
3724 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
3725 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
3726 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
3727 Ditto.
3728 * block.c: New file.
3729 * block.h: New file.
3730
173345b5
TR
37312003-02-19 Theodore A. Roth <troth@openavr.org>
3732
3733 * avr-tdep.c (avr_extract_return_value): Remove function.
3734 (avr_store_return_value): Remove function.
3735 (avr_extract_struct_value_address): Remove function.
3736 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
3737
338ef23d
AC
37382003-02-19 Andrew Cagney <ac131313@redhat.com>
3739
3740 * rs6000-tdep.c: Include "gdb_assert.h".
3741 (registers_e500): Add "acc" and "spefscr".
3742 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
3743 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
3744 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
3745 really is "r0".
3746 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
3747
5412f5f3
KS
37482003-02-18 Keith Seitz <keiths@redhat.com>
3749
3750 * Makefile.in: Add gdbtk-interps.c.
3751
881324eb
KB
37522003-02-18 Kevin Buettner <kevinb@redhat.com>
3753
3754 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
3755 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
3756
6a2f5abf
AC
37572003-02-18 Andrew Cagney <cagney@redhat.com>
3758
3759 * symtab.h (struct objfile): Add opaque declaration.
3760
54c7009d
EZ
37612003-02-18 Elena Zannoni <ezannoni@redhat.com>
3762
3763 From Jim Ingham <jingham@apple.com>:
3764 * dbxread.c (process_one_symbol): Use last_function_start rather
3765 than function_start_offset to find the real beginning of the
3766 current function. The latter is just the text section offset on
3767 some systems, the former is always the real function start.
3768
7ee6d7eb
AC
37692003-02-17 Andrew Cagney <cagney@redhat.com>
3770
3771 * configure.in: Revert ${target} != ${host}.
3772
2846da9b
AC
37732003-02-17 Andrew Cagney <ac131313@redhat.com>
3774
3775 * configure.in (Makefile): Use the test ${target} != ${host},
3776 instead of the absence of the "nm.h" file, to determine of the
3777 configuration non-native.
3778 * configure: Regenerate.
3779
3b27aeea
EZ
37802003-02-14 Elena Zannoni <ezannoni@redhat.com>
3781
3782 From Brian Ford <ford@vss.fsi.com>
3783
3784 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
3785 conditionalize tui_active test.
3786 (lookup_cmd_1): Ditto.
3787
b0b1c2c0
MK
37882003-02-14 Mark Kettenis <kettenis@gnu.org>
3789
3790 * configure.in: Add check for _etext.
3791 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
3792 available.
3793 * config.in, configure: regenerated.
3794
8f05cde5
DJ
37952003-02-14 Daniel Jacobowitz <drow@mvista.com>
3796
3797 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
3798
021e7609
AC
37992003-02-14 Andrew Cagney <ac131313@redhat.com>
3800
3801 * main.c (tui_version): Delete variable.
3802 (captured_main): When --tui, set interpreter_p to "tui" instead of
3803 enabling tui_version.
3804 * printcmd.c (display_command) [TUI]: Test tui_active instead of
3805 tui_version.
3806 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
3807 * cli/cli-cmds.c (disassemble_command): Ditto.
3808 * defs.h (tui_version): Delete declaration.
3809 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
3810 (tui-interp.o): Add rules.
3811 (SUBDIR_TUI_OBS): Add "tui-interp.o".
3812
e325dcec
CF
38132003-02-14 Christopher Faylor <cgf@redhat.com>
3814
36ffb041 3815 * win32-nat.c (register_loaded_dll): Correctly set address range for
e325dcec
CF
3816 just-loaded dll.
3817
c4f90d87
JM
38182003-02-12 Jason Molenda (jmolenda@apple.com)
3819
3820 * symmisc.c (print_objfile_statistics): Include information about
3821 the number of psymtabs and symtabs in each object file.
3822
e46e5ccd
KS
38232003-02-13 Keith R Seitz <keiths@redhat.com>
3824
3825 * main.h (struct captured_main_args): Add interpreter_p.
3826 * main.c (captured_main): Initialize interpreter_p from context.
3827 * gdb.c (main): Set interpreter_p argument.
3828 * Makefile.in (gdb.o): Add dependency for interps.h.
3829
fe97fe9c
AC
38302003-02-12 Andrew Cagney <ac131313@redhat.com>
3831
3832 * event-top.c (cli_command_loop): Delete declaration.
3833 (_initialize_event_loop): Delete function setting event_loop_hook.
3834 * event-top.h (cli_command_loop): Declare. Update copyright.
3835 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
3836 * interps.c (current_interp_command_loop): When event_loop_p, call
3837 cli_command_loop.
3838
1cdac4ef
AC
38392003-02-12 Andrew Cagney <ac131313@redhat.com>
3840
3841 * interps.h (interp_command_loop_ftype): Change return type to
3842 void.
3843
48037ead
ML
38442003-02-12 Michal Ludvig <mludvig@suse.cz>
3845
3846 * x86-64-tdep.c (x86_64_extract_return_value)
3847 (x86_64_store_return_value): Use regcache instead of regbuf.
3848 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
3849 * x86-64-linux-nat.c (fill_gregset): Use regcache.
3850
033afc63
AC
38512003-02-11 Andrew Cagney <ac131313@redhat.com>
3852
3853 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
3854 * aclocal.m4: Regenerate.
3855 * configure: Regenerate.
3856
3857 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
3858 TCL_LD_SEARCH_FLAGS.
3859
40d02bca
ML
38602003-02-10 Michal Ludvig <mludvig@suse.cz>
3861
3862 * dwarf2cfi.c: Reindented.
3863
11308a41
AC
38642003-02-09 Andrew Cagney <ac131313@redhat.com>
3865
3866 * interps.c (clear_interpreter_hooks): Convert function definition
3867 to ISO C.
3868
e1c1c0f6
DC
38692003-02-07 David Carlton <carlton@math.stanford.edu>
3870
3871 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
3872
ab5d3da6
KB
38732003-02-07 Kevin Buettner <kevinb@redhat.com>
3874
3875 * gdbtypes.h (struct main_type): Move ``length'' field from here...
3876 (struct type): ...to here.
3877 (TYPE_LENGTH): Adjust to reflect different location of ``length''
3878 field.
3879 * gdbtypes.c (make_qualified_type): Set length on newly created type.
3880 (replace_type): Set length on all type variants for a given type.
3881
b8a92b82
AC
38822003-02-07 Andrew Cagney <ac131313@redhat.com>
3883
3884 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
3885 <sys/stat.h>.
3886 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
3887
5cb316ef
AC
38882003-02-06 Andrew Cagney <ac131313@redhat.com>
3889
2555fe1a
AC
3890 * Makefile.in (symm-nat.o): Update dependencies.
3891 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
3892 (lynx-nat.o, ia64-linux-nat.): Ditto.
3893 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
3894 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
3895 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
3896
44270758
AC
3897 * Makefile.in (inflow_h): Define.
3898 (procfs.o, inflow.o, procfs.o): Update dependencies.
3899 * inftarg.c (child_stop): Delete extern declaration of
3900 inferior_process_group. Include "inflow.h".
3901 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
3902 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
3903 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
3904 (our_process_group, inferior_process_group): Extern declarations.
3905
df8f7274
AC
3906 * procfs.c: Include "gdb_assert.h".
3907
5cb316ef
AC
3908 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
3909 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
3910 * jv-typeprint.c (java_type_print_base): Ditto.
3911 * typeprint.c (typedef_print): Eliminate STREQ.
3912 * cli/cli-script.c (define_command, define_command): Ditto.
3913 * main.c (captured_main): Ditto.
3914 * values.c (lookup_internalvar): Ditto.
3915 * utils.c (safe_strerror, parse_escape): Eliminate assignment
3916 within `if' conditional.
3917 * linespec.c (decode_line_2): Ditto.
3918 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
3919 (bfd_openw_with_cleanup): Ditto.
3920
2a28ccea
MK
39212003-02-07 Mark Kettenis <kettenis@gnu.org>
3922
3923 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
3924 legacy_extract_return_value and store_return_value to
3925 legacy_return_value.
3926
786b8124
CF
39272003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
3928
3929 * win32-nat.c (get_relocated_section_addrs): New function. Find
3930 section load addresses for symbol handling in relocated DLLs.
3931 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
3932
b871e4ec
FF
39332003-02-05 Fred Fish <fnf@intrinsity.com>
3934
3935 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
3936 '=' and '!='.
3937 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
3938 with '&' and '=='.
3939 (angel_RDI_info): Ditto.
3940 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
3941 with '&' and '!='.
3942 (threads_continue_all_with_signals): Ditto.
3943
4389a95a
AC
39442003-02-05 Jim Ingham <jingham@apple.com>
3945 Keith Seitz <keiths@redhat.com>
3946 Elena Zannoni <ezannoni@redhat.com>
3947 Andrew Cagney <ac131313@redhat.com>
3948
3949 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
3950 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
3951 (SUBDIR_MI_OBS): Add "mi-interp.o".
3952 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
3953 (SFILES): Add "interps.c".
3954 (COMMON_OBS): Add "interps.o".
3955 (interps_h, mi_main_h): Define.
3956 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
3957 (mi-main.o, main.o, event-top.o): Update dependencies.
3958 * cli/cli-interp.c: New file.
3959 * interps.h, interps.c: New files.
3960 * top.c: (gdb_init): Don't install the default interpreter, handed
3961 by captured_main.
3962 * main.c: Include "interps.h".
3963 (interpreter_p): Note that it should malloc'ed.
3964 (captured_command_loop): Call current_interp_command_loop.
3965 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
3966 xfree and xstrdup when updating interpreter_p. Install the
3967 default interpreter. Add hack to stop mi1's copyright notice
3968 being encoded.
3969 * event-top.h (gdb_setup_readline): Declare.
3970 (gdb_disable_readline): Declare.
3971 * event-top.c: Include "interps.h".
3972 (display_gdb_prompt): Call current_interp_display_prompt_p.
3973 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
3974 gdb_stdlog, and gdb_stdtarg.
3975 (_initialize_event_loop): Don't call gdb_setup_readline.
3976 * cli-out.c (cli_out_set_stream): New function.
3977 * cli-out.h (cli_out_set_stream): Declare.
3978
ff3b5810
MK
39792003-02-06 Mark Kettenis <kettenis@gnu.org>
3980
3981 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
3982 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
3983 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
3984 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
3985 config/i386/i386v42mp.mt: Removed.
3986
5b729aa5
MK
39872003-02-05 Mark Kettenis <kettenis@gnu.org>
3988
3989 * configure.tgt (*-*-solaris*): Set gdb_osabi to
3990 GDB_OSABI_SOLARIS.
3991
8cc15142
MC
39922003-02-05 Michael Chastain <mec@shout.net>
3993
3994 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
3995 2.12.1 and earlier versions.
3996
5aa5d4b9
AC
39972003-02-05 Andrew Cagney <ac131313@redhat.com>
3998
3999 Remove orphaned hosts, targets and files.
4000 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
4001 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
4002 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
4003 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
4004 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
4005 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
4006 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
4007 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
4008 * config/sparc/tm-sp64sim.h: Delete.
4009 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
4010 hosts.
4011 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
4012 mips*-dec-mach3* targets.
4013
b68767c1
MC
40142003-02-04 Michael Chastain <mec@shout.net>
4015
4016 * NEWS: Fix typo: sepcifying -> specifying.
4017
5ae7ca1d
MC
40182003-02-04 Michael Chastain <mec@shout.net>
4019
4020 * dwarfread.c: Add documentation on the state of dwarf-1,
4021 looking towards obsoletion.
4022
d08a4280
MC
40232003-02-03 Michael Chastain <mec@shout.net>
4024
4025 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
4026 gdb/testsuite/gdb.c++/pr-1023.exp.
4027
e9be73e4
AC
40282003-02-04 Andrew Cagney <ac131313@redhat.com>
4029
4030 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
4031 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
4032
4033 * utils.c (init_page_info): Delete reference to MPW in comments.
4034 * main.c (captured_main): Delete #ifdef MPW.
4035
05d57f6f
AC
40362003-02-04 Andrew Cagney <ac131313@redhat.com>
4037
4038 * NEWS: Note that the m32r-*-elf* is obsolete.
4039 * monitor.c (monitor_expect): Obsolete reference to m32r.
4040 * configure.tgt: Mark m32r-*-elf* as obsolete.
4041 * MAINTAINERS: Mark m32k as obsolete.
4042 * m32r-rom.c: Obsolete file.
4043 * config/m32r/m32r.mt: Obsolete file.
4044 * config/m32r/tm-m32r.h: Obsolete file.
4045 * m32r-stub.c: Obsolete file.
4046 * m32r-tdep.c: Obsolete file.
4047
8b0e5691
AC
40482003-02-04 Andrew Cagney <ac131313@redhat.com>
4049
4050 * NEWS: Mention that the z8k-zilog-none is obsolete.
4051 * MAINTAINERS: Mark z8k as obsolete.
4052 * configure.tgt: Obsolete the z8k-*-coff* target.
4053 * config/z8k/z8k.mt: Obsolete file.
4054 * config/z8k/tm-z8k.h: Obsolete file.
4055 * z8k-tdep.c: Obsolete file.
4056
67f16606
AC
40572003-02-04 Andrew Cagney <ac131313@redhat.com>
4058
4059 * NEWS: Mention that the mn10200-elf is obsolete.
4060 * configure.tgt: Obsolete mn10200-*-* target.
4061 * breakpoint.c (update_breakpoints_after_exec): Update comment to
4062 mention that the mn10200 is obsolete.
4063 * breakpoint.h: Ditto.
4064 * MAINTAINERS: Mark the mn10200-elf as obsolete.
4065 * config/mn10200/mn10200.mt: Obsolete file.
4066 * config/mn10200/tm-mn10200.h: Obsolete file.
4067 * mn10200-tdep.c: Obsolete file.
4068
fd2299bd
AC
40692003-02-04 Andrew Cagney <ac131313@redhat.com>
4070
4071 * MAINTAINERS: Mark h8500 as obsolete.
4072 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
4073 * findvar.c (value_from_register): Ditto.
4074 * h8500-tdep.c: Mark file as obsolete.
4075 * config/h8500/h8500.mt: Ditto.
4076 * config/h8500/tm-h8500.h: Ditto.
4077 * NEWS: Mention that h8500 is obsolete.
4078
eb9a305d
DC
40792003-02-04 David Carlton <carlton@math.stanford.edu>
4080
4081 * objfiles.c (allocate_objfile): Always set name. Add comment at
4082 start of function.
4083 * jv-lang.c (get_dynamics_objfile): Add comment.
4084
406fc7fb
DC
40852003-02-04 David Carlton <carlton@math.stanford.edu>
4086
4087 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
4088 * printcmd.c (build_address_symbolic): Replace uses of
4089 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
4090 SYMBOL_NAME, and asm_demangle.
4091 Update copyright.
4092
93d91629
DC
40932003-02-04 David Carlton <carlton@math.stanford.edu>
4094
4095 * linespec.c (decode_compound): Extract code into
4096 lookup_prefix_sym.
4097 (lookup_prefix_sym): New function.
4098
1c5cb38e
DC
40992003-02-04 David Carlton <carlton@math.stanford.edu>
4100
4101 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
4102 FLOAT_COERCION_BADNESS.
4103 * gdbtypes.c (rank_one_type): Replace all uses of
4104 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
4105
0cf824c9
JB
41062003-02-04 Jim Blandy <jimb@redhat.com>
4107
4108 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
4109 section, let dwarf_macinfo_section point to it, not
4110 dwarf_loc_section.
4111
a2d356b0
DJ
41122003-02-04 Daniel Jacobowitz <drow@mvista.com>
4113
4114 Pointed out by Anton Blanchard <anton@samba.org>.
4115 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
4116 (ppc_linux_at_sigtramp_return_path): Use it.
4117
2de7ced7
DJ
41182003-02-04 Daniel Jacobowitz <drow@mvista.com>
4119
4120 * defs.h (streq): Add prototype.
4121 * utils.c (streq): New function.
4122
4123 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
4124 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
4125 * mdebugread.c (new_symbol): Likewise.
4126 * stabsread.c (define_symbol): Likewise.
4127 * coffread.c (process_coff_symbol): Likewise.
4128 * dwarfread.c (new_symbol): Likewise.
4129
4130 * minsyms.c (prim_record_minimal_symbol_and_info): Use
4131 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
4132 here.
4133 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
4134 SYMBOL_INIT_DEMANGLED_NAME.
4135 * objfiles.c: Include "hashtab.h".
4136 (allocate_objfile): Call htab_set_functions_ex for the
4137 demangled_names_hash.
4138 (free_objfile): Call htab_delete for the demangled_names_hash.
4139 * objfiles.h (struct htab): Add declaration.
4140 (struct objfile): Add demangled_names_hash.
4141 * symfile.c: Include "hashtab.h".
4142 (reread_symbols): Call htab_delete for the demangled_names_hash.
4143 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
4144 SYMBOL_NAME in the bcache.
4145 * symtab.c: Include "hashtab.h". Update comments.
4146 (create_demangled_names_hash, symbol_set_names): New functions.
4147 (symbol_find_demangled_name): New function, broken out from
4148 symbol_init_demangled_names.
4149 (symbol_init_demangled_names): Use it.
4150 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
4151 (SYMBOL_SET_NAMES): New macro.
4152 (symbol_set_names): Add prototype.
4153
15831452
JB
41542003-02-03 Jim Blandy <jimb@redhat.com>
4155
4156 Use a single, consistent representation for an empty minimal
4157 symbol table in an objfile.
4158 * objfiles.c (terminate_minimal_symbol_table): New function.
4159 (allocate_objfile): Call it.
4160 * objfiles.h (terminate_minimal_symbol_table): New declaration.
4161 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
4162 non-NULL.
4163 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
4164 objfile has minimal symbols, compare minimal_symbol_count to zero,
4165 instead of comparing msymbols with NULL.
4166 * objfiles.c (have_minimal_symbols): Same.
4167 * solib-sunos.c (solib_add_common_symbols): Call
4168 terminate_minimal_symbol_table.
4169 * symfile.c (reread_symbols): Same.
4170
ffc65945
KB
41712003-02-03 Kevin Buettner <kevinb@redhat.com>
4172
4173 * s390-tdep.c (s390_address_class_type_flags)
4174 (s390_address_class_type_flags_to_name)
4175 (s390_address_class_name_to_type_flags): New functions.
4176 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
4177 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
4178
f211c6d4
MS
41792003-02-03 Michael Snyder <msnyder@redhat.com>
4180
4181 * arm-tdep.c: Fix spell-o in comment.
4182
659b0389
ML
41832003-02-03 Michal Ludvig <mludvig@suse.cz>
4184
4185 * dwarf2cfi.c (pointer_encoding): Added new parameter.
4186 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
4187 error messages to contain BFD filename.
4188
3b31d625
EZ
41892003-02-02 Elena Zannoni <ezannoni@redhat.com>
4190
997b089a 4191 Fix PR gdb/742 gdb/743 gdb/877
3b31d625
EZ
4192 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
4193 (do_mixed_source_and_assembly): Use
4194 make_cleanup_ui_out_tuple_begin_end and
4195 make_cleanup_ui_out_tuple_begin_end.
4196 (do_mixed_source_and_assembly): Ditto.
4197 * thread.c (do_captured_list_thread_ids): Ditto.
4198 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
4199 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
4200 ui_out_tuple_end): Delete prototypes.
4201 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
4202 ui_out_list_end, ui_out_tuple_end): Delete.
4203
4204 From Kevin Buettner <kevinb@redhat.com>:
4205 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
4206 * ui-out.c (make_cleanup_ui_out_table_begin_end)
4207 (do_cleanup_table_end): New functions.
4208 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
4209 Use cleanups to invoke_ui_out_tuple_end().
4210 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
4211 * cli/cli-setshow.c (cmd_show_list): Use
4212 make_cleanup_ui_out_tuple_begin_end.
4213
5b181d62
AC
42142003-02-02 Andrew Cagney <ac131313@redhat.com>
4215
4216 * frame.c (frame_unwind_register): New function.
4217 (frame_unwind_unsigned_register): Use.
4218 (frame_unwind_signed_register): Use.
4219 (frame_read_register): New function.
4220 * frame.h (frame_unwind_register): Declare.
4221 (frame_read_register): Declare.
4222
4223 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
4224 and frame_unwind_register instead of read_memory, write_register
4225 and deprecated_write_register_bytes.
4226
5f601589
AC
42272003-02-02 Andrew Cagney <ac131313@redhat.com>
4228
4229 * frame.h: Note that namelen can be negative.
4230 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
4231 NAME's length.
4232
4233 * NEWS: Mention that the d10v's `regs' command is deprecated.
4234 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
4235 (d10v_print_registers_info): New function.
4236 (show_regs): Call d10v_print_registers_info.
4237 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
4238
6a3fe0a4
MK
42392003-02-02 Mark Kettenis <kettenis@gnu.org>
4240
4241 * stack.c (print_frame_info): Restore call to annotate_frame_begin
4242 lost in the previous patch.
4243
075559bc
AC
42442003-02-01 Andrew Cagney <ac131313@redhat.com>
4245
4246 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
4247 * stack.c (print_frame_info_base): Output complete FRAME tuple
4248 for synthesized frames.
4249
6789195b
AC
42502003-02-02 Andrew Cagney <ac131313@redhat.com>
4251
4252 * mips-nat.c (zerobuf): Delete.
4253 (fetch_inferior_registers): Alloc local zerobuf.
4254 (fetch_core_registers): Alloc local zerobuf.
4255 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
4256 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
4257 * thread-db.c (thread_db_store_registers): Ditto.
4258 * sh-tdep.c (sh_do_register): Ditto.
4259 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
4260 * remote-sim.c (gdbsim_store_register): Ditto.
4261 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
4262 * remote-e7000.c (fetch_regs_from_dump): Ditto.
4263 * monitor.c (monitor_supply_register): Ditto.
4264 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
4265 * mips-nat.c (fetch_inferior_registers): Ditto.
4266 * m68klinux-nat.c (fetch_register): Ditto.
4267 * lynx-nat.c (fetch_inferior_registers): Ditto.
4268 (fetch_inferior_registers): Ditto.
4269 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
4270 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
4271 (hpux_thread_store_registers): Ditto.
4272 * hppah-nat.c (fetch_register): Ditto.
4273 * hppab-nat.c (fetch_register): Ditto.
4274 * hppa-tdep.c (pa_register_look_aside): Ditto.
4275 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
4276 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
4277
e669114a
AC
42782003-02-01 Andrew Cagney <ac131313@redhat.com>
4279
4280 * gdbarch.sh: Explictly specify all method levels. When a
4281 variable with an empty level, provide a non-multi-arch default.
4282 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
4283 * gdbarch.h: Re-generate.
4284 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
4285 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
4286
9a043c1d
AC
42872003-02-01 Andrew Cagney <ac131313@redhat.com>
4288
4289 * defs.h (host_pointer_to_address): Delete declaration.
4290 (address_to_host_pointer): Delete declaration.
4291 * utils.c (host_pointer_to_address): Delete function.
4292 (address_to_host_pointer): Delete function.
4293 * procfs.c (procfs_address_to_host_pointer): New function.
4294 * procfs.c (proc_set_watchpoint): Use.
4295 (procfs_can_use_hw_breakpoint): Update comments.
4296 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
4297 (som_solib_add): Use.
4298 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
4299 * hppa-tdep.c (unwind_command): Use.
4300
7ca9f392
AC
43012003-02-01 Andrew Cagney <ac131313@redhat.com>
4302
94bbfd30
AC
4303 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
4304 strlen d_name.
4305
7ca9f392
AC
4306 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
4307 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
4308 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
4309 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
4310 (define_symbol): Update.
4311 * symfile.c (generic_load): Remove references to nindy.
4312 * symtab.c: Remove references to nindy.
4313
31a85ea2
AC
43142003-02-01 Andrew Cagney <ac131313@redhat.com>
4315
4316 * infcmd.c (print_float_info): Delete code conditional on
4317 FLOAT_INFO.
4318 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
4319 * config/m68k/nm-apollo68b.h: Ditto.
4320 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
4321 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
4322 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
4323
f6e85fc8
MK
43242003-02-01 Mark Kettenis <kettenis@gnu.org>
4325
6015b6a0
MK
4326 * config/i386/tm-i386os9k.h: Removed.
4327
f7a30bdf
MK
4328 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
4329 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
4330 they're identical to i[3456]86-*-sysv* now.
4331 * config/i386/i386v32.mh: Removed.
4332 * config/i386/xm-i386v32.h: Removed.
4333 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
4334
28d52111
MK
4335 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
4336
4d3f6bce
MK
4337 * config/i386/i386dgux.mh: Removed.
4338 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
4339
f6e85fc8
MK
4340 * configure.in: Fix typo.
4341 * configure: Regenerated.
4342
53955967
DC
43432003-01-31 David Carlton <carlton@math.stanford.edu>
4344
4345 * dwarf2read.c (dwarf2_locate_sections): Set
4346 dwarf_ranges_section.
4347
b1364885
AC
43482003-01-31 Andrew Cagney <ac131313@redhat.com>
4349
8dbb1c65
AC
4350 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
4351 * utils.c: Update comments documenting legitimate uses of PTR.
4352
8731e58e
AC
4353 * utils.c: Re-indent.
4354
b1364885
AC
4355 * config/djgpp/fnchange.lst: Delete nindy files.
4356 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
4357 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
4358 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
4359 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
4360 * nindy-share/README, nindy-share/Onindy.c: Delete files.
4361 * nindy-tdep.c, nindy-share/Makefile: Delete files.
4362 * Makefile.in (init.c): Remove nindy references.
4363 (saber_gdb): Delete rule.
4364 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
4365 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
4366 and a68v-nat.c.
4367 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
4368 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
4369 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
4370 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
4371 nindy-share/stop.h.
4372 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
4373 * saber.suppress: Delete file.
4374
086df311
DJ
43752003-01-31 Daniel Jacobowitz <drow@mvista.com>
4376
4377 * dbxread.c (stabs_data): New static variable.
4378 (fill_symbuf): Support an in-memory buffer for stabs data.
4379 (stabs_seek): New function.
4380 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
4381 (read_ofile_symtab): Use stabs_seek.
4382 (elfstab_build_psymtabs): Take an asection* instead of
4383 an offset and size. Relocate the stabs data if necessary.
4384 Save the section* for dbx_psymtab_to_symtab.
4385 * dwarf2read.c: Add section variables for each debug section.
4386 (dwarf2_locate_sections): Fill them in.
4387 (dwarf2_read_section): Take an asection* argument.
4388 Relocate the section contents if necessary.
4389 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
4390 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
4391 it to dwarf2_read_section.
4392 (dwarf2_build_frame_info): Update callers.
4393 * elfread.c (elf_symfile_read): Update call to
4394 elfstab_build_psymtabs.
4395 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
4396 (DBX_STAB_SECTION): New macro.
4397 * stabsread.h (elfstab_build_psymtabs): Update prototype.
4398 * symfile.c (symfile_dummy_outputs): New function.
4399 (symfile_relocate_debug_section): New function.
4400 * symfile.h (symfile_relocate_debug_section): Add prototype.
4401
87d1b352
RH
44022003-01-31 Richard Henderson <rth@redhat.com>
4403
4404 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
4405 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
4406 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
4407 * alpha-tdep.c (alpha_register_name): Add "unique".
4408 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
4409 (ALPHA_UNIQUE_REGNUM): New.
4410 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
4411
c48861fb
AC
44122003-01-31 Andrew Cagney <ac131313@redhat.com>
4413
4414 * README: Remove reference to Ericsson 1800 monitor.
4415 * Makefile.in (remote-es.o): Delete rule.
4416 (ALLDEPFILES): Delete remote-es.c.
4417 * remote-es.c: Delete file.
4418 * config/m68k/es1800.mt: Delete file.
4419 * config/djgpp/fnchange.lst: Update.
4420 * configure.tgt: Delete m68*-ericsson-* target.
4421
d764a824
AF
44222003-01-31 Adam Fedor <fedor@gnu.org>
4423
4424 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
4425 Remove duplicate/shadowing variable of same name.
4426
fe36c4f4
JB
44272003-01-30 Jim Blandy <jimb@redhat.com>
4428
4429 * symfile.c (find_separate_debug_file): Assert that the objfile's
4430 directory name we compute ends with a slash, and then assume that
4431 that's so everywhere we use it.
4432
cb741690
DJ
44332003-01-30 Daniel Jacobowitz <drow@mvista.com>
4434
4435 * valops.c (value_assign): Flush frame cache after stores to memory
4436 also.
4437
96ee5227
AC
44382003-01-30 Andrew Cagney <ac131313@redhat.com>
4439
4440 * Makefile.in (mon960-rom.o): Delete rule.
4441 * mon960-rom.c: Delete file.
4442
7f6104a9
AC
44432003-01-30 Andrew Cagney <ac131313@redhat.com>
4444
4445 * d10v-tdep.c: Include "frame-unwind.h".
4446 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
4447 list.
4448 (next_addr, uses_frame): Delete.
4449 (struct d10v_unwind_cache): Define.
4450 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
4451 Use info instead of next_addr and uses_frame globals.
4452 (d10v_frame_init_saved_regs): Delete function.
4453 (d10v_init_extra_frame_info): Delete function.
4454 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
4455 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
4456 init_frame_pc or frame_saved_pc.
4457 (d10v_pop_frame): Delete function.
4458 (do_d10v_pop_frame): Delete function.
4459 (d10v_frame_chain): Delete function.
4460 (d10v_frame_chain_valid): Delete function.
4461 (d10v_frame_pc_unwind): New function.
4462 (d10v_frame_id_unwind): New function.
4463 (saved_regs_unwinder): New function.
4464 (d10v_frame_register_unwind): New function.
4465 (d10v_frame_pop): New function.
4466 (d10v_frame_unwind): New variable.
4467 (d10v_frame_p): New function.
4468 (d10v_frame_saved_pc): Delete function.
4469 * Makefile.in (d10v-tdep.o): Update dependencies.
4470
cad2e848
JB
44712003-01-30 J. Brobecker <brobecker@gnat.com>
4472
4473 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
4474 causing some regressions due to a change in the default value
4475 for this macro.
4476
af34e669
DJ
44772003-01-29 Richard Henderson <rth@redhat.com>
4478 Elena Zannoni <ezannoni@redhat.com>
4479 Daniel Jacobowitz <drow@mvista.com>
4480
4481 Fix PR gdb/961.
4482 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
4483 variables.
4484 (RANGES_SECTION): New.
4485 (dwarf_ranges_buffer): New variable.
4486 (struct comp_unit_head): Add member "die".
4487 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
4488 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
4489 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
4490 (dwarf2_locate_sections): Likewise.
4491 (dwarf2_build_psymtabs): Read .debug_ranges.
4492 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
4493 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
4494 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
4495 Look for DW_AT_ranges and return the bounding box.
4496
baa93fa6
CF
44972003-01-29 Brian Ford <ford@vss.fsi.com>
4498
4499 * win32-nat.c (cygwin_pid): Removed as unused.
4500 (child_attach): Try fall back to Cygwin pid.
4501
c63f977f
JB
45022003-01-29 Jim Blandy <jimb@redhat.com>
4503
4504 * objfiles.h (struct objfile): Doc fix.
4505
d62d1979
AC
45062003-01-29 Andrew Cagney <ac131313@redhat.com>
4507
4508 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
4509 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
4510 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
4511 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
4512 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
4513 (FRAME_SAVED_PC): Change to a function with predicate.
4514 * gdbarch.h, gdbarch.c: Re-generate.
4515
1ae18a04
AC
45162003-01-28 Andrew Cagney <ac131313@redhat.com>
4517
52287340
AC
4518 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
4519
1ae18a04
AC
4520 * complaints.c (complain): Delete function.
4521 * complaints.h (struct deprecated_complaint): Delete definition.
4522 (complain): Delete declaration.
4523
f2c16bd6
KB
45242003-01-28 Kevin Buettner <kevinb@redhat.com>
4525
4526 * mips-tdep.c (mips_init_extra_frame_info): Return early for
4527 dummy frames.
4528
a94dd1fd
AC
45292003-01-27 Andrew Cagney <ac131313@redhat.com>
4530
4531 * sentinel-frame.h, sentinel-frame.c: New files.
4532 * Makefile.in (frame.o): Update dependencies.
4533 (SFILES): Add sentinel-frame.c.
4534 (sentinel_frame_h): Define.
4535 (COMMON_OBS): Add sentinel-frame.o.
4536 (sentinel-frame.o): Specify dependencies.
4537 * frame.c: Include "sentinel-frame.h".
4538 (frame_register_unwind): Rewrite assuming that there is always a a
4539 ->next frame.
4540 (frame_register, generic_unwind_get_saved_register): Ditto.
4541 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
4542 (create_sentinel_frame, unwind_to_current_frame): New functions.
4543 (get_current_frame): Rewrite using create_sentinel_frame and
4544 unwind_to_current_frame. When possible, always create a frame.
4545 (create_new_frame): Set next to the sentinel frame.
4546 (get_next_frame): Rewrite. Don't go below the level 0 frame.
4547 (deprecated_update_frame_pc_hack): Update the next frame's PC and
4548 ID cache when necessary.
4549 (frame_saved_regs_id_unwind): Use frame_relative_level.
4550 (deprecated_generic_get_saved_register): Use frame_relative_level,
4551 get_frame_saved_regs, get_frame_pc, get_frame_base and
4552 get_next_frame.
4553 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
4554 frame_register.
4555
5378adc4
DJ
45562003-01-27 Daniel Jacobowitz <drow@mvista.com>
4557
4558 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
4559
51ee2ddc
DJ
45602003-01-27 Daniel Jacobowitz <drow@mvista.com>
4561
4562 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
4563 (maintenance_set_profile_cmd): Use error () instead of warning ().
4564
d9feb4e7
DJ
45652003-01-27 Daniel Jacobowitz <drow@mvista.com>
4566
4567 * configure.in: Check that -pg works if using --enable-profiling.
4568 Check for monstartup and _mcleanup regardless of --enable-profiling.
4569 * maint.c: Check for monstartup and _mcleanup before using them.
4570 * config.in: Regenerated.
4571 * configure: Regenerated.
4572
2d188dd3
NC
45732003-01-24 Nick Clifton <nickc@redhat.com>
4574
4575 * Add sh2e support:
4576
4577 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
4578
4579 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
4580 (sh2e_show_regs): New.
4581 (sh_gdbarch_init): Handle bfd_mach_sh2e.
4582 * config/sh/tm-sh.h: Added sh2e to comments.
4583
cb3c37b2
JB
45842003-01-23 Jim Blandy <jimb@redhat.com>
4585
4586 * symfile.c (syms_from_objfile): Don't print the "(no debugging
4587 symbols found)" message here; we haven't checked for a separate
4588 debug info file yet, so we don't know yet.
4589 (symbol_file_add_with_addrs_or_offsets): Print it here, after
4590 we've looked everywhere. Also, there's no need to print a special
4591 message when we're loading the separate debug info file: the one
4592 symbol_file_add prints is fine.
4593
5b5d99cf
JB
45942003-01-23 Alexander Larsson <alexl@redhat.com>
4595 Jim Blandy <jimb@redhat.com>
4596
4597 Add support for executables whose debug info has been separated
4598 out into a separate file, leaving only a link behind.
4599 * objfiles.h (struct objfile): New fields: separate_debug_objfile
4600 and separate_debug_objfile_backlink.
4601 (put_objfile_before): New declaration.
4602 * symfile.c: #include "filenames.h".
4603 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
4604 debug info in a separate file, read that, too. Save the addrs
4605 argument, so we can use it again to read the separated debug info;
4606 syms_from_objfile modifies the table we pass it.
4607 (reread_symbols): After re-reading an objfile, call
4608 reread_separate_symbols to refresh its separate debug info
4609 objfile, if it has one.
4610 (reread_separate_symbols, find_separate_debug_file,
4611 get_debug_link_info, separate_debug_file_exists): New functions.
4612 (debug_file_directory): New global var.
4613 (_initialize_symfile): Initialize debug_file_directory, and
4614 provide the new `set debug-file-directory' command to let the user
4615 change it.
4616 * objfiles.c (free_objfile): If this objfile has its debug info in
4617 a separate objfile, free that one too. If this is itself a
4618 separate debug info objfile, clear our parent's backlink.
4619 (put_objfile_before): New function.
4620 * utils.c (gnu_debuglink_crc32): New function.
4621 * defs.h (gnu_debuglink_crc32): New declaration.
4622 * Makefile.in (symfile.o): Note dependency on "filenames.h".
4623 * configure.in: Handle --with-separate-debug-dir config option.
4624 * acinclude.m4 (AC_DEFINE_DIR): New macro.
4625 * acconfig.h (DEBUGDIR): New macro.
4626 * configure, aclocal.m4, config.in: Regenerated.
4627
7e8580c1
JB
46282003-01-22 Jim Blandy <jimb@redhat.com>
4629
7904e09f
JB
4630 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
4631 like the old symbol_file_add, but taking new arguments: you can
4632 now pass in either a `struct section_addr_info' list to say where
4633 each section is loaded, or a `struct section_offsets' table. Pass
4634 these new arguments through to syms_from_objfile as appropriate.
4635 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
4636 with the appropriate quiescent values for the new arguments.
4637
7e8580c1
JB
4638 * symfile.c: #include "gdb_assert.h".
4639 (syms_from_objfile): Add the ability to pass in a section offset
4640 table directly, as an alternative to the section_addr_info table.
4641 Document arguments better.
4642 (symbol_file_add): Pass extra arguments to syms_from_objfile.
4643 * symfile.h (syms_from_objfile): Update declaration.
4644 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
4645 syms_from_objfile.
4646 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
4647
d28f9cdf
DJ
46482003-01-22 Daniel Jacobowitz <drow@mvista.com>
4649
4650 Original patch by Tom Tromey <tromey@cygnus.com> and
4651 Jason Molenda <jmolenda@apple.com>.
4652 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
4653 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
4654 * NEWS: Mention profiling.
4655 * configure.in (--enable-gdbtk): Fix typo.
4656 (--enable-profiling): New. Set PROFILE_CFLAGS.
4657 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
4658 Fill in function.
4659 (profiling_state): New variable.
4660 (mcleanup_wrapper): New function.
4661 (_initialize_maint): Remove NOTYET, fix call to
4662 add_setshow_boolean_cmd for "maint set profile".
4663 * configure: Regenerated.
4664
df21e465
MH
46652003-01-21 Martin M. Hunt <hunt@redhat.com>
4666
4667 * Makefile.in (install-gdbtk): Install PNG images too.
4668
73c1f219
AC
46692003-01-21 Andrew Cagney <ac131313@redhat.com>
4670
4671 * exec.c (text_start): Delete global variable.
4672 (exec_file_attach): Make text_start local to the function.
4673 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
4674 * valops.c (hand_function_call): Delete code that handles
4675 BEFORE_TEXT_END and AFTER_TEXT_END.
4676 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
4677 of CALL_DUMMY_LOCATION.
4678 * gdbarch.c: Regenerate.
4679 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
4680 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
4681 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
4682 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
4683 (text_end): Delete extern declaration.
4684
eb4f72c5
AC
46852003-01-21 Andrew Cagney <ac131313@redhat.com>
4686
4687 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
4688 * blockframe.c (backtrace_below_main): Move to "frame.c".
4689 (frame_chain_valid): Delete check for backtrace_below_main.
4690 (_initialize_blockframe): Delete initialization, move ``set
4691 backtrace-below-main'' command to "frame.c".
4692 (do_flush_frames_sfunc): Delete function.
4693 * frame.c: Include "command.h" and "gdbcmd.h".
4694 (frame_type_from_pc): New function.
4695 (create_new_frame): Use frame_type_from_pc.
4696 (legacy_get_prev_frame): New function.
4697 (get_prev_frame): Rewrite. When an old style frame, call
4698 legacy_get_prev_frame. Otherwize, unwind the PC first.
4699 (_initialize_frame): Add ``set backtrace-below-main'' command.
4700 * Makefile.in (frame.o): Update dependencies.
4701
778ce8cc
AC
47022003-01-19 Andrew Cagney <ac131313@redhat.com>
4703
4704 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
4705 DEPRECATED_REGISTERS_INFO.
4706
01c193c8
AC
47072003-01-19 Andrew Cagney <ac131313@redhat.com>
4708
4709 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
4710 Maintainers'. Update `Various Maintainers'.
4711
dedc2a2b
AC
47122003-01-19 Andrew Cagney <ac131313@redhat.com>
4713
4714 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
4715 * gdbarch.sh (POP_FRAME): Change to function with predicate.
4716 Suppress actual parameters when `-'.
4717 * gdbarch.h, gdbarch.c: Regenerate.
4718
b7261c70
AC
47192003-01-19 Andrew Cagney <ac131313@redhat.com>
4720
4721 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
4722 code handling dummy frames.
4723
dbe9fe58
AC
47242003-01-19 Andrew Cagney <ac131313@redhat.com>
4725
4726 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
4727 (struct frame_unwind): Add field pop.
4728 * frame.h (frame_pop): Declare.
4729 * frame.c (frame_saved_regs_pop): New function.
4730 (trad_frame_unwinder): Add frame_saved_regs_pop.
4731 (frame_pop): New function.
4732 * dummy-frame.c (dummy_frame_pop): New function.
4733 (discard_innermost_dummy): New function.
4734 (generic_pop_dummy_frame): Use discard_innermost_dummy.
4735 (dummy_frame_unwind): Add dummy_frame_pop.
4736 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
4737 * valops.c (hand_function_call): Ditto.
4738 * stack.c (return_command): Ditto.
4739
570b8f7c
AC
47402003-01-18 Andrew Cagney <ac131313@redhat.com>
4741
4742 * cris-tdep.c: Fix function declaration indentation.
4743 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
4744 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
4745 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
4746 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
4747 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
4748 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
4749
47502003-01-18 Michael Chastain <mec@shout.net>
eaec4d85
MC
4751
4752 * README (Unpacking and Installation -- quick overview):
4753 Warn against ".../gdb-5.3/gdb/configure".
4754
494cca16
AC
47552003-01-18 Andrew Cagney <ac131313@redhat.com>
4756
4757 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
4758 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
4759 (struct frame_unwind): Declare opaque.
4760 (dummy_frame_p): Declare function.
4761 * dummy-frame.c (dummy_frame_id_unwind): Make static.
4762 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
4763 * dummy-frame.c: Include "frame-unwind.h".
4764 (dummy_frame_p): New function.
4765 (dummy_frame_unwind): New variable.
4766 * frame.c: Include "frame-unwind.h".
4767 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
4768 to use the new unwind field.
4769 (set_unwind_by_pc): Delete function.
4770 (create_new_frame, get_prev_frame): Set unwind field using
4771 frame_unwind_find_by_pc.
4772 (trad_frame_unwind, trad_frame_unwinder): New variables.
4773 * frame.h (trad_frame_unwind): Declare variable.
4774 (frame_id_unwind_ftype): Delete declaration.
4775 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
4776 (struct frame_unwind): Declare opaque.
4777 (struct frame_info): Replace the fields id_unwind, pc_unwind and
4778 register_unwind with a single unwind pointer.
4779 * frame-unwind.h, frame-unwind.c: New files.
4780 * Makefile.in (SFILES): Add frame-unwind.c.
4781 (frame_unwind_h): Define.
4782 (COMMON_OBS): Add frame-unwind.o.
4783 (frame-unwind.o): Specify dependencies.
4784 (frame.o, dummy-frame.o): Update dependencies.
4785
4efb68b1
AC
47862003-01-18 Andrew Cagney <ac131313@redhat.com>
4787
4788 * ada-valprint.c: Eliminate PTR.
4789 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
4790 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
4791 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
4792 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
4793 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
4794 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
4795 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
4796
a84d24ee
AC
47972003-01-17 Andrew Cagney <ac131313@redhat.com>
4798
762f08a3
AC
4799 * main.c (captured_main): Don't use PTR.
4800 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
4801 * gdbtypes.c (lookup_primitive_typename): Ditto.
4802 (lookup_struct_elt_type): Ditto.
4803 * f-valprint.c (info_common_command): Ditto.
4804 (list_all_visible_commons): Ditto.
4805 * jv-typeprint.c (java_type_print_base): Ditto.
4806
a84d24ee
AC
4807 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
4808 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
4809 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
4810 i386-interix-nat.c and i386-interix-tdep.c. Rename
4811 m68klinux-nat.c and m68klinux-tdep.c. Rename
4812 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
4813 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
4814 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
4815 * main.c (captured_main): Use xfree, not free.
4816
c170fb60
AC
48172003-01-16 Andrew Cagney <ac131313@redhat.com>
4818
4819 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
4820 ID back using a parameter.
4821 * frame.c (frame_id_unwind): Update call.
4822 (frame_saved_regs_id_unwind): Update.
4823 * dummy-frame.c (dummy_frame_id_unwind): Update function.
4824 * dummy-frame.h (struct frame_id): Add opaque declaration.
4825 (dummy_frame_id_unwind): Update declaration.
4826
867f3898
AC
48272003-01-15 Andrew Cagney <ac131313@redhat.com>
4828
4829 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
4830
40622be8 48312003-01-15 Stephen P. Smith <ischis2@cox.net>
de3a8c23 4832
40622be8 4833 * MAINTAINERS (Stephen P. Smith): Updated email address.
de3a8c23 4834
ae66c1fc
EZ
48352003-01-14 Elena Zannoni <ezannoni@redhat.com>
4836
997b089a 4837 Fix PR gdb/898
ae66c1fc
EZ
4838 * breakpoint.c (until_break_command): Add new argument. Use it to
4839 decide whether to stop only at the current frame or not.
4840 * breakpoint.h (until_break_command): Update prototype.
4841 * infcmd.c (until_command): Add new argument to until_break_command
4842 call.
4843 (advance_command): New function.
4844 (_initialize_infcmd): Update help string for 'until' command.
4845 Add new 'advance' command.
4846
a04257e6
DC
48472003-01-14 David Carlton <carlton@math.stanford.edu>
4848
4849 * linespec.c (decode_line_1): Normalize comments.
4850 (set_flags): Ditto.
4851 (locate_first_half): Ditto.
4852 (decode_compound): Ditto.
4853 (symtab_from_filename): Ditto.
4854 (decode_all_digits): Ditto.
4855 (decode_dollar): Ditto.
4856 (find_methods): Ditto.
4857 (find_toplevel_char): Ditto.
4858
1bac305b
AC
48592003-01-13 Andrew Cagney <ac131313@redhat.com>
4860
4861 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
4862 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
4863 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
4864 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
4865 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
4866 * language.c, language.h, m32r-tdep.c: Update copyright.
4867 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
4868 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
4869 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
4870 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
4871 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
4872 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
4873
25caa7a8
EZ
48742003-01-13 Elena Zannoni <ezannoni@redhat.com>
4875
4876 * stabsread.h (process_later, resolve_cfront_continuation):
4877 Obsolete.
4878 Update copyright years.
4879 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
4880 Update copyright year.
4881 * dbxread.c(struct cont_elem): Obsolete.
4882 (process_later, process_now): Obsolete functions.
4883 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
4884 Update copyright year.
4885 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
4886 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
4887 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
4888 (parse_partial_symbols): Obsolete cfront support.
4889 * stabsread.c
4890 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
4891 macros.
4892 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
4893 read_cfront_baseclasses, read_cfront_member_functions,
4894 resolve_cfront_continuation,read_cfront_static_fields,
4895 copy_cfront_struct_fields): Obsolete functions.
4896 (define_symbol, read_one_struct_field): Obsolete cfront support.
4897 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
4898 Update Copyright year.
4899
7789c6f5
EZ
49002003-01-13 Elena Zannoni <ezannoni@redhat.com>
4901
4902 * stack.c (print_frame_info, print_stack_frame_base_stub,
4903 print_stack_frame_base, show_and_print_stack_frame_stub,
4904 show_and_print_stack_frame, print_only_stack_frame_stub,
4905 print_only_stack_frame): Delete functions.
4906 (print_stack_frame_stub): Call print_frame_info instead of
4907 print_frame_info_base.
4908 (print_frame_info_base): Rename to print_frame_info.
4909 (backtrace_command_1): Call print_frame_info, instead of
4910 print_frame_info_base.
4911 (current_frame_command): Call print_stack_frame, instead of
4912 print_only_stack_frame.
4913 (frame_command): Call print_stack_frame, instead of
4914 show_and_print_stack_frame.
4915 (up_command): Ditto.
4916 (down_command): Ditto.
4917 * frame.h (print_only_stack_frame): Delete prototype.
4918 * infrun.c (normal_stop): Call print_stack_frame, instead of
4919 show_and_print_stack_frame.
4920 * thread.c (info_threads_command): Call print_stack_frame, instead
4921 of print_only_stack_frame.
4922
3f5a3016
AC
49232003-01-13 Andrew Cagney <ac131313@redhat.com>
4924
d99ba314
AC
4925 * README (Graphical interface to GDB): Update URL. Point at
4926 gdb/links/.
4927
3f5a3016
AC
4928 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
4929 version match.
4930
083ae935
DJ
49312003-01-13 Daniel Jacobowitz <drow@mvista.com>
4932
4933 * symtab.c (find_pc_sect_line): Don't consider end-of-function
4934 lines.
4935
5365276c
DJ
49362003-01-13 Daniel Jacobowitz <drow@mvista.com>
4937
4938 * thread-db.c (attach_thread): Prototype.
4939 (struct private_thread_info): Remove lwpid. Add thread handle (th),
4940 thread information (ti), and valid flags (th_valid, ti_valid).
4941 (attach_thread): Move target_pid_to_str call to after the thread
4942 is added to GDB's list. Initialize the cache.
4943 (thread_get_info_callback, thread_db_map_id2thr)
4944 (thread_db_get_info): New functions.
4945 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
4946 (thread_db_store_registers, thread_db_thread_alive)
4947 (thread_db_get_thread_local_address): Use them.
4948 (thread_db_pid_to_str): Likewise. Return "Missing" instead
4949 of calling error() for threads in unknown state.
4950
4951 (clear_lwpid_callback): New function.
4952 (thread_db_resume): Use it to clear the cache.
4953
9fc30b6b
DJ
49542003-01-13 Daniel Jacobowitz <drow@mvista.com>
4955
4956 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
4957 (resume_callback): Remove dead code.
4958
8f871025
AC
49592003-01-13 Andrew Cagney <ac131313@redhat.com>
4960
4961 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
4962 predicate.
4963 * gdbarch.h, gdbarch.c: Regenerate.
4964 * stack.c (frame_info): Only initialize the saved registers when
4965 FRAME_INIT_SAVED_REGS_P.
4966 * frame.c (frame_saved_regs_register_unwind): Assert
4967 FRAME_INIT_SAVED_REGS_P.
4968 (deprecated_generic_get_saved_register): Ditto.
4969
3f565f1e
DJ
49702003-01-13 Daniel Jacobowitz <drow@mvista.com>
4971
4972 * source.c (openp): Squelch warning about "filename".
4973
072b1022
DJ
49742003-01-13 Daniel Jacobowitz <drow@mvista.com>
4975
4976 * source.c (openp): If the file does not exist don't necessarily
4977 search the path.
4978
973ccf8b
DJ
49792003-01-13 Daniel Jacobowitz <drow@mvista.com>
4980
4981 Fix PR gdb/872.
4982 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
4983 (integer_types_same_name_p): New function.
4984 (rank_one_type): Use it.
4985 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
4986
030292b7
DJ
49872003-01-13 Daniel Jacobowitz <drow@mvista.com>
4988
4989 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
4990 variables.
4991 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
4992 * configure.in: Add --with-sysroot.
4993 * configure: Regenerated.
4994 * main.c (gdb_sysroot): New variable.
4995 (captured_main): Initialize gdb_sysroot.
4996 * defs.h (gdb_sysroot): New extern declaration.
4997 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
4998
afb5d334
MC
49992003-01-12 Michael Chastain <mec@shout.net>
5000
5001 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
5002
751ceeb4
MC
50032003-01-12 Michael Chastain <mec@shout.net>
5004
5005 * top.c (print_gdb_version): Bump copyright year to 2003.
5006
94cd26f8
DC
50072003-01-12 David Carlton <carlton@bactrian.org>
5008
5009 * linespec.c (symtab_from_filename): Rename variable 's' to
5010 'file_symtab'.
5011
1ce79225
AC
50122003-01-12 Andrew Cagney <ac131313@redhat.com>
5013
5014 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
5015 dummy frame.
5016 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
5017
fa1fd571
AC
50182003-01-12 Andrew Cagney <ac131313@redhat.com>
5019
5020 * d10v-tdep.c: Include "gdb_assert.h".
5021 (d10v_store_return_value): Rewrite to match current interface.
5022 (d10v_extract_struct_value_address): Ditto.
5023 (d10v_extract_return_value): Ditto.
5024 (d10v_gdbarch_init): Set store_restore_value,
5025 extract_struct_value_address and extract_return_value.
5026
68b8d23e
JB
50272003-01-12 J. Brobecker <brobecker@gnat.com>
5028
5029 * hpread.c (set_namestring): New procedure replacing the
5030 SET_NAMESTRING macro.
5031 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
5032 by calls to set_namestring.
5033
50342003-01-11 J. Brobecker <brobecker@gnat.com>
1fb309ea
JB
5035
5036 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
5037 a compilation warning.
5038 (hpread_process_one_debug_symbol): Likewise.
5039
88d262ca
DC
50402003-01-10 David Carlton <carlton@math.stanford.edu>
5041
5042 * linespec.c (decode_line_1): Rename variable 's' to
5043 'file_symtab'.
5044 (decode_all_digits): Rename argument 's' to 'file_symtab'.
5045 (decode_dollar): Ditto.
5046 (decode_variable): Ditto.
5047 (symbol_found): Ditto.
5048
86669319
MC
50492003-01-09 Michael Chastain <mec@shout.net>
5050
5051 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
5052
616a9dc4
CV
50532003-01-07 Corinna Vinschen <vinschen@redhat.com>
5054
5055 * win32-nat.c (set_process_privilege): New function.
5056 (child_attach): Call set_process_privilege() to enable the
5057 SE_DEBUG_NAME user privilege if available in process token.
5058
3269bcfa
JB
50592003-01-10 J. Brobecker <brobecker@gnat.com>
5060
5061 * hpread.c (hpread_process_one_debug_symbol): Fix a small
5062 compilation error in the previous revision.
5063
2b0ee454
DC
50642003-01-09 David Carlton <carlton@math.stanford.edu>
5065
5066 * linespec.c: Update copyright.
5067
b3ba1b44
DJ
50682003-01-09 Daniel Jacobowitz <drow@mvista.com>
5069
5070 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
5071 than inferior_ptid.
5072 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
5073
4ef3f3be
AC
50742003-01-09 Andrew Cagney <ac131313@redhat.com>
5075
479ab5a0
AC
5076 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
5077 Update comments.
5078 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
5079 (frame_saved_regs_zalloc): Update.
5080 (frame_saved_regs_register_unwind): Update.
5081 (create_new_frame): Update.
5082 (get_prev_frame): Update.
5083 (frame_extra_info_zalloc): Update.
5084 (deprecated_get_frame_saved_regs): Update.
5085 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
5086 * cris-tdep.c: Update comment.
5087
bde58177
AC
5088 * somsolib.h: Fix function indentation.
5089 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
5090 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
5091 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
5092 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
5093 * somsolib.c, inftarg.c: Remove assignment in if conditional.
5094
4ef3f3be
AC
5095 * infrun.c (follow_fork): Use ISO C definition.
5096 * expprint.c (print_subexp): Use xfree instead of free.
5097 * charset.c: Include "gdb_string.h" instead of <string.h>.
5098 (register_iconv_charsets): Use ISO C definition.
5099 (host_charset, target_charset): Ditto.
5100 * Makefile.in (charset.o): Update dependencies.
5101 (mi-cmd-env.o): Update dependencies.
5102
1c615f7a
AC
51032003-01-08 Andrew Cagney <cagney@redhat.com>
5104
5105 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
5106 get_frame_base.
5107
c9a1dc08
AC
51082003-01-08 Andrew Cagney <ac131313@redhat.com>
5109
5110 * gdb_mbuild.sh: Add --keep option. When specified, keep the
5111 build directories. Save edited gdb output in Mbuild.log. If a
5112 build fails, remove any final GDB executable.
5113
dbad9d94
AC
51142003-01-08 Andrew Cagney <ac131313@redhat.com>
5115
5116 * gdb_mbuild.sh: Edit the output of `maint print architecture'
5117 replacing hex constants with function names and stripping leading
5118 file name directory prefixes.
5119
8d357cca
AC
51202003-01-08 Andrew Cagney <cagney@redhat.com>
5121
5122 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
5123 get_frame_base.
5124
bca02a8a
DC
51252003-01-08 David Carlton <carlton@math.stanford.edu>
5126
5127 * linespec.c (decode_line_1): Move code into decode_variable.
5128 (decode_variable): New function.
5129
7f8ab3a0
AC
51302003-01-08 Andrew Cagney <ac131313@redhat.com>
5131
5132 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
5133
7b5849cc
AC
51342003-01-08 Andrew Cagney <cagney@redhat.com>
5135
5136 * cris-tdep.c (cris_frame_init_saved_regs): Use
5137 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
5138 saved_regs buffer.
5139 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
5140 (sh64_nofp_frame_init_saved_regs): Ditto.
5141 (sh_fp_frame_init_saved_regs): Ditto.
5142 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
5143 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
5144 * mcore-tdep.c (analyze_dummy_frame): Ditto.
5145 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
5146
72a5efb3
DJ
51472003-01-08 Daniel Jacobowitz <drow@mvista.com>
5148
5149 * minsyms.c (lookup_minimal_symbol): Update comment.
5150 (lookup_minimal_symbol_text): Update comment. Use the hash table.
5151 (lookup_minimal_symbol_solib_trampoline): Likewise.
5152
11c02a10
AC
51532003-01-08 Andrew Cagney <cagney@redhat.com>
5154
aab3ea25
AC
5155 * d10v-tdep.c (d10v_init_extra_frame_info): Use
5156 frame_relative_level.
5157
da50a4b7
AC
5158 * alpha-tdep.c: Use get_frame_extra_info.
5159 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
5160 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
5161 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
5162 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
5163
11c02a10
AC
5164 * alpha-tdep.c: Use get_next_frame.
5165 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
5166 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
5167 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
5168 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
5169 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
5170 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
5171 * xstormy16-tdep.c: Ditto.
5172
1e2330ba
AC
51732003-01-07 Andrew Cagney <cagney@redhat.com>
5174
5175 * alpha-tdep.c: Use get_frame_base.
5176 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
5177 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
5178 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
5179 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
5180 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
5181 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
5182 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
5183 * config/sparc/tm-sparc.h: Ditto.
5184
2d75187b
AC
51852003-01-07 Andrew Cagney <cagney@redhat.com>
5186
5187 * frame.c (deprecated_get_frame_context): New function.
5188 (deprecated_set_frame_context): New function.
5189 * frame.h (deprecated_get_frame_context): Declare.
5190 (deprecated_set_frame_context): Declare.
5191 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
5192 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
5193
483d36b2
AC
51942003-01-07 Andrew Cagney <cagney@redhat.com>
5195
5196 * frame.c (deprecated_set_frame_next_hack): New function.
5197 (deprecated_set_frame_prev_hack): New function.
5198 * frame.h (deprecated_set_frame_next_hack): Declare.
5199 (deprecated_set_frame_prev_hack): Declare.
5200 * mcore-tdep.c (analyze_dummy_frame): Use
5201 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
5202 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
5203
14e91ac5
DC
52042003-01-07 David Carlton <carlton@math.stanford.edu>
5205
5206 * linespec.c (decode_line_1): Move code into decode_dollar.
5207 (decode_dollar): New function.
5208
b0c6b05c
AC
52092003-01-07 Andrew Cagney <cagney@redhat.com>
5210
5211 * arm-tdep.c (arm_init_extra_frame_info): Use
5212 deprecated_update_frame_base_hack.
5213 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
5214 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
5215 (fix_frame_pointer): Ditto.
5216 (mn10300_analyze_prologue): Ditto.
5217
a00a19e9
AC
52182003-01-07 Andrew Cagney <cagney@redhat.com>
5219
5220 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
5221 extra_info using frame_extra_info_zalloc.
5222 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
5223 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
5224 (sh64_init_extra_frame_info): Ditto.
5225 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
5226 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
5227 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
5228 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
5229 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
5230 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
5231 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
5232 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
5233 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
5234 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
5235 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
5236 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
5237
5238 * mn10300-tdep.c (analyze_dummy_frame): Use
5239 deprecated_set_frame_extra_info_hack.
5240 * mcore-tdep.c (analyze_dummy_frame): Ditto.
5241
1fb4c65b
JB
52422003-01-07 J. Brobecker <brobecker@gnat.com>
5243
5244 * mdebugread.c (parse_symbol): Skip stProc entries which storage
5245 class is not scText. These do not define "real" procedures.
5246 (parse_partial_symbols): Likewise.
5247
9fe7d6bf
MS
52482003-01-06 Michael Snyder <msnyder@redhat.com>
5249
5250 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
5251
f6c609c4
AC
52522003-01-06 Andrew Cagney <ac131313@redhat.com>
5253
5254 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
5255 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
5256 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
5257 deprecated_frame_xmalloc_with_cleanup.
5258 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
5259 deprecated_frame_xmalloc.
5260 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
5261 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
5262
d995ff4b
AC
52632003-01-06 Andrew Cagney <cagney@redhat.com>
5264
84dc46cb
AC
5265 * x86-64-linux-tdep.c: Include "osabi.h".
5266 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
5267
d995ff4b
AC
5268 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
5269
66140c26
AC
52702003-01-06 Andrew Cagney <cagney@redhat.com>
5271
5272 * MAINTAINERS (Target Instruction Set Architectures): Update
5273 arm-elf. Can be built with -Werror, has been multiarched.
5274
5275 * value.h (unpack_long): Make buffer parameter constant.
5276 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
5277 * scm-lang.h (scm_parse): Ditto.
5278 * defs.h (extract_typed_address, extract_address): Ditto.
5279 (extract_long_unsigned_integer): Ditto.
5280 * inferior.h (unsigned_pointer_to_address): Ditto.
5281 (signed_pointer_to_address): Ditto.
5282 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
5283 * gdbarch.h, gdbarch.c: Regenerate.
5284 * findvar.c (extract_long_unsigned_integer): Update.
5285 (extract_address): Update.
5286 (extract_typed_address): Update.
5287 (unsigned_pointer_to_address): Update.
5288 * values.c (unpack_long): Update.
5289 (unpack_double): Update.
5290 (unpack_pointer): Update.
5291 (unpack_field_as_long): Update.
5292 * d10v-tdep.c (d10v_pointer_to_address): Update.
5293 * avr-tdep.c (avr_pointer_to_address): Update.
5294 * scm-lang.c (scm_unpack): Update.
5295 * findvar.c (signed_pointer_to_address): Update.
5296
b089b3da
ML
52972003-01-06 Michal Ludvig <mludvig@suse.cz>
5298
5299 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
5300 since it is in i386-tdep.c.
5301
aff87235
JB
53022003-01-06 J. Brobecker <brobecker@gnat.com>
5303
5304 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
5305 failure introduced in the previous change.
5306
34f5e845
MC
53072003-01-05 Michael Chastain <mec@shout.net>
5308
5309 * README: Remove references to deleted remote-*.c files:
5310 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
5311 remote-nrom.c, remote-os9k.c, remote-udi.c.
5312
28bcfd30
MK
53132003-01-05 Mark Kettenis <kettenis@gnu.org>
5314
5315 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
5316 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
5317 i386_get_longjmp_target.
5318
15a5b3ee
AC
53192003-01-05 Andrew Cagney <ac131313@redhat.com>
5320
5321 * arm-tdep.c (prologue_cache): Change to a pointer.
5322 (_initialize_arm_tdep): Allocate prologue_cache.
5323 (check_prologue_cache): Update.
5324 (save_prologue_cache): Update.
5325 (arm_gdbarch_init): Update.
5326
c263362b
DJ
53272003-01-04 Daniel Jacobowitz <drow@mvista.com>
5328
5329 * stabsread.c (update_method_name_from_physname): Call complaint()
5330 instead of error.
5331
51603483
DJ
53322003-01-04 Daniel Jacobowitz <drow@mvista.com>
5333
5334 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
5335 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
5336 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
5337
5338 * blockframe.c: Include "gdbcmd.h" and "command.h".
5339 (backtrace_below_main): New variable.
5340 (file_frame_chain_valid, func_frame_chain_valid)
5341 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
5342 (generic_func_frame_chain_valid): Remove functions.
5343 (frame_chain_valid, do_flush_frames_sfunc): New functions.
5344 (_initialize_blockframe): New function.
5345 * Makefile.in (blockframe.o): Update dependencies.
5346 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
5347 comment. Call frame_chain_valid ().
5348 * frame.h: Remove old prototypes. Add prototype for
5349 frame_chain_valid and update comments to match.
5350 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
5351 Remove old comment.
5352 * gdbarch.h: Regenerated.
5353 * gdbarch.c: Regenerated.
5354
5355 * alpha-tdep.c (alpha_gdbarch_init): Don't call
5356 set_gdbarch_frame_chain_valid.
5357 * avr-tdep.c (avr_gdbarch_init): Likewise.
5358 * cris-tdep.c (cris_gdbarch_init): Likewise.
5359 * frv-tdep.c (frv_gdbarch_init): Likewise.
5360 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
5361 * i386-tdep.c (i386_svr4_init_abi): Likewise.
5362 (i386_nw_init_abi): Likewise.
5363 (i386_gdbarch_init): Likewise.
5364 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
5365 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
5366 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
5367 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
5368 * mips-tdep.c (mips_gdbarch_init): Likewise.
5369 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
5370 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
5371 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
5372 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
5373 * s390-tdep.c (s390_gdbarch_init): Likewise.
5374 * sh-tdep.c (sh_gdbarch_init): Likewise.
5375 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
5376 * v850-tdep.c (v850_gdbarch_init): Likewise.
5377 * vax-tdep.c (vax_gdbarch_init): Likewise.
5378 * x86-64-tdep.c (x86_64_init_abi): Likewise.
5379
5380 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
5381 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
5382 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
5383 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
5384 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
5385 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
5386 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
5387 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
5388
b00a8037
DJ
53892002-01-04 Daniel Jacobowitz <drow@mvista.com>
5390
5391 * Makefile.in (acconfig_h): Remove incorrect macro.
5392 (config_h): Define.
5393 (osabi.o): Update dependencies.
5394 * configure.tgt: Set gdb_osabi based on target triplet.
5395 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
5396 * configure: Regenerated.
5397 * config.in: Regenerated.
5398 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
5399 (GDB_OSABI_DEFAULT): Define if not already defined.
5400 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
5401 (set_osabi_string): New variables.
5402 (gdbarch_register_osabi): Add new OS ABI to
5403 gdb_osabi_available_names.
5404 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
5405 (set_osabi, show_osabi): New functions.
5406 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
5407
4be87837
DJ
54082003-01-04 Daniel Jacobowitz <drow@mvista.com>
5409
5410 * arch-utils.c (gdbarch_info_init): Set osabi to
5411 GDB_OSABI_UNINITIALIZED.
5412 * gdbarch.sh: Add osabi to struct gdbarch and to struct
5413 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
5414 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
5415 * gdbarch.c: Regenerated.
5416 * gdbarch.h: Regenerated.
5417 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
5418 there's no BFD.
5419 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
5420 * osabi.h (enum gdb_osabi): Move to defs.h.
5421 (gdbarch_init_osabi): Update prototype.
5422 * defs.h (enum gdb_osabi): Moved here.
5423 * Makefile.in: Update dependencies.
5424
5425 * alpha-tdep.h: Don't include "osabi.h".
5426 (struct gdbarch_tdep): Remove osabi member.
5427 * alpha-tdep.c: Include "osabi.h".
5428 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5429 iterate over arches. Update call to gdbarch_init_osabi.
5430 (alpha_dump_tdep): Don't dump osabi.
5431 * alpha-linux-tdep.c: Include "osabi.h".
5432 * alpha-osf1-tdep.c: Include "osabi.h".
5433 * alphafbsd-tdep.c: Include "osabi.h".
5434 * alphanbsd-tdep.c: Include "osabi.h".
5435
5436 * arm-tdep.h: Don't include "osabi.h".
5437 (struct gdbarch_tdep): Remove osabi member.
5438 * arm-tdep.c: Include "osabi.h".
5439 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5440 iterate over arches. Update call to gdbarch_init_osabi.
5441 (arm_dump_tdep): Don't dump osabi.
5442 * arm-linux-tdep.c: Include "osabi.h".
5443 * armnbsd-tdep.c: Include "osabi.h".
5444
5445 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
5446 Update call to gdbarch_init_osabi.
5447
5448 * i386-tdep.h: Don't include "osabi.h".
5449 (struct gdbarch_tdep): Remove osabi member.
5450 * i386-tdep.c: Include "osabi.h".
5451 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5452 iterate over arches. Update call to gdbarch_init_osabi.
5453 (i386_dump_tdep): Don't dump osabi.
5454 * i386-linux-tdep.c: Include "osabi.h".
5455 * i386-sol2-tdep.c: Include "osabi.h".
5456 * i386bsd-tdep.c: Include "osabi.h".
5457 * i386gnu-tdep.c: Include "osabi.h".
5458 * i386ly-tdep.c: Include "osabi.h".
5459 * i386nbsd-tdep.c: Include "osabi.h".
5460 * i386obsd-tdep.c: Include "osabi.h".
5461
5462 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
5463 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5464 check osabi when iterating over arches. Update call to
5465 gdbarch_init_osabi.
5466 (mips_dump_tdep): Don't dump osabi.
5467
5468 * ns32k-tdep.h: Don't include "osabi.h".
5469 (struct gdbarch_tdep): Remove.
5470 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
5471 gdbarch_lookup_osabi. Don't iterate over arches. Don't
5472 allocate tdep. Update call to gdbarch_init_osabi.
5473 (ns32k_dump_tdep): Remove.
5474 (_initialize_ns32k_tdep): Update call to gdbarch_register.
5475 * ns32knbsd-tdep.c: Include "osabi.h".
5476
5477 * ppc-tdep.h: Don't include "osabi.h".
5478 (struct gdbarch_tdep): Remove osabi member.
5479 * rs6000-tdep.c: Include "osabi.h".
5480 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
5481 osabi when iterating over arches. Update call to
5482 gdbarch_init_osabi.
5483 (rs6000_dump_tdep): Don't dump osabi.
5484 * ppc-linux-tdep.c: Include "osabi.h".
5485 * ppcnbsd-tdep.c: Include "osabi.h".
5486
5487 * sh-tdep.h: Don't include "osabi.h".
5488 (struct gdbarch_tdep): Remove osabi member.
5489 * sh-tdep.c: Include "osabi.h".
5490 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5491 iterate over arches. Update call to gdbarch_init_osabi.
5492 (sh_dump_tdep): Don't dump osabi.
5493 * shnbsd-tdep.c: Include "osabi.h".
5494
5495 * sparc-tdep.c: Include "osabi.h".
5496 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5497 iterate over arches. Update call to gdbarch_init_osabi.
5498 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
5499 tdep structure.
5500
5501 * vax-tdep.h: Don't include "osabi.h".
5502 (struct gdbarch_tdep): Remove.
5503 * vax-tdep.c: Include "osabi.h".
5504 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
5505 iterate over arches. Don't allocate tdep. Update call
5506 to gdbarch_init_osabi.
5507 (vax_dump_tdep): Remove.
5508 (_initialize_vax_tdep): Update call to gdbarch_register.
5509
a881cf8e
DJ
55102003-01-04 Daniel Jacobowitz <drow@mvista.com>
5511
5512 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
5513 entirely.
5514 (breakpoint_re_set_one): Don't fetch the value for a disabled
5515 watchpoint.
5516
1e698235
DJ
55172003-01-04 Daniel Jacobowitz <drow@mvista.com>
5518
5519 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
5520 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
5521 (COERCE_FLOAT_TO_DOUBLE): Remove.
5522 * gdbarch.c: Regenerate.
5523 * gdbarch.h: Regenerate.
5524 * Makefile.in: Remove value_h from gdbarch_h.
5525 * valops.c (coerce_float_to_double): New variable.
5526 (default_coerce_float_to_double): Remove.
5527 (standard_coerce_float_to_double): Remove.
5528 (value_arg_coerce): Use coerce_float_to_double.
5529 (_initialize_valops): Add "set coerce-float-to-double".
5530 * value.h (default_coerce_float_to_double): Remove prototype.
5531 (standard_coerce_float_to_double): Remove prototype.
5532
5533 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
5534 prototyped.
5535 * mdebugread.c (parse_symbol): Likewise.
5536 * stabsread.c (define_symbol): Mark all functions as prototyped.
5537
5538 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
5539 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
5540 set_gdbarch_coerce_float_to_double.
5541 * arm-tdep.c (arm_gdbarch_init): Likewise.
5542 * frv-tdep.c (frv_gdbarch_init): Likewise.
5543 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
5544 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
5545 * mips-tdep.c (mips_gdbarch_init): Likewise.
5546 (mips_coerce_float_to_double): Remove.
5547 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
5548 (rs6000_coerce_float_to_double): Remove.
5549 * s390-tdep.c (s390_gdbarch_init): Likewise.
5550 * sh-tdep.c (sh_gdbarch_init): Likewise.
5551 (sh_coerce_float_to_double): Remove.
5552 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
5553 (sparc_coerce_float_to_double): Remove.
5554 * v850-tdep.c (v850_gdbarch_init): Likewise.
5555 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
5556 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
5557 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
5558 (hppa_coerce_float_to_double): Remove prototype.
5559 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
5560
f436a26a
DJ
55612003-01-04 Daniel Jacobowitz <drow@mvista.com>
5562
5563 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
5564
248f8055
DJ
55652003-01-04 Daniel Jacobowitz <drow@mvista.com>
5566
5567 Suggested by Stewart Brown <sb24@avaya.com>:
5568 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
5569 in recursive calls. Handle TYPE_CODE_TYPEDEF.
5570 (c_type_print_varspec_suffix): Likewise.
5571
72cfdc76
MK
55722003-01-04 Mark Kettenis <kettenis@gnu.org>
5573
bfd260bb
MK
5574 * configure.in: Don't set and AC_SUBST SUBDIRS.
5575 * configure: Regenerated.
5576
72cfdc76
MK
5577 * configure.in: Remove code dealing with shared libraries.
5578 * Makefile.in: Remove HLDFLAGS and HLDENV.
5579 * configure: Regenerated.
5580
c8b8a898
AC
55812003-01-04 Andrew Cagney <ac131313@redhat.com>
5582
5583 * frame.c (deprecated_frame_xmalloc): New function.
5584 (deprecated_set_frame_saved_regs_hack): New function.
5585 (deprecated_set_frame_extra_info_hack): New function.
5586 * frame.h (deprecated_frame_xmalloc): Declare.
5587 (deprecated_set_frame_saved_regs_hack): Declare.
5588 (deprecated_set_frame_extra_info_hack): Declare.
5589
14abd0fb
MK
55902003-01-04 Mark Kettenis <kettenis@gnu.org>
5591
8ee53726
MK
5592 * configure.in: Move code that provides the --enable-gdbtk option
5593 right after the code that handles the --enable-tui option, and
5594 polish it somewhat.
5595 * configure: Regenerated.
5596
14abd0fb
MK
5597 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
5598 AC_CHECK_FUNCS and remove the old check for pread64.
5599 * acinclude.m4 (AC_GNU_SOURCE): New macro.
5600 * acconfig.h (_GNU_SOURCE): Add.
5601 (HAVE_PREAD64): Remove.
5602 * configure, aclocal.m4, config.in: Regenerated.
5603
b2fb4676
AC
56042003-01-03 Andrew Cagney <ac131313@redhat.com>
5605
5606 * alpha-tdep.c: Use get_frame_saved_regs.
5607 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
5608 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
5609 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
5610 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
5611 * vax-tdep.c, xstormy16-tdep.c: Ditto.
5612
8dcde887
MK
56132003-01-03 Mark Kettenis <kettenis@gnu.org>
5614
5615 * configure.in: Remove all use of the SUBDIRS variable; add
5616 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
5617 code providing the --enable-multi-ice option, and move it right in
5618 front of the code that checks whether gdbserver is supported.
5619 Polish that too.
5620 * configure: Regenerated.
5621 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
5622 @SUBDIRS@.
5623
8ccd593b
AC
56242003-01-03 Andrew Cagney <cagney@redhat.com>
5625
5626 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
5627 * avr-tdep.c, cris-tdep.c: Ditto.
5628 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
5629 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
5630
91151a06
MK
56312003-01-03 Mark Kettenis <kettenis@gnu.org>
5632
5633 * configure.in: Remove --enable-netrom option.
5634 * configure: Regenerated.
5635
8fe84d01
MK
56362003-01-03 Mark Kettenis <kettenis@gnu.org>
5637
5638 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
5639 declaration for `struct re_pattern_buffer' instead.
5640 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
5641
f0394be6
JB
56422003-01-03 J. Brobecker <brobecker@gnat.com>
5643
5644 * mdebugread.c (parse_symbol): Count until the stEnd matching
5645 the structure name.
5646
27e9bf90
MK
56472003-01-02 Mark Kettenis <kettenis@gnu.org>
5648
93d331ba
MK
5649 * configure.in: Remove --with-cpu option.
5650 subscripts. Remove evil changequotes here.
5651 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
5652 * config.in, configure: Regenerated.
5653
27e9bf90
MK
5654 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
5655 * configure.in: Cleanup section that sources GDB and BFD configure
5656 subscripts. Remove evil changequotes here.
5657 * config.in, configure: Regenerated.
5658
50abf9e5
AC
56592003-01-02 Andrew Cagney <ac131313@redhat.com>
5660
5661 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
5662 frame accessor methods.
5663 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
5664 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
5665 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
5666 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
5667 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
5668 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
5669 * z8k-tdep.c: Ditto.
5670
287c1a40
MK
56712003-01-02 Mark Kettenis <kettenis@gnu.org>
5672
f5dbc56d
MK
5673 * configure.in: Remove UI_OUT configuration code.
5674 * ada-lang.c: Update assuming UI_OUT is always true.
5675 * Makefile.in (UIOUT_CFLAGS): Remove.
5676 * configure: Regenerated.
5677 * TODO: Remove blurb about elimination of -DUI_OUT.
5678
627af7ea
MK
5679 * configure.in: Move code that provides the --enable-gdbcli,
5680 --enable-gdbmi options right before the code that handles the
5681 --enable-tui option. Polish a bit.
5682 * configure: Regenerated.
5683
06825bd1
MK
5684 * configure.in: Rewrite check for GNU regex and the
5685 --without-included regex option, and move it into the "Checks for
5686 library functions" section. This makes us use the system regex
5687 again by default on systems with version 2 of the GNU C library.
5688 This was apparently broken.
5689 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
5690 * acconfig.h (USE_INCLUDED_REGEX): Remove.
5691 * config.in, configure: Regenerated.
5692
287c1a40
MK
5693 * configure.in: Move code that provides the --enable-tui option
5694 before the "Checks for libraries" section. Polish the code
5695 somewhat and set need_curses to yes if we build the TUI. Rewrite
5696 code that looks for a library providing termcap functionality to
5697 match more closely what's done in the Readline library, and move
5698 it into to the "Checks for libraries" section.
5699 * configure: Regenerated.
5700 * Makefile.in (TERMCAP): Remove variable.
5701 * config/i386/go32.mh (TERMCAP): Remove variable.
5702
684e56bf
AC
57032003-01-02 Andrew Cagney <ac131313@redhat.com>
5704
5705 * MAINTAINERS: Mention gdb_mbuild.sh.
5706 * gdb_mbuild.sh: Rewrite.
5707
e1ea1d75
MK
57082003-01-02 Mark Kettenis <kettenis@gnu.org>
5709
5710 * configure.in: Fix typo in last change.
5711 * config.in, configure: Regenerated.
5712
1b831c93
AC
57132003-01-02 Andrew Cagney <ac131313@redhat.com>
5714
5715 * valarith.c (value_binop): Delete obsolete code and comments.
5716 * configure.host: Ditto.
5717 * buildsym.h (make_blockvector): Ditto.
5718 * buildsym.c (make_blockvector): Ditto.
5719 * defs.h (enum language): Ditto.
5720 (chill_demangle): Ditto.
5721 * elfread.c (elf_symtab_read): Ditto.
5722 * dwarfread.c (CHILL_PRODUCER): Ditto.
5723 (set_cu_language): Ditto.
5724 (handle_producer): Ditto.
5725 * expprint.c (print_subexp): Ditto.
5726 * gdbtypes.c (chill_varying_type): Ditto.
5727 * gdbtypes.h (builtin_type_chill_bool): Ditto.
5728 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
5729 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
5730 (chill_varying_type): Ditto.
5731 * language.h (_LANG_chill): Ditto.
5732 * language.c (binop_result_type, integral_type): Ditto.
5733 (character_type, string_type, structured_type): Ditto.
5734 (lang_bool_type, binop_type_check): Ditto.
5735 * stabsread.h (os9k_stabs): Ditto.
5736 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
5737 (define_symbol, read_type, read_struct_fields): Ditto.
5738 (read_array_type, read_enum_type, read_huge_number): Ditto.
5739 (read_range_type, start_stabs): Ditto.
5740 * symfile.c (init_filename_language_table): Ditto.
5741 (add_psymbol_with_dem_name_to_list): Ditto.
5742 * symtab.c (symbol_init_language_specific): Ditto.
5743 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
5744 * symtab.h (struct general_symbol_info): Ditto.
5745 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
5746 * typeprint.c (typedef_print): Ditto.
5747 * utils.c (fprintf_symbol_filtered): Ditto.
5748 * valops.c (value_cast, search_struct_field, value_slice): Delete
5749 obsolete code.
5750 (varying_to_slice): Delete function.
5751 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
5752 (varying_to_slice): Delete declaration.
5753 * MAINTAINERS: Update.
5754
8bb2c122
MK
57552003-01-02 Mark Kettenis <kettenis@gnu.org>
5756
97bf5e38
MK
5757 * configure.in: Reorganize "Checks for library functions section"
5758 a bit. Remove check for `btowc' and `isascii' functions.
5759 * configure: Regenerated.
5760
5ee754fc
MK
5761 * acconfig.h (_MSE_INT_H): Remove.
5762 * configure.in: Create "Checks for header files" section, and move
5763 appropriate tests there. Don't check for objlist.h, wchar.h,
5764 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
5765 misdetection fix. Also add "Checks for types", "Checks for
5766 compiler characteristics" and "Checks for library functions"
5767 sections.
5768 * config.in, configure: Regenerated.
5769
8bb2c122
MK
5770 * configure.in: Create "Checks for programs" section, and move
5771 appropriate tests there.
5772
9a156167
MK
57732003-01-01 Mark Kettenis <kettenis@gnu.org>
5774
5775 * configure.in: Create "Checks for libraries" section, and move
5776 appropriate tests there. Cleanup check for wctype in libw. Use
5777 AC_SEARCH_LIBS to see whether we need libsocket.
5778 * configure: Regenerated.
5779
a80e2bcb 5780For older changes see ChangeLog-2002
c906108c
SS
5781\f
5782Local Variables:
5783mode: change-log
5784left-margin: 8
5785fill-column: 74
5786version-control: never
5787End:
This page took 1.595128 seconds and 4 git commands to generate.