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