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