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