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