2003-01-12 Andrew Cagney <ac131313@redhat.com>
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2003-01-12  Andrew Cagney  <ac131313@redhat.com>
2
3         * d10v-tdep.c: Include "gdb_assert.h".
4         (d10v_store_return_value): Rewrite to match current interface.
5         (d10v_extract_struct_value_address): Ditto.
6         (d10v_extract_return_value): Ditto.
7         (d10v_gdbarch_init): Set store_restore_value,
8         extract_struct_value_address and extract_return_value.
9
10 2003-01-12  J. Brobecker  <brobecker@gnat.com>
11
12         * hpread.c (set_namestring): New procedure replacing the
13         SET_NAMESTRING macro.
14         (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
15         by calls to set_namestring.
16
17 2003-01-11  J. Brobecker  <brobecker@gnat.com>
18
19         * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
20         a compilation warning.
21         (hpread_process_one_debug_symbol): Likewise.
22
23 2003-01-10  David Carlton  <carlton@math.stanford.edu>
24
25         * linespec.c (decode_line_1): Rename variable 's' to
26         'file_symtab'.
27         (decode_all_digits): Rename argument 's' to 'file_symtab'.
28         (decode_dollar): Ditto.
29         (decode_variable): Ditto.
30         (symbol_found): Ditto.
31
32 2003-01-09  Michael Chastain  <mec@shout.net>
33
34         * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
35
36 2003-01-07  Corinna Vinschen  <vinschen@redhat.com>
37
38         * win32-nat.c (set_process_privilege): New function.
39         (child_attach): Call set_process_privilege() to enable the
40         SE_DEBUG_NAME user privilege if available in process token.
41
42 2003-01-10  J. Brobecker  <brobecker@gnat.com>
43
44         * hpread.c (hpread_process_one_debug_symbol): Fix a small
45         compilation error in the previous revision.
46
47 2003-01-09  David Carlton  <carlton@math.stanford.edu>
48
49         * linespec.c: Update copyright.
50
51 2003-01-09  Daniel Jacobowitz  <drow@mvista.com>
52
53         * lin-lwp.c (child_wait): Ignore exit statuses for processes other
54         than inferior_ptid.
55         (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
56
57 2003-01-09  Andrew Cagney  <ac131313@redhat.com>
58
59         * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
60         Update comments.
61         * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
62         (frame_saved_regs_zalloc): Update.
63         (frame_saved_regs_register_unwind): Update.
64         (create_new_frame): Update.
65         (get_prev_frame): Update.
66         (frame_extra_info_zalloc): Update.
67         (deprecated_get_frame_saved_regs): Update.
68         * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
69         * cris-tdep.c: Update comment.
70
71         * somsolib.h: Fix function indentation.
72         * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
73         * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
74         * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
75         * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
76         * somsolib.c, inftarg.c: Remove assignment in if conditional.
77
78         * infrun.c (follow_fork): Use ISO C definition.
79         * expprint.c (print_subexp): Use xfree instead of free.
80         * charset.c: Include "gdb_string.h" instead of <string.h>.
81         (register_iconv_charsets): Use ISO C definition.
82         (host_charset, target_charset): Ditto.
83         * Makefile.in (charset.o): Update dependencies.
84         (mi-cmd-env.o): Update dependencies.
85
86 2003-01-08  Andrew Cagney  <cagney@redhat.com>
87
88         * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
89         get_frame_base.
90
91 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
92
93         * gdb_mbuild.sh: Add --keep option.  When specified, keep the
94         build directories.  Save edited gdb output in Mbuild.log.  If a
95         build fails, remove any final GDB executable.
96
97 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
98
99         * gdb_mbuild.sh: Edit the output of `maint print architecture'
100         replacing hex constants with function names and stripping leading
101         file name directory prefixes.
102
103 2003-01-08  Andrew Cagney  <cagney@redhat.com>
104
105         * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
106         get_frame_base.
107
108 2003-01-08  David Carlton  <carlton@math.stanford.edu>
109
110         * linespec.c (decode_line_1): Move code into decode_variable.
111         (decode_variable): New function.
112
113 2003-01-08  Andrew Cagney  <ac131313@redhat.com>
114
115         * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
116
117 2003-01-08  Andrew Cagney  <cagney@redhat.com>
118
119         * cris-tdep.c (cris_frame_init_saved_regs): Use
120         get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
121         saved_regs buffer.
122         * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
123         (sh64_nofp_frame_init_saved_regs): Ditto.
124         (sh_fp_frame_init_saved_regs): Ditto.
125         * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
126         * mips-tdep.c (mips_init_extra_frame_info): Ditto.
127         * mcore-tdep.c (analyze_dummy_frame): Ditto.
128         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
129
130 2003-01-08  Daniel Jacobowitz  <drow@mvista.com>
131
132         * minsyms.c (lookup_minimal_symbol): Update comment.
133         (lookup_minimal_symbol_text): Update comment.  Use the hash table.
134         (lookup_minimal_symbol_solib_trampoline): Likewise.
135
136 2003-01-08  Andrew Cagney  <cagney@redhat.com>
137
138         * d10v-tdep.c (d10v_init_extra_frame_info): Use
139         frame_relative_level.
140
141         * alpha-tdep.c: Use get_frame_extra_info.
142         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
143         * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
144         * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
145         * sparc-tdep.c, xstormy16-tdep.c: Ditto.
146
147         * alpha-tdep.c: Use get_next_frame.
148         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
149         * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
150         * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
151         * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
152         * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
153         * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
154         * xstormy16-tdep.c: Ditto.
155         
156 2003-01-07  Andrew Cagney  <cagney@redhat.com>
157
158         * alpha-tdep.c: Use get_frame_base.
159         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
160         * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
161         * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
162         * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
163         * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
164         * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
165         * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
166         * config/sparc/tm-sparc.h: Ditto.
167         
168 2003-01-07  Andrew Cagney  <cagney@redhat.com>
169
170         * frame.c (deprecated_get_frame_context): New function.
171         (deprecated_set_frame_context): New function.
172         * frame.h (deprecated_get_frame_context): Declare.
173         (deprecated_set_frame_context): Declare.
174         * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
175         (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
176         
177 2003-01-07  Andrew Cagney  <cagney@redhat.com>
178
179         * frame.c (deprecated_set_frame_next_hack): New function.
180         (deprecated_set_frame_prev_hack): New function.
181         * frame.h (deprecated_set_frame_next_hack): Declare.
182         (deprecated_set_frame_prev_hack): Declare.
183         * mcore-tdep.c (analyze_dummy_frame): Use
184         deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
185         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
186
187 2003-01-07  David Carlton  <carlton@math.stanford.edu>
188
189         * linespec.c (decode_line_1): Move code into decode_dollar.
190         (decode_dollar): New function.
191
192 2003-01-07  Andrew Cagney  <cagney@redhat.com>
193
194         * arm-tdep.c (arm_init_extra_frame_info): Use
195         deprecated_update_frame_base_hack.
196         * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
197         * mn10300-tdep.c (analyze_dummy_frame): Ditto.
198         (fix_frame_pointer): Ditto.
199         (mn10300_analyze_prologue): Ditto.
200
201 2003-01-07  Andrew Cagney  <cagney@redhat.com>
202
203         * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
204         extra_info using frame_extra_info_zalloc.
205         * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
206         * sh-tdep.c (sh_init_extra_frame_info): Ditto.
207         (sh64_init_extra_frame_info): Ditto.
208         * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
209         * s390-tdep.c (s390_init_extra_frame_info): Ditto.
210         * mips-tdep.c (mips_init_extra_frame_info): Ditto.
211         * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
212         * frv-tdep.c (frv_init_extra_frame_info): Ditto.
213         * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
214         * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
215         * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
216         * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
217         * cris-tdep.c (cris_init_extra_frame_info): Ditto.
218         * arm-tdep.c (arm_init_extra_frame_info): Ditto.
219         * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
220
221         * mn10300-tdep.c (analyze_dummy_frame): Use
222         deprecated_set_frame_extra_info_hack.
223         * mcore-tdep.c (analyze_dummy_frame): Ditto.
224
225 2003-01-07  J. Brobecker  <brobecker@gnat.com>
226
227         * mdebugread.c (parse_symbol): Skip stProc entries which storage
228         class is not scText. These do not define "real" procedures.
229         (parse_partial_symbols): Likewise.
230
231 2003-01-06  Michael Snyder  <msnyder@redhat.com>
232
233         * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
234
235 2003-01-06  Andrew Cagney  <ac131313@redhat.com>
236
237         * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
238         * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
239         * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
240         deprecated_frame_xmalloc_with_cleanup.
241         * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
242         deprecated_frame_xmalloc.
243         * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
244         * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
245
246 2003-01-06  Andrew Cagney  <cagney@redhat.com>
247
248         * x86-64-linux-tdep.c: Include "osabi.h".
249         * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
250
251         * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
252
253 2003-01-06  Andrew Cagney  <cagney@redhat.com>
254
255         * MAINTAINERS (Target Instruction Set Architectures): Update
256         arm-elf.  Can be built with -Werror, has been multiarched.
257
258         * value.h (unpack_long): Make buffer parameter constant.
259         (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
260         * scm-lang.h (scm_parse): Ditto.
261         * defs.h (extract_typed_address, extract_address): Ditto.
262         (extract_long_unsigned_integer): Ditto.
263         * inferior.h (unsigned_pointer_to_address): Ditto.
264         (signed_pointer_to_address): Ditto.
265         * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
266         * gdbarch.h, gdbarch.c: Regenerate.
267         * findvar.c (extract_long_unsigned_integer): Update.
268         (extract_address): Update.
269         (extract_typed_address): Update.
270         (unsigned_pointer_to_address): Update.
271         * values.c (unpack_long): Update.
272         (unpack_double): Update.
273         (unpack_pointer): Update.
274         (unpack_field_as_long): Update.
275         * d10v-tdep.c (d10v_pointer_to_address): Update.
276         * avr-tdep.c (avr_pointer_to_address): Update.
277         * scm-lang.c (scm_unpack): Update.
278         * findvar.c (signed_pointer_to_address): Update.
279
280 2003-01-06  Michal Ludvig  <mludvig@suse.cz>
281
282         * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore 
283         since it is in i386-tdep.c.
284
285 2003-01-06  J. Brobecker  <brobecker@gnat.com>
286
287         * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
288         failure introduced in the previous change.
289
290 2003-01-05  Michael Chastain  <mec@shout.net>
291
292         * README: Remove references to deleted remote-*.c files:
293         remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
294         remote-nrom.c, remote-os9k.c, remote-udi.c.
295
296 2003-01-05  Mark Kettenis  <kettenis@gnu.org>
297
298         * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
299         * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
300         i386_get_longjmp_target.
301
302 2003-01-05  Andrew Cagney  <ac131313@redhat.com>
303
304         * arm-tdep.c (prologue_cache): Change to a pointer.
305         (_initialize_arm_tdep): Allocate prologue_cache.
306         (check_prologue_cache): Update.
307         (save_prologue_cache): Update.
308         (arm_gdbarch_init): Update.
309
310 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
311
312         * stabsread.c (update_method_name_from_physname): Call complaint()
313         instead of error.
314
315 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
316
317         * arm-tdep.c (arm_frame_chain_valid):  Remove unnecessary test.
318         * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
319         * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
320
321         * blockframe.c: Include "gdbcmd.h" and "command.h".
322         (backtrace_below_main): New variable.
323         (file_frame_chain_valid, func_frame_chain_valid)
324         (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
325         (generic_func_frame_chain_valid): Remove functions.
326         (frame_chain_valid, do_flush_frames_sfunc): New functions.
327         (_initialize_blockframe): New function.
328         * Makefile.in (blockframe.o): Update dependencies.
329         * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
330         comment.  Call frame_chain_valid ().
331         * frame.h: Remove old prototypes.  Add prototype for
332         frame_chain_valid and update comments to match.
333         * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
334         Remove old comment.
335         * gdbarch.h: Regenerated.
336         * gdbarch.c: Regenerated.
337
338         * alpha-tdep.c (alpha_gdbarch_init): Don't call
339         set_gdbarch_frame_chain_valid.
340         * avr-tdep.c (avr_gdbarch_init): Likewise.
341         * cris-tdep.c (cris_gdbarch_init): Likewise.
342         * frv-tdep.c (frv_gdbarch_init): Likewise.
343         * h8300-tdep.c (h8300_gdbarch_init): Likewise.
344         * i386-tdep.c (i386_svr4_init_abi): Likewise.
345         (i386_nw_init_abi): Likewise.
346         (i386_gdbarch_init): Likewise.
347         * ia64-tdep.c (ia64_gdbarch_init): Likewise.
348         * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
349         * m68k-tdep.c (m68k_gdbarch_init): Likewise.
350         * mcore-tdep.c (mcore_gdbarch_init): Likewise.
351         * mips-tdep.c (mips_gdbarch_init): Likewise.
352         * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
353         * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
354         * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
355         * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
356         * s390-tdep.c (s390_gdbarch_init): Likewise.
357         * sh-tdep.c (sh_gdbarch_init): Likewise.
358         * sparc-tdep.c (sparc_gdbarch_init): Likewise.
359         * v850-tdep.c (v850_gdbarch_init): Likewise.
360         * vax-tdep.c (vax_gdbarch_init): Likewise.
361         * x86-64-tdep.c (x86_64_init_abi): Likewise.
362
363         * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
364         * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
365         * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
366         * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
367         * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
368         * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
369         * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
370         * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
371
372 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
373
374         * Makefile.in (acconfig_h): Remove incorrect macro.
375         (config_h): Define.
376         (osabi.o): Update dependencies.
377         * configure.tgt: Set gdb_osabi based on target triplet.
378         * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
379         * configure: Regenerated.
380         * config.in: Regenerated.
381         * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
382         (GDB_OSABI_DEFAULT): Define if not already defined.
383         (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
384         (set_osabi_string): New variables.
385         (gdbarch_register_osabi): Add new OS ABI to
386         gdb_osabi_available_names.
387         (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
388         (set_osabi, show_osabi): New functions.
389         (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
390
391 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
392
393         * arch-utils.c (gdbarch_info_init): Set osabi to
394         GDB_OSABI_UNINITIALIZED.
395         * gdbarch.sh: Add osabi to struct gdbarch and to struct
396         gdbarch_info.  Include "osabi.h" in gdbarch.c.  Check osabi
397         in gdbarch_list_lookup_by_info and in gdbarch_update_p.
398         * gdbarch.c: Regenerated.
399         * gdbarch.h: Regenerated.
400         * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
401         there's no BFD.
402         (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
403         * osabi.h (enum gdb_osabi): Move to defs.h.
404         (gdbarch_init_osabi): Update prototype.
405         * defs.h (enum gdb_osabi): Moved here.
406         * Makefile.in: Update dependencies.
407
408         * alpha-tdep.h: Don't include "osabi.h".
409         (struct gdbarch_tdep): Remove osabi member.
410         * alpha-tdep.c: Include "osabi.h".
411         (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
412         iterate over arches.  Update call to gdbarch_init_osabi.
413         (alpha_dump_tdep): Don't dump osabi.
414         * alpha-linux-tdep.c: Include "osabi.h".
415         * alpha-osf1-tdep.c: Include "osabi.h".
416         * alphafbsd-tdep.c: Include "osabi.h".
417         * alphanbsd-tdep.c: Include "osabi.h".
418
419         * arm-tdep.h: Don't include "osabi.h".
420         (struct gdbarch_tdep): Remove osabi member.
421         * arm-tdep.c: Include "osabi.h".
422         (arm_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
423         iterate over arches.  Update call to gdbarch_init_osabi.
424         (arm_dump_tdep): Don't dump osabi.
425         * arm-linux-tdep.c: Include "osabi.h".
426         * armnbsd-tdep.c: Include "osabi.h".
427
428         * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
429         Update call to gdbarch_init_osabi.
430
431         * i386-tdep.h: Don't include "osabi.h".
432         (struct gdbarch_tdep): Remove osabi member.
433         * i386-tdep.c: Include "osabi.h".
434         (i386_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
435         iterate over arches.  Update call to gdbarch_init_osabi.
436         (i386_dump_tdep): Don't dump osabi.
437         * i386-linux-tdep.c: Include "osabi.h".
438         * i386-sol2-tdep.c: Include "osabi.h".
439         * i386bsd-tdep.c: Include "osabi.h".
440         * i386gnu-tdep.c: Include "osabi.h".
441         * i386ly-tdep.c: Include "osabi.h".
442         * i386nbsd-tdep.c: Include "osabi.h".
443         * i386obsd-tdep.c: Include "osabi.h".
444
445         * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
446         (mips_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
447         check osabi when iterating over arches.  Update call to
448         gdbarch_init_osabi.
449         (mips_dump_tdep): Don't dump osabi.
450
451         * ns32k-tdep.h: Don't include "osabi.h".
452         (struct gdbarch_tdep): Remove.
453         * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
454         gdbarch_lookup_osabi.  Don't iterate over arches.  Don't
455         allocate tdep.  Update call to gdbarch_init_osabi.
456         (ns32k_dump_tdep): Remove.
457         (_initialize_ns32k_tdep): Update call to gdbarch_register.
458         * ns32knbsd-tdep.c: Include "osabi.h".
459
460         * ppc-tdep.h: Don't include "osabi.h".
461         (struct gdbarch_tdep): Remove osabi member.
462         * rs6000-tdep.c: Include "osabi.h".
463         (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't check
464         osabi when iterating over arches.  Update call to
465         gdbarch_init_osabi.
466         (rs6000_dump_tdep): Don't dump osabi.
467         * ppc-linux-tdep.c: Include "osabi.h".
468         * ppcnbsd-tdep.c: Include "osabi.h".
469
470         * sh-tdep.h: Don't include "osabi.h".
471         (struct gdbarch_tdep): Remove osabi member.
472         * sh-tdep.c: Include "osabi.h".
473         (sh_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
474         iterate over arches.  Update call to gdbarch_init_osabi.
475         (sh_dump_tdep): Don't dump osabi.
476         * shnbsd-tdep.c: Include "osabi.h".
477
478         * sparc-tdep.c: Include "osabi.h".
479         (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
480         iterate over arches.  Update call to gdbarch_init_osabi.
481         (sparc_dump_tdep): Don't dump osabi.  Do dump the rest of the
482         tdep structure.
483
484         * vax-tdep.h: Don't include "osabi.h".
485         (struct gdbarch_tdep): Remove.
486         * vax-tdep.c: Include "osabi.h".
487         (vax_gdbarch_init): Don't call gdbarch_lookup_osabi.  Don't
488         iterate over arches.  Don't allocate tdep.  Update call
489         to gdbarch_init_osabi.
490         (vax_dump_tdep): Remove.
491         (_initialize_vax_tdep): Update call to gdbarch_register.
492
493 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
494
495         * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
496         entirely.
497         (breakpoint_re_set_one): Don't fetch the value for a disabled
498         watchpoint.
499
500 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
501
502         * buildsym.h (processing_hp_compilation): Remove obsolete variable.
503         * gdbarch.sh Remove include of "value.h" in gdbarch.h.
504         (COERCE_FLOAT_TO_DOUBLE): Remove.
505         * gdbarch.c: Regenerate.
506         * gdbarch.h: Regenerate.
507         * Makefile.in: Remove value_h from gdbarch_h.
508         * valops.c (coerce_float_to_double): New variable.
509         (default_coerce_float_to_double): Remove.
510         (standard_coerce_float_to_double): Remove.
511         (value_arg_coerce): Use coerce_float_to_double.
512         (_initialize_valops): Add "set coerce-float-to-double".
513         * value.h (default_coerce_float_to_double): Remove prototype.
514         (standard_coerce_float_to_double): Remove prototype.
515
516         * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
517         prototyped.
518         * mdebugread.c (parse_symbol): Likewise.
519         * stabsread.c (define_symbol): Mark all functions as prototyped.
520
521         * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
522         * alpha-tdep.c (alpha_gdbarch_init): Remove call to
523         set_gdbarch_coerce_float_to_double.
524         * arm-tdep.c (arm_gdbarch_init): Likewise.
525         * frv-tdep.c (frv_gdbarch_init): Likewise.
526         * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
527         * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
528         * mips-tdep.c (mips_gdbarch_init): Likewise.
529         (mips_coerce_float_to_double): Remove.
530         * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
531         (rs6000_coerce_float_to_double): Remove.
532         * s390-tdep.c (s390_gdbarch_init): Likewise.
533         * sh-tdep.c (sh_gdbarch_init): Likewise.
534         (sh_coerce_float_to_double): Remove.
535         * sparc-tdep.c (sparc_gdbarch_init): Likewise.
536         (sparc_coerce_float_to_double): Remove.
537         * v850-tdep.c (v850_gdbarch_init): Likewise.
538         * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
539         * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
540         * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
541         (hppa_coerce_float_to_double): Remove prototype.
542         * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
543
544 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
545
546         * regformats/reg-m68k.dat: Remove fpcode and fpflags.
547
548 2003-01-04  Daniel Jacobowitz  <drow@mvista.com>
549
550         Suggested by Stewart Brown <sb24@avaya.com>:
551         * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
552         in recursive calls.  Handle TYPE_CODE_TYPEDEF.
553         (c_type_print_varspec_suffix): Likewise.
554
555 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
556
557         * configure.in: Don't set and AC_SUBST SUBDIRS.
558         * configure: Regenerated.
559
560         * configure.in: Remove code dealing with shared libraries.
561         * Makefile.in: Remove HLDFLAGS and HLDENV.
562         * configure: Regenerated.
563
564 2003-01-04  Andrew Cagney  <ac131313@redhat.com>
565
566         * frame.c (deprecated_frame_xmalloc): New function.
567         (deprecated_set_frame_saved_regs_hack): New function.
568         (deprecated_set_frame_extra_info_hack): New function.
569         * frame.h (deprecated_frame_xmalloc): Declare.
570         (deprecated_set_frame_saved_regs_hack): Declare.
571         (deprecated_set_frame_extra_info_hack): Declare.
572
573 2003-01-04  Mark Kettenis  <kettenis@gnu.org>
574
575         * configure.in: Move code that provides the --enable-gdbtk option
576         right after the code that handles the --enable-tui option, and
577         polish it somewhat.
578         * configure: Regenerated.
579
580         * configure.in: Call AC_GNU_SOURCE.  Check for pread64 using
581         AC_CHECK_FUNCS and remove the old check for pread64.
582         * acinclude.m4 (AC_GNU_SOURCE): New macro.
583         * acconfig.h (_GNU_SOURCE): Add.
584         (HAVE_PREAD64): Remove.
585         * configure, aclocal.m4, config.in: Regenerated.
586
587 2003-01-03  Andrew Cagney  <ac131313@redhat.com>
588
589         * alpha-tdep.c: Use get_frame_saved_regs.
590         * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
591         * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
592         * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
593         * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
594         * vax-tdep.c, xstormy16-tdep.c: Ditto.
595
596 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
597
598         * configure.in: Remove all use of the SUBDIRS variable; add
599         directories using the AC_CONFIG_SUBDIRS macro instead.  Polish
600         code providing the --enable-multi-ice option, and move it right in
601         front of the code that checks whether gdbserver is supported.
602         Polish that too.
603         * configure: Regenerated.
604         * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
605         @SUBDIRS@.
606
607 2003-01-03  Andrew Cagney  <cagney@redhat.com>
608
609         * alpha-tdep.c: Use deprecated_update_frame_base_hack.
610         * avr-tdep.c, cris-tdep.c: Ditto.
611         * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
612         * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
613         
614 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
615
616         * configure.in: Remove --enable-netrom option.
617         * configure: Regenerated.
618
619 2003-01-03  Mark Kettenis  <kettenis@gnu.org>
620
621         * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
622         declaration for `struct re_pattern_buffer' instead.
623         * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
624
625 2003-01-03  J. Brobecker  <brobecker@gnat.com>
626
627         * mdebugread.c (parse_symbol): Count until the stEnd matching
628         the structure name.
629
630 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
631
632         * configure.in: Remove --with-cpu option.
633         subscripts.  Remove evil changequotes here.
634         * acconfig.h (TARGET_CPU_DEFAULT): Remove.
635         * config.in, configure: Regenerated.
636         
637         * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
638         * configure.in: Cleanup section that sources GDB and BFD configure
639         subscripts.  Remove evil changequotes here.
640         * config.in, configure: Regenerated.
641
642 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
643
644         * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
645         frame accessor methods.
646         * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
647         * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
648         * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
649         * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
650         * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
651         * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
652         * z8k-tdep.c: Ditto.
653         
654 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
655
656         * configure.in: Remove UI_OUT configuration code.
657         * ada-lang.c: Update assuming UI_OUT is always true.
658         * Makefile.in (UIOUT_CFLAGS): Remove.
659         * configure: Regenerated.
660         * TODO: Remove blurb about elimination of -DUI_OUT.
661
662         * configure.in: Move code that provides the --enable-gdbcli,
663         --enable-gdbmi options right before the code that handles the
664         --enable-tui option.  Polish a bit.
665         * configure: Regenerated.
666
667         * configure.in: Rewrite check for GNU regex and the
668         --without-included regex option, and move it into the "Checks for
669         library functions" section.  This makes us use the system regex
670         again by default on systems with version 2 of the GNU C library.
671         This was apparently broken.
672         * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
673         * acconfig.h (USE_INCLUDED_REGEX): Remove.
674         * config.in, configure: Regenerated.
675
676         * configure.in: Move code that provides the --enable-tui option
677         before the "Checks for libraries" section.  Polish the code
678         somewhat and set need_curses to yes if we build the TUI.  Rewrite
679         code that looks for a library providing termcap functionality to
680         match more closely what's done in the Readline library, and move
681         it into to the "Checks for libraries" section.
682         * configure: Regenerated.
683         * Makefile.in (TERMCAP): Remove variable.
684         * config/i386/go32.mh (TERMCAP): Remove variable.
685
686 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
687
688         * MAINTAINERS: Mention gdb_mbuild.sh.
689         * gdb_mbuild.sh: Rewrite.
690
691 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
692
693         * configure.in: Fix typo in last change.
694         * config.in, configure: Regenerated.
695
696 2003-01-02  Andrew Cagney  <ac131313@redhat.com>
697
698         * valarith.c (value_binop): Delete obsolete code and comments.
699         * configure.host: Ditto.
700         * buildsym.h (make_blockvector): Ditto.
701         * buildsym.c (make_blockvector): Ditto.
702         * defs.h (enum language): Ditto.
703         (chill_demangle): Ditto.
704         * elfread.c (elf_symtab_read): Ditto.
705         * dwarfread.c (CHILL_PRODUCER): Ditto.
706         (set_cu_language): Ditto.
707         (handle_producer): Ditto.
708         * expprint.c (print_subexp): Ditto.
709         * gdbtypes.c (chill_varying_type): Ditto.
710         * gdbtypes.h (builtin_type_chill_bool): Ditto.
711         (builtin_type_chill_char, builtin_type_chill_long): Ditto.
712         (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
713         (chill_varying_type): Ditto.
714         * language.h (_LANG_chill): Ditto.
715         * language.c (binop_result_type, integral_type): Ditto.
716         (character_type, string_type, structured_type): Ditto.
717         (lang_bool_type, binop_type_check): Ditto.
718         * stabsread.h (os9k_stabs): Ditto.
719         * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
720         (define_symbol, read_type, read_struct_fields): Ditto.
721         (read_array_type, read_enum_type, read_huge_number): Ditto.
722         (read_range_type, start_stabs): Ditto.
723         * symfile.c (init_filename_language_table): Ditto.
724         (add_psymbol_with_dem_name_to_list): Ditto.
725         * symtab.c (symbol_init_language_specific): Ditto.
726         (symbol_init_demangled_name, symbol_demangled_name): Ditto.
727         * symtab.h (struct general_symbol_info): Ditto.
728         (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
729         * typeprint.c (typedef_print): Ditto.
730         * utils.c (fprintf_symbol_filtered): Ditto.
731         * valops.c (value_cast, search_struct_field, value_slice): Delete
732         obsolete code.
733         (varying_to_slice): Delete function.
734         * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
735         (varying_to_slice): Delete declaration.
736         * MAINTAINERS: Update.
737
738 2003-01-02  Mark Kettenis  <kettenis@gnu.org>
739
740         * configure.in: Reorganize "Checks for library functions section"
741         a bit.  Remove check for `btowc' and `isascii' functions.
742         * configure: Regenerated.
743
744         * acconfig.h (_MSE_INT_H): Remove.
745         * configure.in: Create "Checks for header files" section, and move
746         appropriate tests there.  Don't check for objlist.h, wchar.h,
747         wctype.h and asm/debugreg.h.  Rewrite Solaris 2.[78] <curses.h>
748         misdetection fix.  Also add "Checks for types", "Checks for
749         compiler characteristics" and "Checks for library functions"
750         sections.
751         * config.in, configure: Regenerated.
752
753         * configure.in: Create "Checks for programs" section, and move
754         appropriate tests there.
755
756 2003-01-01  Mark Kettenis  <kettenis@gnu.org>
757
758         * configure.in: Create "Checks for libraries" section, and move
759         appropriate tests there.  Cleanup check for wctype in libw.  Use
760         AC_SEARCH_LIBS to see whether we need libsocket.
761         * configure: Regenerated.
762
763 For older changes see ChangeLog-2002
764 \f
765 Local Variables:
766 mode: change-log
767 left-margin: 8
768 fill-column: 74
769 version-control: never
770 End: