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