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