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