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