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