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