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