1 2002-03-14 Richard Henderson <rth@redhat.com>
3 * configure.in: Detect declaration for canonicalize_file_name.
4 * utils.c (canonicalize_file_name): Declare, if needed.
5 (gdb_realpath): Prefer realpath if available and usable.
6 * config.in, configure: Rebuild.
8 2002-03-14 Richard Henderson <rth@redhat.com>
10 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
11 a constant array bound.
13 * MAINTAINERS: Add myself to write-after-approval.
15 2002-03-13 Michal Ludvig <mludvig@suse.cz>
17 * gdbserver/remote-util.c (remote_open): Print remote-side's
18 IP address when remote debugging over the network.
20 2002-03-12 David O'Brien <obrien@FreeBSD.org>
22 * config/sparc/fbsd.mh: Fix copyright.
23 * config/sparc/fbsd.mt: Likewise.
25 2002-03-11 Richard Earnshaw <rearnsha@arm.com>
27 * MAINTAINERS: Fix typo in name of gdb warnings option.
28 (x86-64): Fix formating so that this can be parsed by awk.
30 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
32 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
33 * defs.h: Include "gdb/signals.h".
34 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
36 2002-03-10 Michal Ludvig <mludvig@suse.cz>
38 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
39 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
42 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
43 Don Howard <dhoward@redhat.com>
45 * mips-tdep.c (ST0_FR): Define.
46 (mips2_fp_compat): New function, temporarily disabled.
47 (mips_read_fp_register_single): New function.
48 (mips_read_fp_register_double): New function.
49 (mips_print_register): Use them.
50 (do_fp_register_row): Likewise.
52 2002-03-09 Andrew Cagney <ac131313@redhat.com>
54 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
57 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
59 * stabsread.c (read_member_functions): Fix is_stub test for
60 static member functions, improve comment.
62 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
64 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
65 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
66 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
67 commands that set boolean values.
68 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
69 (arm_rdi_resume): Always initialize PC.
70 (arm_rdi_open): Don't use rslt as a boolean.
71 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
72 (arm_rdi_fetch_registers, arm_rdi_store_registers)
73 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
74 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
76 2002-03-06 Alexandre Oliva <aoliva@redhat.com>
78 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
81 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
83 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
84 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
86 2002-03-06 Andrew Cagney <ac131313@redhat.com>
88 * cli/cli-decode.c (set_cmd_completer): New function.
89 * command.h (set_cmd_completer): Declare.
90 * cli/cli-decode.h (set_cmd_completer): Ditto.
92 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
93 * cli/cli-cmds.c (init_cli_cmds): Ditto.
94 * win32-nat.c (_initialize_inftarg): Ditto.
95 * remote-rdi.c (_initialize_remote_rdi): Ditto.
96 * proc-api.c (_initialize_proc_api): Ditto.
97 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
98 * source.c (_initialize_source): Ditto.
99 * exec.c (_initialize_exec): Ditto.
100 * solib.c (_initialize_solib): Ditto.
101 * top.c (init_main): Ditto.
102 * tracepoint.c (_initialize_tracepoint): Ditto.
103 * symfile.c (_initialize_symfile): Ditto.
104 * printcmd.c (_initialize_printcmd): Ditto.
105 * infcmd.c (_initialize_infcmd): Ditto.
106 * corefile.c (_initialize_core): Ditto.
108 2002-03-05 Andrew Cagney <ac131313@redhat.com>
110 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
112 2002-03-05 Andrew Cagney <ac131313@redhat.com>
114 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
116 2002-03-05 Andrew Cagney <ac131313@redhat.com>
118 * NEWS: Update headings, 5.2 has branched.
120 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
122 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
123 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
124 (register_addr, REGISTER_RAW_SIZE): Likewise.
125 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
126 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
128 2002-03-03 Michal Ludvig <mludvig@suse.cz>
130 * MAINTAINERS (x86-64): Add myself.
131 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
132 changed value_ptr -> struct value *
134 2002-03-01 David O'Brien <obrien@FreeBSD.org>
136 * configure.host (sparc64-*-freebsd): Add.
137 * configure.tgt: Likewise.
138 * config/sparc/fbsd.mh: New file.
139 * config/sparc/fbsd.mt: Likewise.
140 * config/sparc/nm-fbsd.h: Likewise.
141 * config/sparc/tm-fbsd.h: Likewise.
143 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
145 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
146 regformats/reg-s390x.dat.
148 2002-03-01 Andrew Cagney <ac131313@redhat.com>
150 * utils.c: Add FIXME explaining true/false problem.
152 2002-02-28 Andrew Cagney <ac131313@redhat.com>
154 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
156 2002-02-28 Michael Chastain <mec@shout.net>
158 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
160 2002-02-28 Daniel Jacobowitz <drow@mvista.com>
162 * gdbserver/linux-s390-low.c: New file.
163 * regformats/reg-s390.dat: New file.
164 * regformats/reg-s390x.dat: New file.
165 * gdbserver/configure.srv: Add S/390.
166 * gdbserver/Makefile.in: Add S/390.
167 * configure.tgt: Enable gdbserver for S/390.
169 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
171 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
172 first line of the doc string for "info dos", except at the end of
173 the sentence, since the short help stops at the first period.
175 2002-02-28 Jason Merrill <jason@redhat.com>
177 * dwarf2read.c (dwarf_cfi_name): Add new codes.
179 2002-02-27 Fred Fish <fnf@redhat.com>
181 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
182 comment (dumy -> dummy).
184 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
186 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
188 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
190 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
192 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
194 * gdbserver/acconfig.h: New file.
195 * gdbserver/i387-fp.c: New file.
196 * gdbserver/i387-fp.h: New file.
197 * gdbserver/linux-x86-64.c: New file.
198 * regformats/reg-x86-64.dat: New file.
199 * configure.tgt: Add x86_64-*-linux* gdbserver support.
200 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
201 * gdbserver/configure.in: Add support for regsets.
202 * gdbserver/config.in: Regenerate.
203 * gdbserver/configure: Regenerate.
204 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
205 * gdbserver/linux-low.h: New file.
206 * gdbserver/linux-low.c: Include "linux-low.h". Add support
208 * gdbserver/linux-arm-low.c: Include "linux-low.h".
209 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
210 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
211 * gdbserver/linux-mips-low.c: Include "linux-low.h".
212 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
213 * gdbserver/linux-sh-low.c: Include "linux-low.h".
214 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
215 "i387-fp.h". Add PTRACE_GETREGS and friends.
216 * gdbserver/regcache.c (supply_register): New function.
217 (supply_register_by_name): New function.
218 (collect_register): New function.
219 (collect_register_by_name): New function.
221 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
223 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
224 (config.status): Add configure.srv dependency.
225 (server_h): Add config.h dependency.
227 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
229 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
230 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
231 * gdbserver/configure.srv: Change i386-*-linux* to use
234 2002-02-26 Andrew Cagney <ac131313@redhat.com>
236 * x86-64-tdep.c: Re-indent. Update copyright date.
238 2002-02-26 Andrew Cagney <ac131313@redhat.com>
240 From Michal Ludvig <mludvig@suse.cz>:
241 * x86-64-tdep.c (value.h): Delete.
242 (gdb_assert.h): Include.
243 (x86_64_register_convert_to_virtual,
244 x86_64_register_convert_to_raw ): Add check which lets only
245 floating-point values to be converted.
246 (value_push): Delete.
247 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
248 (i386_gdbarch_init): Number of register_bytes fixed.
250 2002-02-26 Andrew Cagney <ac131313@redhat.com>
252 * MAINTAINERS: Add x86-64 target.
254 2002-02-26 Andrew Cagney <ac131313@redhat.com>
256 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
257 * osfsolib.c (solib_map_sections): Ditto.
258 * irix5-nat.c (solib_map_sections): Ditto.
259 * corelow.c (gdb_check_format): Ditto.
260 * symfile.c (symfile_bfd_open): Ditto.
261 * solib.c (solib_map_sections): Ditto.
264 2002-02-26 Andrew Cagney <ac131313@redhat.com>
266 * remote.c (_initialize_remote): By default, disable ``e'' and
267 ``E'' step out-of-range packets.
269 2002-02-26 Andreas Schwab <schwab@suse.de>
271 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
272 m68k_linux_frame_saved_pc.
273 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
275 (SIGCONTEXT_PC_OFFSET): Remove.
276 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
277 m68k_linux_sigtramp_saved_pc): New functions.
278 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
279 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
280 (UCONTEXT_PC_OFFSET): Define.
281 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
282 non-RT and RT signal trampolines.
284 2002-02-26 Richard Earnshaw <rearnsha@arm.com>
286 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
287 (TARGET_NBPG, STACK_END_ADDR): Delete
288 (VARIABLES_INSIDE_BLOCK): Delete.
290 2002-02-25 Andrew Cagney <ac131313@redhat.com>
292 * utils.c (perror_with_name): Make string parameter constant.
293 (print_sys_errmsg): Ditto.
295 * defs.h (perror_with_name): Update.
296 (print_sys_errmsg): Update.
299 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
301 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
302 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
304 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
306 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
307 if it already matches the current architecture from the exec file.
308 Include arch-utils.h for gdbarch_info_init prototype.
309 * Makefile.in (rs6000-nat.o): Update dependencies.
311 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
313 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
314 list of exported variables.
316 2002-02-24 Daniel Jacobowitz <drow@mvista.com>
318 * gdbserver/configure.srv: New file.
319 * gdbserver/configure.in: Use configure.srv instead
320 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
322 * gdbserver/configure: Regenerated.
323 * gdbserver/terminal.h: New file.
324 * gdbserver/Makefile.in: Update for configure changes. Remove
325 more unneeded include paths.
327 2002-02-24 Andrew Cagney <ac131313@redhat.com>
330 * config/sparc/tm-sp64.h: Fix grammar and typos.
333 2002-02-24 Andrew Cagney <ac131313@redhat.com>
335 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
336 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
337 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
338 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
339 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
340 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
341 * s390-tdep.c: Ditto.
342 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
343 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
344 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
345 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
346 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
347 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
348 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
349 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
350 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
351 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
354 2002-02-23 Andrew Cagney <ac131313@redhat.com>
356 * lin-thread.c: Delete file.
357 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
358 to gdb_proc_service.h.
359 * configure: Re-generate.
361 * ocd.c (ocd_open): Do not try to open the "ocd" device.
362 * serial.c (serial_open): Delete check for "ocd".
365 * Makefile.in (linux-thread.o): Delete target.
366 * linux-thread.c: Delete file.
368 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
369 renamed SH files to be consistent.
371 * symtab.c (sort_search_symbols): Use xfree.
373 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
375 * arm-linux-tdep.c (arm_linux_init_abi): Register
376 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
377 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
378 definition with undef, since we don't want the sysvr4 definition.
379 (SKIP_TRAMPOLINE_CODE): Likewise.
381 2002-02-23 Andrew Cagney <ac131313@redhat.com>
383 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
385 * configure.in: (AC_CHECK_FUNCS) Added test for
386 canonicalize_file_name Regenerated.
387 * config.in, configure: Regenerated.
388 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
389 defined use canonicalize_file_name.
391 2002-02-23 Michael Chastain <mec@shout.net>
393 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
395 2002-02-23 Andrew Cagney <ac131313@redhat.com>
397 * README: Remove references to cygnus.com.
398 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
399 dot com'' form. Remove references to cygnus.com and sourceware.
401 2002-02-23 Andrew Cagney <ac131313@redhat.com>
403 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
404 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
405 1003.1-2001 no longer allows "head -1".
406 * gdb/Makefile.in (version.c): Likewise.
407 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
408 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
409 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
411 2002-02-23 Andrew Cagney <ac131313@redhat.com>
413 * cli/cli-decode.c (cmd_cfunc_eq): New function.
414 * command.h (cmd_cfunc_eq): Declare.
415 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
417 * cli/cli-cmds.h (is_complete_command): Change parameter to a
418 ``struct cmd_list_element *''.
419 * cli/cli-cmds.c (is_complete_command): Update. Use
421 * top.c (execute_command): Pass the command to
423 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
425 2002-02-23 Andrew Cagney <ac131313@redhat.com>
427 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
428 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
429 architecture defines.
430 * s390-tdep.c (s390_gdbarch_init): Likewise.
432 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
434 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
435 (arm_linux_push_arguments): Likewise.
436 (arm_linux_init_abi): Register them. Also register linux-specific
438 (find_minsym_and_objfile): Use strcmp, not STREQ.
439 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
440 (arm_linux_call_dummy_words): Delete declaration.
441 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
442 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
446 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
448 * maint.c (print_section_info): Do not prepend `0x' to filepos
449 output, it will be handled by local_hex_string_custom.
451 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
453 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
454 (store_newfpe_double, store_newfpe_extended, store_fpregister)
455 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
457 2002-02-22 Jim Blandy <jimb@redhat.com>
459 Indicate that the bcache functions don't change the strings
461 * bcache.h (bcache, hash): Add `const' keywords to declarations.
462 * bcache.c (bcache, hash): Add `const' keywords to definitions.
464 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
466 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
468 2002-02-21 Christopher Faylor <cgf@redhat.com>
470 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
471 find the complete path to a loaded DLL.
473 2002-02-21 Fred Fish <fnf@redhat.com>
475 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
476 that marks the end of the range of a function, enter a line number
477 entry that has a line number of zero and a PC offset that matches
478 the end of the function. This starts a range of PC's for which no
479 line number information is known.
480 * symtab.c (find_pc_sect_line): If our best fit is in a range of
481 PC's for which no line number info is found (line number is zero)
482 then we didn't find any valid line information.
483 * symtab.h: Document use of zero line number entry.
485 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
487 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
488 (have_ptrace_getvrregs): Define for run time checks.
489 (gdb_vrregset_t): New type for Altivec register handling.
490 (fetch_register, store_register): Fetch/store altivec register
492 (fetch_altivec_register, store_altivec_register): New functions.
493 (supply_vrregset, fill_vrregset): New functions.
494 (fetch_altivec_registers, store_altivec_registers): New functions.
495 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
498 2002-02-21 Jiri Smid <smid@suse.cz>
500 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
502 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
504 * Makefile.in (armnbsd-nat.o): Update dependencies.
505 * armnbsd-nat.c (supply_gregset): New function. Common code to
506 supply the integer register set.
507 (supply_fparegset): New function. Similar for FPA registers.
508 (fetch_regs, fetch_fp_regs): Use them.
509 (fetch_core_registers): Likewise.
510 (fetch_elfcore_registers): New function.
511 (arm_netbsd_elfcore_fns): New core-file type specification.
512 (_initialize_arm_netbsd_nat): Register it.
514 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
516 * armnbsd-nat.c: Include gdbcore.h.
517 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
518 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
519 'void' to declaration, to shut up ARI.
520 (fetch_core_registers): Make static. Rewrite using supply_register.
521 (arm_netbsd_core_fns): New core-file type specification.
522 (_initialize_arm_netbsd_nat): New function.
524 2002-02-21 Christopher Faylor <cgf@redhat.com>
526 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
529 2002-02-20 Christopher Faylor <cgf@redhat.com>
531 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
534 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
536 * jv-exp.y (parse_number): Change type of implicit longs
537 to builtin_type_uint64.
539 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
541 * gdbserver/linux-low.c (mywait): Change argument to waitpid
542 to be an integer instead of a `union wait'.
544 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
546 * mips-linux-nat.c: Call the operating system GNU/Linux.
547 * mips-linux-tdep.c: Likewise.
548 * mips-tdep.c: Likewise.
550 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
553 * jv-exp.y (parse_number): Handle 64-bit integers.
555 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
557 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
558 AC_STDC_HEADERS to AC_HEADER_STDC.
559 * gdbserver/configure: Regenerated.
561 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
563 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
565 * sparc-tdep.c (get_longjmp_target): Likewise.
567 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
569 * News: Add news about ARM and Multi-arch. Mention the new target
572 2002-02-19 Jim Blandy <jimb@redhat.com>
574 * stabsread.c (error_type_complaint): Improve error message.
576 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
578 * gdbserver/README: Update documentation.
579 * gdbserver/configure.in: Update configury to match documentation.
580 * gdbserver/Makefile.in: Likewise.
581 * gdbserver/configure: Regenerated.
582 * gdbserver/aclocal.m4: New file, generated by aclocal.
583 * gdbserver/config.in: New file, generated by autoheader.
585 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
587 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
590 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
592 * arm-tdep.h (enum arm_float_model): New enum.
593 (struct gdbarch_tdep): Add fp_model.
594 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
595 up floating-point conversions until we know the floating-point model
596 in use by the inferior. Don't complain about being unable to
597 determine the ABI of the inferior when we don't have one.
598 (arm_extract_return_value): Support different floating-point models.
599 (arm_store_return_value): Likewise.
600 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
602 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
604 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
606 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
607 of ``current_gdbarch''.
609 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
611 * armnbsd-nat.c : ANSIfy all function declarations.
612 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
613 (fetch_inferior_registers): Re-implement in terms of above.
614 (store_register, store_regs, store_fp_register, store_fp_regs): New.
615 (store_inferior_registers): Re-implement in terms of above.
617 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
619 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
621 * arm-linux-tdep.c: Likewise.
622 * config/arm/tm-linux.h: Likewise.
624 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
626 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
627 * config/arm/nbsd.mt (TM_FILE): Delete.
628 * config/arm/tm-nbsd.h: Delete.
630 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
632 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
633 Initialize CALL_DUMMY_LENGTH.
635 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
637 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
639 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
640 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
641 defines one thing and that is incorrect for this port.
642 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
644 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
646 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
648 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
650 * win32-nat.c (display_selector): New function. Displays information
651 about the information returned by GetThreadSelectorEntry API function.
652 (display_selectors): New function. Displays the infomation of
653 the selector given as argument, or of CS, DS ans FS selectors
654 if no argument is given.
655 ( _initialize_inftarg): Add "w32" as info prefix command.
656 Add "info w32 selector" as command calling display_selectors.
658 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
660 * i386-tdep.c (get_longjmp_target): Fix compilation failure
661 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
664 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
666 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
668 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
670 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
671 (arm_fix_call_dummy): Call it.
672 (arm_call_dummy_breakpoint_offset): Delete.
673 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
674 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
676 2002-02-18 Andrew Cagney <ac131313@redhat.com>
678 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
679 Default to func_frame_chain_valid.
680 * gdbarch.h, gdbarch.c: Re-generate.
681 * frame.h (FRAME_CHAIN_VALID): Delete definition.
683 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
685 * ppc-linux-nat.c: Update copyright.
686 (fetch_register, store_register): Add tid parameter, don't compute
688 (fetch_ppc_registers, store_ppc_registers): Add tid
689 parameter. Pass it along to callees.
690 (fetch_inferior_registers, store_inferior_registers): Compute tid
691 here, and pass it to calleed functions.
692 (fill_gregset, supply_fpregset): Clean up formatting.
694 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
696 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
697 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
699 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
701 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
702 * gdbarch.c gdbarch.h: Regenerate.
703 * breakpoint.c (create_longjmp_breakpoint): Always compile this
705 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
706 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
707 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
709 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
710 * arm-tdep.c (arm_get_longjmp_target): New function.
711 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
712 this to a positive value register arm_get_longjmp_target as the
714 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
715 (arm_linux_init_abi): Set up longjmp description in tdep.
716 * armnbsd-nat.c (get_longjmp_target): Delete.
717 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
719 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
720 (get_longjmp_target): Delete declaration.
721 (GET_LONGJMP_TARGET): Delete.
722 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
723 (GET_LONGJMP_TARGET): Delete.
725 2002-02-17 Kevin Buettner <kevinb@redhat.com>
727 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
728 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
729 of ``current_gdbarch''.
731 2002-02-17 Tom Tromey <tromey@redhat.com>
733 * cli/cli-cmds.c (compare_strings): New function.
734 (complete_command): Only print each unique item once.
735 * completer.h (complete_line): Declare.
736 * completer.c (complete_line): New function.
737 (line_completion_function): Use it.
739 2002-02-16 Andrew Cagney <ac131313@redhat.com>
741 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
742 * gdbarch.h, gdbarch.c: Re-generate.
744 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
746 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
748 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
750 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
751 * valops.c (value_arg_coerce): Don't take the address of a reference
752 to convert an argument to a reference.
754 2002-02-15 Christopher Faylor <cgf@redhat.com>
756 * win32-nat.c (get_image_name): New function.
757 (handle_load_dll): Use get_image_name function.
758 (get_child_debug_event): Avoid registering debug events until possibly
759 execed process is started.
760 (child_create_inferior): Allow invocation via shell so that command
761 line redirection, etc. works ok.
762 (_initialize_inftarg): Add new command: "set shell" to control whether
763 a shell is used to start a process.
765 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
767 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
768 instead of find_register_by_number.
769 (cannot_store_register): Likewise.
771 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
773 * dwarf2read.c: Replace fprintf (stderr, ...) by
774 fprintf_unfiltered (gdb_stderr, ...).
776 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
778 * gdbserver/gdbserver.1: Document --attach.
780 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
782 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
784 * arm-tdep.c (arm_default_arm_le_breakpoint)
785 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
786 (arm_default_thumb_be_breakpoint): New. Initialize them from
787 traditional breakpoint defines.
788 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
789 (arm_gdbarch_init): Initialize new breakpoint variables.
790 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
791 (arm_linux_init_abi): Initialize linux-specific breakpoint.
792 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
793 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
795 (arm_netbsd_init_abi_common): ... here; new function.
796 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
797 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
798 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
799 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
801 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
803 * arm-tdep.h (enum arm_abi): New enum.
804 (struct gdbarch_tdep): New structure.
805 (LOWEST_PC): Provide a default.
806 (arm_gdbarch_register_os_abi): Declare new function.
807 * arm-tdep.c (arm_abi_names): New array.
808 (process_note_abi_tag_sections): New function.
809 (get_elfosabi): New function.
810 (arm_gdbarch_register_os_abi): New function.
811 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
812 support for that ABI has been built in, then call the appropriate
813 configuration routine. Use gdbarch_num_regs() to get the number
815 (arm_dump_tdep): New function.
816 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
817 place-holder functions.
818 (_initialize_arm_tdep): Register them.
819 * config/arm/tm-arm.h (LOWEST_PC): Delete.
821 * armnbsd-tdep.c: New file.
822 * Makefile.in (armnbsd-tdep.o): Add dependencies.
823 * config/arm/nbsd.mt (TDEPFILES): Add it.
824 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
826 * armnbsd-nat.c: Include regcache.h.
827 * Makefile.in (armnbsd-nat.o): Update dependency list.
829 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
831 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
833 * gdbserver/Makefile.in: Fix typos in target rules.
835 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
837 Fix part of PR gdb/267.
838 * linespec.c (find_methods): Handle constructors specially for now.
840 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
842 * arm-tdep.c (arm_push_arguments): Eliminate special float type
844 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
845 standard_coerce_float_to_double().
847 2002-02-14 Christopher Faylor <cgf@redhat.com>
849 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
852 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
854 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
855 find_variant_by_name, because it confuses the multiarch
856 framework. Return NULL if there isn't an architecture with the
857 user supplied name, instead of forcing a different one without
858 recording the change with the multiarch machinery.
859 (find_variant_by_name): Delete.
861 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
863 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
864 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
866 2002-02-13 Martin M. Hunt <hunt@redhat.com>
868 * stack.c (print_frame_info_base): When calling
869 print_frame_info_listing_hook, set current_source_symtab.
871 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
873 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
874 and remove unused $(INCLUDE_DIR).
875 Add regcache.c to OBS.
876 Add generated register protocol files to clean target.
877 Update dependencies for new objects, obsolete old target code.
879 * gdbserver/linux-low.c: Remove all platform-specific code to
880 new files. Remove various dead code. Update to use regcache
882 * gdbserver/remote-utils.c (fromhex): Add return statement
884 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
886 (input_interrupt): Add integer parameter to match prototype
888 (outreg): Use register_data ().
889 (prepare_resume_reply): Use gdbserver_expedite_regs.
890 * gdbserver/server.c (main): Dynamically allocate own_buf because
891 PBUFSIZ is no longer constant. Use registers_to_string () and
892 registers_from_string ().
893 * gdbserver/server.h: No longer include "defs.h". Add prototypes
894 for error (), fatal (), and warning (). Update definition of
895 PBUFSIZ to use regcache functionality. Add include guard.
896 * gdbserver/utils.c (fatal): Add missing ``const''.
897 (warning): New function.
899 * regformats/regdat.sh: Include "regcache.h" in generated files.
900 Provide init_registers () function.
901 * regformats/regdef.h: Add prototype for set_register_cache ().
904 * gdbserver/linux-arm-low.c: New file.
905 * gdbserver/linux-i386-low.c: New file.
906 * gdbserver/linux-ia64-low.c: New file.
907 * gdbserver/linux-m68k-low.c: New file.
908 * gdbserver/linux-mips-low.c: New file.
909 * gdbserver/linux-ppc-low.c: New file.
910 * gdbserver/linux-sh-low.c: New file.
912 * gdbserver/regcache.c: New file.
913 * gdbserver/regcache.h: New file.
915 * gdbserver/low-linux.c: Removed obsolete file.
917 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
919 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
920 * config/i386/linux.mt: Likewise.
921 * config/ia64/linux.mt: Likewise.
922 * config/m68k/linux.mh: Likewise.
923 * config/powerpc/linux.mh: Likewise.
924 * config/mips/linux.mt: Likewise.
926 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
928 * config/i386/i386lynx.mh: Mark gdbserver variables
929 as (currently) obsolete for this target.
930 * config/i386/nbsd.mt: Likewise.
931 * config/i386/nbsdelf.mt: Likewise.
932 * config/m32r/m32r.mt: Likewise.
933 * config/m68k/m68klynx.mh: Likewise.
934 * config/m68k/nbsd.mt: Likewise.
935 * config/m68k/sun3os4.mh: Likewise.
936 * config/mips/vr5000.mt: Likewise.
937 * config/ns32k/nbsd.mt: Likewise.
938 * config/pa/hppabsd.mh: Likewise.
939 * config/pa/hppaosf.mh: Likewise.
940 * config/powerpc/nbsd.mt: Likewise.
941 * config/rs6000/rs6000lynx.mh: Likewise.
942 * config/s390/s390.mt: Likewise.
943 * config/s390/s390x.mt: Likewise.
944 * config/sparc/sparclynx.mh: Likewise.
945 * config/sparc/sun4os4.mh: Likewise.
946 * config/i386/x86-64linux.mt: Likewise.
947 * config/sparc/linux.mh: Likewise.
949 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
951 * configure.tgt: Configure gdbserver only for known working
952 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
953 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
954 SUBDIRS if it is configured. Update comment for ${nativefile}.
955 * configure: Regenerated.
957 2002-02-13 Michael Snyder <msnyder@redhat.com>
959 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
960 (default_gcore_mach): Just return 0, work around a problem in bfd.
961 (default_gcore_target): OK to return NULL if exec_bfd is null.
962 (make_mem_sec): Use a cast, avoid a warning.
964 * procfs.c (find_memory_regions_callback): Use a cast instead of
965 calling host_pointer_to_address (which complains if
966 sizeof (host pointer) != sizeof (target pointer)).
967 (procfs_make_note_section): Avoid overflow in psargs string.
969 * procfs.c (procfs_make_note_section): Make the default
970 implementation return an error.
972 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
974 * procfs.c (procfs_make_note_section): Provide a default definition
975 (for alpha-dec-osf4.0f). Fix typos.
977 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
979 * linux-proc.c: Add include of regcache.h.
980 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
982 2002-02-13 Andrew Cagney <ac131313@redhat.com>
984 From 2002-01-18 Greg McGary <greg@mcgary.org>:
985 * memattr.c (create_mem_region): Disallow useless empty region.
986 Regions are half-open intervals, so allow [A..B) [B..C) as
989 2002-02-13 Michael Chastain <mec@shout.net>
991 * defs.h: Kill CONST_PTR.
992 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
993 * c-lang.c (c_builtin_types): Likewise.
994 * ch-lang.c (ch_builtin_types): Likewise.
995 * f-lang.c (f_builtin_types): Likewise.
996 * language.c (unknown_builtin_types): Likewise.
997 * m2-lang.c (m2_builtin_types): Likewise.
998 * p-lang.c (pascal_builtin_types): Likewise.
999 * scm-lang.c (c_builtin_types): Likewise.
1001 2002-02-13 Keith Seitz <keiths@redhat.com>
1003 * arm-tdep.h (arm_get_next_pc): Add declaration.
1005 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
1007 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
1008 with other related struct-returning functions.
1009 (arm_extract_struct_value_address): New function.
1010 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
1011 initialize float_format, double_format and long_double_format as
1012 appropriate to the endianness of the target.
1013 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
1014 (arm_use_struct_convention): Delete declaration.
1015 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1017 2002-02-13 Keith Seitz <keiths@redhat.com>
1019 * defs.h (core_addr_to_string_nz): New function.
1021 2002-02-13 Mark Kettenis <kettenis@gnu.org>
1023 Apply missing bits of 2002-01-15 patch.
1024 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
1025 (fill_fpregset): Use i387_fill_fsave.
1027 2002-02-12 Keith Seitz <keiths@redhat.com>
1029 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
1030 (core_addr_to_string_nz): New function.
1032 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1034 * arm-linux-nat.c: Really include arm-tdep.h.
1035 * config/arm/tm-linux.h (struct type, struct value): Declare.
1037 2002-02-11 Michael Snyder <msnyder@redhat.com>
1039 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
1040 (gcore section): Ifdef for Solaris and Unixware only.
1041 (procfs_do_thread_registers): Unixware needs one lwpstatus
1042 per thread (not one prstatus or pstatus).
1043 (procfs_make_note_section): Iterate only over kernel threads (lwps),
1044 not over all gdb threads. For unixware, call elfcore_write_pstatus
1045 once before iterating over threads.
1047 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1049 * arm-tdep.h: New file.
1050 * arm-tdep.c: Include arm-tdep.h.
1051 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1052 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1053 (arm_print_float_info, arm_register_type, convert_to_extended)
1054 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1055 (arm_extract_return_value, arm_register_name): Make static.
1056 (arm_software_single_step): Similarly. Fix types in declaration.
1057 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
1058 (arm_store_return_value, arm_store_struct_return): New functions.
1059 (arm_gdbarch_init): Register the above functions. Also register
1060 call_dummy_start_offset, sizeof_call_dummy_words,
1061 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
1062 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
1063 max_register_virtual_size, register_size. Set up
1064 prologue_cache.saved_regs here, rather than ...
1065 (_initialize_arm_tdep): ... here.
1066 * config/arm/tm-arm.h (struct type, struct value): Delete forward
1068 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1069 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1070 (arm_print_float_info, arm_register_type, convert_to_extended)
1071 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1072 (arm_extract_return_value, arm_register_name): Delete declarations.
1073 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
1074 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
1075 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
1076 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
1077 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
1078 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
1079 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
1080 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
1081 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
1082 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
1083 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
1084 (arm_get_next_pc): No-longer static -- these are needed by the RDI
1086 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
1087 * remote-rdi.c remote-rdp.c: Likewise.
1088 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
1089 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
1090 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
1093 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
1094 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
1095 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
1096 from non-ARM_ prefixed definitions.
1097 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
1099 * remote-rdi.c remote-rdp.c: Likewise.
1100 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
1102 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
1104 * arm-tdep.c (arm_frameless_function_invocation)
1105 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1106 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1107 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1108 (arm_pop_frame, arm_get_next_pc): Make static.
1109 (arm_gdbarch_init): Register above in gdbarch structure.
1110 (arm_read_fp): Renamed from arm_target_read_fp.
1111 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
1112 * config/arm/tm-arm.h (arm_frameless_function_invocation)
1113 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1114 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1115 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1116 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
1117 (arm_pc_is_thumb_dummy): Delete declarations.
1118 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
1119 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
1120 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
1121 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
1123 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
1125 * symtab.c (compare_search_syms): New function.
1126 (sort_search_symbols): New function.
1127 (search_symbols): Sort symbols after searching rather than
1130 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1132 * NEWS: Linux -> GNU/Linux.
1134 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1136 * gdbarch.sh: For for level one methods, disallow a definition
1137 when partially multi-arched. Add comments explaining rationale.
1138 * gdbarch.h: Re-generate.
1140 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1142 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
1145 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1147 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
1149 * gdbarch.c: Re-generate.
1151 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1153 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
1154 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
1157 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1159 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
1161 (PUSH_ARGUMENTS): Switch to using predefault.
1162 * gdbarch.c: Regenerate.
1164 2002-02-10 Andrew Cagney <ac131313@redhat.com>
1166 * valops.c (PUSH_ARGUMENTS): Delete definition.
1167 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
1168 partial. Default to default_push_arguments.
1169 * gdbarch.h, gdbarch.c: Regenerate.
1171 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1173 * defs.h (throw_exception): Rename return_to_top_level. Update
1175 * utils.c (error_stream, internal_verror, quit): Ditto.
1176 * top.c (throw_exception, catcher): Ditto.
1177 * sparclet-rom.c (sparclet_load): Ditto.
1178 * remote.c (interrupt_query, minitelnet): Ditto.
1179 * remote-sds.c (interrupt_query): Ditto.
1180 * remote-mips.c (mips_error, mips_kill): Ditto.
1181 * ocd.c (interrupt_query): Ditto.
1182 * monitor.c (monitor_interrupt_query): Ditto.
1183 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
1184 * target.h: Update comment.
1186 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
1188 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1190 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
1191 default_double_format.
1192 * gdbarch.h, gdbarch.c: Re-generate.
1193 * findvar.c (floatformat_unknown): Delete variable definition.
1194 * doublest.h (floatformat_unknown): Delete variable declaration.
1196 2002-02-09 Jim Blandy <jimb@redhat.com>
1198 * stabsread.c (read_type): Add code to parse Sun's syntax for
1199 prototyped function types.
1201 2002-02-09 Andrew Cagney <ac131313@redhat.com>
1203 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
1204 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
1206 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1208 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
1209 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
1210 now _initialize_xcoffsolib gets called again and overrides the
1211 commands from solib.c in a native configuration.
1213 2002-02-09 Mark Kettenis <kettenis@gnu.org>
1215 * doublest.c (store_typed_floating): Don't try to return a value.
1218 2002-02-08 Jim Blandy <jimb@redhat.com>
1220 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
1221 is prototyped and has no arguments, print its argument list as
1224 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1226 * MAINTAINERS (write-after-approval): Add myself.
1227 (paper-trail): I've escaped!
1229 2002-02-08 Christopher Faylor <cgf@redhat.com>
1231 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
1233 (_initialize_check_for_gdb_ini): Ditto.
1235 2002-02-08 Martin M. Hunt <hunt@redhat.com>
1237 * win32-nat.c (cygwin_pid_to_str): Fix typo.
1238 xaprintf -> xasprintf.
1240 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
1242 * win32-nat.c: Remove use of printf and sprintf functions.
1244 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
1246 * arm-tdep.c (arm_frame_chain_valid): Make static.
1247 (arm_push_arguments): Likewise.
1248 (arm_gdbarch_init): New function.
1249 (_initialize_arm_tdep): Call it.
1250 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
1251 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
1252 (FRAME_CHAIN_VALID): Delete.
1253 (arm_frame_chain_valid): Delete declaration.
1254 (PUSH_ARGUMENTS): Delete.
1255 (arm_push_arguments): Delete declaration.
1256 (CALL_DUMMY_P): Delete.
1258 2002-02-08 Andrew Cagney <ac131313@redhat.com>
1259 Corinna Vinschen <vinschen@redhat.com>
1261 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
1262 on builtin float types.
1264 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
1266 * utils.c: Include <curses.h> before "bfd.h".
1267 * tui/tui-hooks.c: Likewise.
1268 * tui/tui.c: Likewise.
1269 * tui/tuiCommand.c: Likewise.
1270 * tui/tuiData.c: Likewise.
1271 * tui/tuiDataWin.c: Likewise.
1272 * tui/tuiDisassem.c: Likewise.
1273 * tui/tuiGeneralWin.c: Likewise.
1274 * tui/tuiIO.c: Likewise.
1275 * tui/tuiLayout.c: Likewise.
1276 * tui/tuiRegs.c: Likewise.
1277 * tui/tuiSource.c: Likewise.
1278 * tui/tuiSourceWin.c: Likewise.
1279 * tui/tuiStack.c: Likewise.
1280 * tui/tuiWin.c: Likewise.
1282 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
1284 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
1285 to include space for pseudoregs as well. Update loops accordingly.
1286 (sh_fp_frame_init_saved_regs): Ditto.
1287 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
1289 2002-02-07 Andrew Cagney <ac131313@redhat.com>
1291 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
1292 Add Richard Earnshaw to Arm maintainers.
1294 2002-02-07 Andrew Cagney <ac131313@redhat.com>
1296 * defs.h (warning_begin): Delete declaration.
1298 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
1301 2002-02-07 Michael Snyder <msnyder@redhat.com>
1303 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
1304 Logic bug, remove misplaced else.
1306 2002-02-07 Klee Dienes <klee@apple.com>
1308 * fork-inferior.c (fork_inferior): Add '!' to the list of
1309 characters that need to be quoted when building a string for the
1310 shell. Quote '!' specifically with a backslash, since CSH chokes
1311 when trying to evaluate "str!str".
1313 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1315 * rdi-share/host.h: Only provide a typedef for bool if it is not
1318 2002-02-04 Michael Snyder <msnyder@redhat.com>
1320 * breakpoint.h (enum bptype): Add new overlay event bp type.
1321 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
1323 * breakpoint.c (create_internal_breakpoint): New function.
1324 (internal_breakpoint_number): Moved into create_internal_breakpoint.
1325 (create_longjmp_breakpoint): Use create_internal_breakpoint.
1326 (create_thread_event_breakpoint): Ditto.
1327 (create_solib_event_breakpoint): Ditto.
1328 (create_overlay_event_breakpoint): New function.
1329 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
1330 (update_breakpoints_after_exec): Delete and re-initialize
1331 overlay event breakpoints after an exec. Add FIXME comment
1332 about longjmp breakpoint.
1333 (print_it_typical): Ignore overlay event breakpoints.
1334 (print_one_breakpoint): Ditto.
1336 (bpstat_what): Do not stop for overlay event breakpoints.
1337 (delete_breakpoint): Don't delete overlay event breakpoints.
1338 (breakpoint_re_set_one): Delete the overlay event breakpoint.
1339 (breakpoint_re_set): Re-create overlay event breakpoint.
1341 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
1342 (overlay_manual_command): Disable overlay breakpoints.
1343 (overlay_off_command): Disable overlay breakpoints.
1345 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1347 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
1348 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
1349 to here from config/tm-arm.h.
1350 (coff_sym_is_thumb): Make static.
1351 (arm_elf_make_msymbol_special): New function.
1352 (arm_coff_make_msymbol_special): New function.
1353 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
1354 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
1355 (coff_sym_is_thumb): Delete declaration.
1356 (arm_elf_make_msymbol_special): Declare.
1357 (arm_coff_make_msymbol_special): Declare.
1358 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
1359 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
1361 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1363 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1365 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
1367 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1368 * gdbarch.c gdbarch.h: Regenerate.
1369 * arch-utils.c (default_print_float_info): New function.
1370 * arch-utils.h (default_print_float_info): Prototype it.
1371 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1372 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1373 (PRINT_FLOAT_INFO): Document it.
1375 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1376 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1377 (PRINT_FLOAT_INFO): Define.
1379 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1381 * win32-nat.c (_initialize_check_for_gdb_ini):
1382 Add typecast to sprintf argument to suppress a warning.
1384 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1386 * win32-nat.c (last_sig): Changed type of variable to target_signal,
1387 to allow easier handling of pass state.
1388 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1389 that gives exception name and address.
1390 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
1391 and set last_sig value to ourstatus->value.sig. Some missing
1393 (child_continue): Correctly report continue_status.
1394 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
1395 TARGET_SIGNAL_0 (new default value).
1396 (child_resume): consider sig argument passed to decide if
1397 the exception should be passed to debuggee or not.
1399 2002-02-05 Michael Snyder <msnyder@redhat.com>
1401 * regcache.c (fetch_register): Call target_fetch_register
1402 only if we don't call FETCH_PSEUDO_REGISTER.
1403 (store_register): Call target_store_register only if we
1404 don't call STORE_PSEUDO_REGISTER.
1406 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
1408 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1409 ELF_MAKE_MSYMBOL_SPECIAL.
1410 * gdbarch.c, gdbarch.h: Regenerate.
1411 * arch-utils.c (default_make_msymbol_special): New function.
1412 * arch-utils.h (default_make_msymbol_special): Export.
1413 * elfread.c (elf_symtab_read): Compile use of
1414 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1416 * coffread.c (coff_symtab_read): Ditto, for
1417 COFF_MAKE_MSYMBOL_SPECIAL.
1419 2002-02-05 Jim Blandy <jimb@redhat.com>
1421 * solib-svr4.c (svr4_truncate_ptr): New function.
1422 (svr4_relocate_section_addresses): Do the address arithmetic with
1423 the appropriate truncation for target addresses, even when
1424 CORE_ADDR is larger than a target address.
1426 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1428 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1431 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1433 * gdbserver/linux-low.c (kill_inferior): Remove commented out
1436 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1438 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
1440 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1442 * gdbserver/linux-low.c: Remove unused include files.
1444 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1446 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
1447 (read_inferior_memory): Use it.
1448 (write_inferior_memory): Likewise.
1450 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1452 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
1453 grubbing through sys_errlist.
1455 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
1457 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
1459 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1460 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
1462 2002-02-04 Andrew Cagney <ac131313@redhat.com>
1464 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
1465 (do_sfunc, set_cmd_sfunc): New functions.
1467 * command.h (struct cmd_list_element): Add field func.
1468 * cli/cli-decode.h (struct cmd_list_element): Ditto.
1469 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
1470 * cli/cli-decode.h: Ditto.
1472 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
1473 (help_all, help_cmd_list): Ditto.
1474 (find_cmd, complete_on_cmdlist): Ditto.
1475 * top.c (execute_command): Ditto.
1477 * cli/cli-setshow.c (do_setshow_command): Call func instead of
1480 * infcmd.c (notice_args_read): Fix function signature.
1482 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
1483 * cli/cli-decode.c (add_set_cmd): Ditto.
1484 * utils.c (initialize_utils): Ditto.
1485 * maint.c (_initialize_maint_cmds): Ditto.
1486 * infrun.c (_initialize_infrun): Ditto.
1487 * demangle.c (_initialize_demangler): Ditto.
1488 * remote.c (add_packet_config_cmd): Ditto.
1489 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1490 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1491 * proc-api.c (_initialize_proc_api): Ditto.
1492 * kod.c (_initialize_kod): Ditto.
1493 * valprint.c (_initialize_valprint): Ditto.
1494 * top.c (init_main): Ditto.
1495 * infcmd.c (_initialize_infcmd): Ditto.
1496 * corefile.c (_initialize_core): Ditto.
1497 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1498 * arch-utils.c (initialize_current_architecture): Ditto.
1499 (_initialize_gdbarch_utils): Ditto.
1500 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1502 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
1503 * wince.c (_initialize_inftarg): Ditto.
1504 * symfile.c (_initialize_symfile): Ditto.
1505 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1506 * language.c (_initialize_language): Ditto.
1507 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1509 2002-02-04 Michael Snyder <msnyder@redhat.com>
1511 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1513 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1515 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1516 Add rules for building the register data files.
1518 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1520 * regformats/regdat.sh: Add braces to the definition of
1521 expedite_regs_${arch}.
1523 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
1525 * regformats/regdef.h (struct reg): Add comment describing the
1526 requirements for offset and size fields.
1528 2002-02-04 Andreas Schwab <schwab@suse.de>
1530 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1531 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1533 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
1535 * gdbarch.sh (copyright): Update years in generated header.
1536 (SMASH_TEXT_ADDRESS): Add rule.
1537 * gdbarch.h, gdbarch.c: Re-generate.
1538 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1539 * dbxread.c: Likewise.
1540 * dwarfread.c: Likewise.
1541 * elfread.c: Likewise.
1542 * somread.c: Likewise.
1544 * arm-tdep.c (arm_smash_text_address): New function.
1545 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1547 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1549 Add support for hardware watchpoints on win32 native.
1550 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
1551 CONTEXT_DEBUG_REGISTERS.
1552 (dr variable): New variable. Static array containing a local copy
1554 (debug_registers_changed): New variable. Reflects when debug registers
1555 are changed and need to be written to inferior.
1556 (debug_registers_used): New variable. Reflects when any debug register
1557 was set, used when new threads are created.
1558 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1560 (thread_rec): Set dr array if id is the thread of current_event .
1561 (child_continue, child_resume): Change the debug registers for all
1562 threads if debug_registers_changed.
1563 (child_add_thread): Change the debug registers if debug_registers_used.
1564 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1565 Link nm.h to new nm-cygwin.h file.
1566 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1567 of hardware registers.
1569 2002-02-03 Andrew Cagney <ac131313@redhat.com>
1571 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1572 Restore behavour broken by 2002-01-20 Andrew Cagney
1573 <ac131313@redhat.com> IEEE_FLOAT removal.
1575 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1577 * c-valprint.c (c_val_print): Pass a proper valaddr to
1578 cp_print_class_method.
1579 * valops.c (search_struct_method): If there is only one method
1580 and args is NULL, return that method.
1582 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1584 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1585 accessing tag_name directly.
1587 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1589 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1590 of accessing tag_name directly.
1592 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
1595 * gdbtypes.c (replace_type): New function.
1596 * gdbtypes.h (replace_type): Add prototype.
1597 * stabsread.c (read_type): Use replace_type.
1599 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
1601 * Makefile.in (memattr.o): Add missing dependencies rule.
1603 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1605 * breakpoint.c (break_at_finish_command): Really export.
1606 (break_at_finish_at_depth_command): Ditto.
1607 (tbreak_at_finish_command): Ditto.
1608 * hppa-tdep.c: Include completer.h.
1609 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1610 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1612 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1614 * utils.c (do_write): New function.
1615 (error_stream): Rewrite combining the code from error_begin and
1617 (verror): Rewrite using error_stream.
1618 (error_begin): Delete function.
1620 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1622 * utils.c (error_begin): Make static.
1623 * defs.h (error_begin): Delete declaration.
1625 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1626 (decode_line_1): Use cplusplus_error instead of error_begin,
1627 cplusplus_hint and return_to_top_level.
1628 * coffread.c (coff_symfile_read): Use error instead of error_begin
1629 and return_to_top_level.
1630 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1632 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1634 * language.h (type_error, range_error): Make string parameter
1636 * language.c (warning_pre_print): Delete extern declaration.
1637 * dwarfread.c (warning_pre_print): Ditto.
1638 * language.c (type_error, range_error): Rewrite to use verror and
1639 vwarning instead of warning_begin.
1641 2002-02-01 Michael Snyder <msnyder@redhat.com>
1643 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1644 (set_ignore_count): Move misplaced comment back where it belongs.
1646 2002-02-01 Andrew Cagney <ac131313@redhat.com>
1648 * command.h (NO_FUNCTION): Delete macro.
1649 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1650 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1651 * tracepoint.c (_initialize_tracepoint): Ditto.
1652 * cli/cli-decode.c (add_set_cmd): Ditto.
1653 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1655 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
1657 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1658 Update ``this'' pointer when calling virtual functions.
1660 2002-02-01 Michael Snyder <msnyder@redhat.com>
1662 * breakpoint.c (create_temp_exception_breakpoint): Delete.
1663 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1665 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
1667 * regformats/reg-arm.dat: New file.
1668 * regformats/reg-i386.dat: New file.
1669 * regformats/reg-ia64.dat: New file.
1670 * regformats/reg-m68k.dat: New file.
1671 * regformats/reg-mips.dat: New file.
1672 * regformats/reg-ppc.dat: New file.
1673 * regformats/reg-sh.dat: New file.
1674 * regformats/regdef.h: New file.
1675 * regformats/regdat.sh: New file.
1677 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
1679 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1680 (arm_frame_args_address, arm_frame_locals_address): New functions.
1681 (arm_frame_num_args): New function.
1682 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1683 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1684 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1686 2002-01-31 Michael Snyder <msnyder@redhat.com>
1688 * breakpoint.c (break_at_finish_command): Export.
1689 (break_at_finish_at_depth_command): Export.
1690 (tbreak_at_finish_command): Export.
1691 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1692 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1693 "tbreak" commands, which are HPPA specific.
1695 * printcmd.c (disassemble_command): Remove an ancient
1696 artifact of an old merge.
1698 * symfile.h (enum overlay_debugging_state):
1699 Define enum constant values for overlay mode.
1700 * symfile.c (overlay_debugging): Use enums instead of literals.
1701 (overlay_is_mapped, overlay_auto_command,
1702 overlay_manual_command): Ditto.
1704 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1705 breakpoint_here_p, breakpoint_inserted_here_p,
1706 breakpoint_thread_match, bpstat_stop_status,
1707 describe_other_breakpoints, check_duplicates, clear_command):
1708 Coding standard fixes.
1710 * target.c (target_xfer_memory): Add spaces, coding standard.
1711 (do_xfer_memory): Add missing line to trust-readonly
1712 code: check bfd SEC_READONLY flag for section.
1714 2002-01-31 Andrew Cagney <ac131313@redhat.com>
1716 * PROBLEMS: Fix typo, 5.1->5.1.1.
1718 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
1720 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1721 data symbols, since we search based on textlow and texthigh.
1722 (find_pc_sect_symtab): Likewise.
1724 2002-01-30 Andrew Cagney <ac131313@redhat.com>
1726 * defs.h (vwarning): Declare.
1727 * utils.c (vwarning): New function.
1728 (warning): Call vwarning.
1729 (warning_begin): Delete function.
1731 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1732 the warning message.
1733 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1736 2002-01-30 Michael Snyder <msnyder@redhat.com>
1738 * NEWS: Mention "set trust-readonly-sections" command.
1739 Mention generate-core-file command.
1741 2002-01-15 Michael Snyder <msnyder@redhat.com>
1743 * target.c: New command, "set trust-readonly-sections on".
1744 (do_xfer_memory): Honor the suggestion to trust readonly sections
1745 by reading them from the object file instead of from the target.
1746 (initialize_targets): Register command "set trust-readonly-sections".
1748 2002-01-29 Andrew Cagney <ac131313@redhat.com>
1750 * parse.c (target_map_name_to_register): Simplify, search regs and
1751 pseudo-regs using a single loop.
1753 2002-01-30 Andrew Cagney <ac131313@redhat.com>
1755 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1757 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
1759 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1760 * config/i386/i386v42mp.mh: Add i387-nat.o .
1761 * i386v4-nat.c: Include i387-nat.h.
1762 (supply_fpregset): Use i387_supply_fsave.
1763 (fill_fpregset): Use i387_fill_fsave.
1765 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
1767 * arm-tdep.c (arm_call_dummy_words): Define.
1768 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1769 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1770 (CALL_DUMMY_WORDS): Define.
1771 (arm_call_dummy_words): Declare.
1772 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1773 (arm_linux_call_dummy_words): Declare.
1775 2002-01-30 Andreas Schwab <schwab@suse.de>
1777 * m68klinux-nat.c: Fix last change to use regcache_collect
1778 instead of referencing registers[] directly.
1780 2002-01-29 Andrew Cagney <ac131313@redhat.com>
1782 * parse.c (target_map_name_to_register): Delete code wrapped in
1783 #ifdef REGISTER_NAME_ALIAS_HOOK.
1785 2002-01-28 Michael Snyder <msnyder@redhat.com>
1787 * regcache.c (legacy_read_register_gen): Need to be able to
1788 read pseudo-register as well as real register.
1789 (legacy_write_register_gen): Ditto.
1791 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1793 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1794 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
1795 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
1796 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
1797 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
1798 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
1799 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
1800 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
1801 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
1802 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1803 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
1804 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
1805 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
1806 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
1807 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
1808 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
1809 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
1810 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
1811 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
1812 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
1814 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1816 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
1817 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
1818 (initialize_current_architecture): Update target_byte_order using
1819 information from BFD.
1820 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
1821 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
1823 2002-01-28 Andrew Cagney <ac131313@redhat.com>
1825 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
1826 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
1828 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
1829 #ifdef INVALID_FLOAT.
1830 * infcmd.c (do_registers_info): Ditto.
1831 * values.c (unpack_double): Ditto. Add comment.
1833 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
1834 already commented out.
1836 2002-01-26 Andreas Schwab <schwab@suse.de>
1838 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1839 * m68klinux-nat.c: Update ptrace interface for fetching/storing
1840 registers and add support for PTRACE_GETREGS.
1842 2002-01-24 Andrew Cagney <ac131313@redhat.com>
1844 GDB 5.1.1 released from 5.1 branch.
1845 * NEWS: Add 5.1.1 news.
1846 * README: Sync with 5.1 branch.
1848 2002-01-23 Fred Fish <fnf@redhat.com>
1850 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
1851 stabstring on initial malloc. Reallocing will copy it for us,
1854 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
1856 * Makefile.in (hpread_h): Delete.
1857 (HFILES_NO_SRCDIR): Remove hpread.h.
1858 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
1859 (hpread.o): Update dependencies.
1860 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
1862 * hp-psymtab-read.c: Remove file.
1863 * hp-symtab-read.c: Remove file.
1864 * hpread.h: Remove file.
1866 * hpread.c: Merge all contents of hp-psymtab-read.c,
1867 hp-symtab-read.c and hpread.h into this file, as it was prior to
1870 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
1871 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
1872 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
1873 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
1875 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
1877 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
1878 fill_gregset): Call gdbarch_tdep() just once, assign result to
1879 variable and use that, instead of calling the function several
1882 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1884 * configure.host: Accept sparcv9 as alias for sparc64.
1885 * configure.tgt: Likewise.
1887 2002-01-22 Kevin Buettner <kevinb@redhat.com>
1889 * solib-aix5.c (build_so_list_from_mapfile)
1890 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
1891 arguments is not reversed.
1892 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
1893 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
1895 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
1897 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
1898 modified version of obsolete sh_fetch_pseudo_register.
1899 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
1900 (sh4_register_read): New function.
1901 (sh_pseudo_register_write): New function. Renamed and modified
1902 version of obsolete sh_store_pseudo_register.
1903 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
1904 (sh4_register_write): New function.
1905 (sh_gdbarch_init): Remove setting of gdbarch function
1906 fetch_pseudo_register and store_pseudo_register. Remove setting of
1907 register_convert_to_raw, register_convert_to_virtual,
1908 register_convertible.
1909 (sh_sh4_register_convertible): Delete. No longer needed. All is
1910 taken care by architecture specific functions
1911 register_read/register_write.
1912 (sh_sh4_register_convert_to_virtual): Make static.
1913 (sh_sh4_register_convert_to_raw): Ditto.
1915 2002-01-22 Andrew Cagney <ac131313@redhat.com>
1917 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
1918 (floatformat_is_nan, floatformat_mantissa): Ditto.
1920 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
1921 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
1922 builtin_type_ieee_double_little,
1923 builtin_type_ieee_double_littlebyte_bigword,
1924 builtin_type_m68881_ext, builtin_type_i960_ext,
1925 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
1926 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
1927 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
1928 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
1930 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
1932 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
1933 parameter. Set frameless flag if it exists and depended of
1934 whether the scanned function is frameless or not.
1935 (xstormy16_skip_prologue): If function is frameless, return
1936 result of xstormy16_scan_prologue().
1937 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
1940 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
1942 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
1943 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1944 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
1945 sh_sh4_register_byte, sh_sh4_register_raw_size,
1946 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
1947 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
1948 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
1949 sh_store_pseudo_register, sh_do_pseudo_register): Call
1950 gdbarch_tdep() just once, assign result to variable and use that,
1951 instead of calling the function several times.
1953 2002-01-20 Mark Kettenis <kettenis@gnu.org>
1955 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
1956 macros instead of LAST_FPU_CTRL_REGNUM.
1957 (store_register): Likewise.
1959 2002-01-21 Jim Blandy <jimb@redhat.com>
1961 * infcmd.c (run_command): Check that the `exec' target layer's BFD
1962 is up-to-date before running the program, not just when a program
1965 2002-01-21 Fred Fish <fnf@redhat.com>
1967 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
1968 when we have found all instructions we are looking for.
1970 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
1972 * arm-tdep.c (arm_register_name): New function.
1973 (arm_registers_names): Make static.
1974 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
1975 (arm_register_name): Declare.
1976 (REGISTER_NAME): Use it.
1978 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
1979 Kevin Buettner <kevinb@redhat.com>
1981 Convert arm targets to new FRAME interface.
1982 * arm-tdep.c (struct frame_extra_info): Remove fsr.
1983 (arm_frame_find_save_regs): Delete.
1984 (arm_frame_init_saved_regs): New.
1985 (arm_init_extra_frame_info): Alloacte saved_regs as required.
1986 Allocate extra_info as required. Convert all uses of fsr.regs
1987 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
1989 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
1990 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
1991 (check_prologue_cache, save_prologue_cache): Likewise.
1992 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
1993 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
1994 (FRAME_FIND_SAVED_REGS): Delete.
1995 (arm_frame_find_saved_regs): Delete prototype.
1996 (arm_frame_init_saved_regs): New prototype.
1997 (FRAME_INIT_SAVED_REGS): Define.
1999 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2001 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
2003 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2005 From Jeff Law <law@redhat.com>:
2006 * infttrace.c: Include <sys/pstat.h>.
2007 (child_pid_to_exec_file): Revamp. Use pstat call to get the
2008 exec file if the ttrace equivalent fails.
2010 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2012 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
2013 (closeLogFile): Ditto.
2015 2002-01-20 Michael Chastain <mec@shout.net>
2017 * top.c (print_gdb_version): Bump copyright year to 2002.
2019 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2021 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
2022 Zannoni and Eli Zaretskii.
2024 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2026 * buildsym.c: Update copyright years.
2027 * c-typeprint.c: Likewise.
2028 * dwarf2read.c: Likewise.
2029 * f-typeprint.c: Likewise.
2030 * gdbtypes.c: Likewise.
2031 * gdbtypes.h: Likewise.
2032 * hp-symtab-read.c: Likewise.
2033 * hpread.c: Likewise.
2034 * mdebugread.c: Likewise.
2035 * p-typeprint.c: Likewise.
2037 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2039 * remote-sim.c (gdbsim_open): Simplify code testing the macro
2040 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
2041 byte-order selectable.
2042 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
2043 * arch-utils.c: Ditto.
2044 (set_endian): Ditto.
2045 (set_endian_from_file): Ditto.
2046 * gdbserver/low-sim.c (create_inferior): Ditto.
2047 * gdbarch.sh: Ditto.
2048 * gdbarch.h: Re-generate.
2049 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2050 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
2051 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
2052 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2053 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2054 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2055 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
2056 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
2058 * config/mips/tm-wince.h: Remove #undef of macro
2059 TARGET_BYTE_ORDER_SELECTABLE.
2060 * config/sh/tm-wince.h: Ditto.
2062 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2064 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
2065 member function fields. Add accessor macro
2066 TYPE_FN_FIELD_ARTIFICIAL.
2067 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
2068 * c-typeprint.c (c_type_print_base): Skip artificial member
2071 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2073 * f-typeprint.c: Delete unused function f_type_print_args.
2074 * p-typeprint.c: Delete unused function pascal_type_print_args.
2076 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2078 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
2079 comment. Add ``artificial'' to ``union field_location''.
2081 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
2083 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
2084 * mdebugread.c (parse_symbol): Likewise.
2085 * stabsread.c (define_symbol): Likewise.
2086 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
2087 initializing TYPE_FIELD_BITPOS to n (obsolete).
2088 (hpread_doc_function_type): Likewise.
2089 * hpread.c (hpread_function_type): Likewise.
2091 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2093 * configure.in (host_makefile_frag): Only require a host makefile
2094 fragment when a native build.
2095 * configure: Re-generate.
2097 2002-01-20 Andrew Cagney <ac131313@redhat.com>
2099 * doublest.h (floatformat_from_type): Declare.
2100 * doublest.c (floatformat_from_type): New function.
2101 (convert_typed_floating): Use.
2103 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
2104 call to function floatformat_from_type.
2106 * gdbarch.sh (IEEE_FLOAT): Delete.
2107 * gdbarch.h, gdbarch.c: Re-generate.
2108 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
2109 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
2110 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
2111 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
2112 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
2113 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
2114 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
2115 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
2116 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
2117 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
2118 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
2119 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
2121 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
2122 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
2123 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2124 * sh-tdep.c (sh_gdbarch_init): Ditto.
2125 * mips-tdep.c (mips_gdbarch_init): Ditto.
2126 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2127 * cris-tdep.c (cris_gdbarch_init): Ditto.
2129 2002-01-20 Jiri Smid <smid@suse.cz>
2131 * configure.host, configure.tgt: Support x86-64.
2132 * NEWS: Note new target x86-64.
2134 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
2135 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
2136 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
2137 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
2138 x86-64-linux-nat.o): Fix dependencies.
2140 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2142 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
2143 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
2144 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
2145 * config/sparc/xm-sun4os4.h: Delete file.
2146 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
2148 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2150 * config/sparc/sparclynx.mh (XM_FILE): Delete.
2151 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
2152 * config/m68k/m68klynx.mh (XM_FILE): Delete.
2153 * config/i386/i386lynx.mh (XM_FILE): Delete.
2154 * config/rs6000/xm-rs6000ly.h: Delete file.
2155 * config/sparc/xm-sparclynx.h: Delete file.
2156 * config/m68k/xm-m68klynx.h: Delete file.
2157 * config/i386/xm-i386lynx.h: Delete file.
2158 * config/xm-lynx.h: Delete file.
2159 * config/djgpp/fnchange.lst: Update.
2161 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2163 * alpha-tdep.c (alpha_register_byte): New function.
2164 (alpha_register_raw_size): Ditto.
2165 (alpha_register_virtual_size): Ditto.
2166 (alpha_skip_prologue_internal): Renamed from
2167 alpha_skip_prologue.
2168 (alpha_skip_prologue): New version that calls
2169 alpha_skip_prologue_internal.
2170 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
2171 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
2172 second argument from alpha_skip_prologue.
2173 (REGISTER_BYTE): Use alpha_register_byte.
2174 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
2175 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
2176 (FRAMELESS_FUNCTION_INVOCATION): Use
2177 generic_frameless_function_invocation_not.
2178 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
2179 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2181 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2183 * config/mips/xm-news-mips.h: Delete file.
2184 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
2186 * config/m88k/xm-m88k.h: Delete file.
2187 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
2188 * config/m88k/xm-delta88v4.h: Ditto.
2189 * config/m88k/xm-delta88.h: Ditto.
2191 * config/alpha/xm-fbsd.h: Delete file.
2192 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
2194 * config/sparc/xm-sparc.h: Delete file.
2195 * Makefile.in (xm-sun4os4.h): Delete dependency.
2196 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
2197 * config/sparc/xm-sun4os4.h: Ditto.
2198 * config/sparc/xm-linux.h: Ditto.
2200 * config/i386/xm-windows.h: Delete file.
2202 2002-01-19 Andrew Cagney <ac131313@redhat.com>
2204 * utils.c: Include <sys/param.h> for MAXPATHLEN.
2205 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
2207 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2209 * alpha-tdep.c (alpha_call_dummy_words): New.
2210 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
2211 (CALL_DUMMY_P): Define.
2212 (CALL_DUMMY_WORDS): Define.
2213 (SIZEOF_CALL_DUMMY_WORDS): Define.
2215 2002-01-19 Per Bothner <per@bothner.com>
2217 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
2218 isn't NULL, which can happen with some gcj-3.x-produced code.
2220 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2222 * alpha-tdep.c (alpha_register_virtual_type): New function.
2223 (alpha_init_frame_pc_first): Ditto.
2224 (alpha_fix_call_dummy): Ditto.
2225 (alpha_store_struct_return): Ditto.
2226 (alpha_extract_struct_value_address): Ditto.
2227 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
2228 alpha_register_virtual_type.
2229 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
2230 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
2231 alpha_extract_struct_value_address.
2232 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
2233 (INIT_FRAME_PC): Use init_frame_pc_noop.
2234 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2236 2002-01-19 Mark Kettenis <kettenis@gnu.org>
2238 * i386gnu-nat.c: Include "i386-tdep.h".
2239 (fetch_fpregs): Simplify code dealing with uninitialized floating
2240 point states such that it doesn't require FP7_REGNUM.
2242 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2244 * alpha-tdep.c (frame_extra_info): New.
2245 (alpha_find_saved_regs): Make static. Use
2247 (alpha_frame_init_saved_regs): New function.
2248 (alpha_frame_saved_pc): Use frame->extra_info.
2249 (temp_saved_regs): Don't declare as struct frame_saved_regs.
2250 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
2251 (init_extra_frame_info): Rename to...
2252 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
2253 (alpha_print_extra_frame_info): New function.
2254 (alpha_frame_locals_address): Ditto.
2255 (alpha_frame_args_address): Ditto.
2256 (alpha_pop_frame): Use frame->extra_info.
2257 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
2258 alpha_frame_args_address.
2259 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
2260 (alpha_find_saved_regs): Remove prototype.
2261 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
2262 (EXTRA_FRAME_INFO): Remove.
2263 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
2264 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2266 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2268 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
2269 (alpha_cannot_fetch_register): Ditto.
2270 (alpha_cannot_store_register): Ditto.
2271 (alpha_register_convertible): Ditto.
2272 (alpha_use_struct_convention): Ditto.
2273 * config/alpha/tm-alpha.h: Update copyright years.
2274 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
2275 (INNER_THAN): Use core_addr_lessthan.
2276 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
2277 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
2278 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
2279 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
2280 (FRAME_CHAIN): Remove unnecessary cast.
2282 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2284 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
2287 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2289 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
2290 * monitor.c, remote-array.c, remote-bug.c: Ditto.
2291 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
2292 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
2293 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
2294 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
2295 * x86-64-linux-nat.c: Ditto.
2297 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2299 * alpha-tdep.c (alpha_register_name): New function.
2300 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
2301 (REGISTER_NAME): Define.
2303 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2305 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
2307 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2309 * alpha-tdep.c: Update copyright years.
2310 (alpha_next_pc): New function.
2311 (alpha_software_single_step): Ditto.
2312 * config/alpha/tm-alpha.h: Add prototype for
2313 alpha_software_single_step.
2315 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2317 * alphabsd-nat.c: Update copyright years.
2318 (fill_gregset): Use regcache_collect.
2319 (fill_fpregset): Likewise.
2320 (fetch_inferior_registers): Only fetch integer registers
2321 if requested to do so.
2322 (store_inferior_registers): Only store integer registers
2323 if requested to do so.
2325 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2327 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
2328 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
2329 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
2330 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
2331 * config/alpha/fbsd.mh (XDEPFILES): Delete.
2332 * config/arm/linux.mh (XDEPFILES): Delete.
2333 * config/arm/nbsd.mh (XDEPFILES): Delete.
2334 * config/i386/i386dgux.mh (XDEPFILES): Delete.
2335 * config/i386/i386sol2.mh (XDEPFILES): Delete.
2336 * config/i386/i386m3.mh (XDEPFILES): Delete.
2337 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
2338 * config/i386/i386gnu.mh (XDEPFILES): Delete.
2339 * config/i386/fbsd.mh (XDEPFILES): Delete.
2340 * config/i386/i386bsd.mh (XDEPFILES): Delete.
2341 * config/i386/i386sco5.mh (XDEPFILES): Delete.
2342 * config/i386/i386v4.mh (XDEPFILES): Delete.
2343 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
2344 * config/i386/i386sco4.mh (XDEPFILES): Delete.
2345 * config/i386/i386aix.mh (XDEPFILES): Delete.
2346 * config/i386/go32.mh (XDEPFILES): Delete.
2347 * config/i386/cygwin.mh (XDEPFILES): Delete.
2348 * config/i386/i386lynx.mh (XDEPFILES): Delete.
2349 * config/i386/i386mach.mh (XDEPFILES): Delete.
2350 * config/i386/i386v32.mh (XDEPFILES): Delete.
2351 * config/i386/linux.mh (XDEPFILES): Delete.
2352 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
2353 * config/i386/ncr3000.mh (XDEPFILES): Delete.
2354 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
2355 * config/i386/i386sco.mh (XDEPFILES): Delete.
2356 * config/i386/i386v.mh (XDEPFILES): Delete.
2357 * config/i386/nbsd.mh (XDEPFILES): Delete.
2358 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
2359 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
2360 * config/i386/symmetry.mh (XDEPFILES): Delete.
2361 * config/i386/obsd.mh (XDEPFILES): Delete.
2362 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2363 * config/ia64/linux.mh (XDEPFILES): Delete.
2364 * config/ia64/aix.mh (XDEPFILES): Delete.
2365 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2366 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2367 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2368 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2369 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2370 * config/m68k/linux.mh (XDEPFILES): Delete.
2371 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2372 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2373 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2374 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2375 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2376 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2377 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2378 * config/m88k/delta88.mh (XDEPFILES): Delete.
2379 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2380 * config/m88k/m88k.mh (XDEPFILES): Delete.
2381 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2382 * config/mips/linux.mh (XDEPFILES): Delete.
2383 * config/mips/irix6.mh (XDEPFILES): Delete.
2384 * config/mips/irix5.mh (XDEPFILES): Delete.
2385 * config/mips/irix4.mh (XDEPFILES): Delete.
2386 * config/mips/irix3.mh (XDEPFILES): Delete.
2387 * config/mips/decstation.mh (XDEPFILES): Delete.
2388 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2389 (NATDEPFILES): Move core-aout.o to here.
2390 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2391 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2392 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2393 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2394 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2395 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2396 * config/pa/hpux11.mh (XDEPFILES): Delete.
2397 * config/powerpc/aix.mh (XDEPFILES): Delete.
2398 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2399 * config/powerpc/linux.mh (XDEPFILES): Delete.
2400 * config/romp/rtbsd.mh: Rename XDEPFILES.
2401 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2402 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2403 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2404 * config/s390/s390.mh (XDEPFILES): Delete.
2405 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2406 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2407 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2408 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2409 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2410 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2411 * config/sparc/linux.mh (XDEPFILES): Delete.
2412 * config/vax/vaxult.mh (XDEPFILES): Delete.
2413 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2414 * Makefile.in (DEPFILES): Remove XDEPFILES.
2416 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2418 * utils.c (internal_verror): Fix comments, default is yes not no.
2419 Update queries to match. Default to quit and dump core.
2421 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2423 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2425 * defs.h, event-top.c, gdbcmd.h: Ditto.
2426 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2427 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2428 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2429 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2430 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2431 * mi/mi-main.c:Ditto.
2433 * stack.c, symfile.c: Update copyright.
2435 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
2437 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
2438 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
2439 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
2440 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
2442 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
2444 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
2445 * gdbserver/low-lynx.c (myattach): Likewise.
2446 * gdbserver/low-nbsd.c (myattach): Likewise.
2447 * gdbserver/low-sim.c (myattach): Likewise.
2448 * gdbserver/low-sparc.c (myattach): Likewise.
2449 * gdbserver/low-sun3.c (myattach): Likewise.
2451 * gdbserver/low-linux.c (myattach): New function.
2453 * gdbserver/server.c (attach_inferior): New function.
2454 (main): Handle "--attach".
2456 2002-01-16 Andrew Cagney <ac131313@redhat.com>
2458 * MAINTAINERS (language support): Daniel Jacobwitz is C++
2461 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
2463 * c-typeprint.c (is_type_conversion_operator): Add additional
2464 check for non-conversion operators.
2466 2002-01-15 Michael Snyder <msnyder@redhat.com>
2468 * linux-proc.c: Add "info proc" command, a la procfs.c.
2469 (read_mapping): New function, abstract and re-use code.
2470 (linux_find_memory_regions): Use new func read_mapping.
2471 (linux_info_proc_cmd): New function, implement "info proc".
2472 (_initialize_linux_proc): Add new command "info proc".
2474 2002-01-15 Michael Snyder <msnyder@redhat.com>
2476 * symfile.c (generic_load): Use bfd_map_over_sections method
2477 instead of manipulating bfd structure members directly.
2478 (add_section_size_callback): New function, bfd sections callback
2479 used by generic_load.
2480 (load_sections_callback): New function, bfd sections callback
2481 used by generic_load.
2483 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
2485 [Based on work by Jim Blandy]
2486 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
2487 (builtin_type_vec128): Export.
2488 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
2490 (builtin_type_vec128): New builtin type for 128 bit vector
2492 (build_gdbtypes): Initialize builtin_type_v16qi and
2493 builtin_type_v8hi. Create the vec128 register builtin type
2495 (build_builtin_type_vec128): New function.
2496 (_initialize_gdbtypes): Register builtin_type_v16qi and
2497 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
2498 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
2499 AltiVec register to new builtin type.
2501 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
2503 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
2506 2002-01-14 Andrew Cagney <ac131313@redhat.com>
2508 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
2509 CLEAN_UP_REGISTER_VALUE.
2510 * regcache.c (supply_register): Update only call.
2512 2002-01-14 Andrew Cagney <ac131313@redhat.com>
2514 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2515 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2516 a29k-*-vxworks* targets as obsolete.
2518 2002-01-14 Michael Snyder <msnyder@redhat.com>
2520 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2521 until we can resolve portability issues.
2522 * gregset.h: Remove references to fpxregs.
2523 * gcore.c (gcore_command): Initialize note_sec to NULL.
2525 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2527 * signals.c (target_signal_to_name): Rewrite. Only use
2528 signals[].name when in bounds and non-NULL.
2530 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2532 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2533 * signals.c (target_signal_to_name): Verify that SIG is within the
2534 bounds of the signals array.
2536 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2538 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2540 2002-01-13 Keith Seitz <keiths@redhat.com>
2542 * stack.c (print_frame_info_base): Print the frame's pc
2543 only if when print_frame_info_listing_hook is not defined.
2545 2002-01-13 Keith Seitz <keiths@redhat.com>
2547 * varobj.c (varobj_set_value): Make sure that there were no
2548 errors evaluating the object before attempting to set its
2550 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2551 so this offset adjustment is no longer necessary.
2552 (create_child): Don't set the error flag if the child is
2554 (value_of_child): If value_fetch_lazy fails, return NULL
2555 so that callers will be notified that an error occurred.
2556 (c_value_of_variable): Delay check of variable's validity
2557 until later. We actually want all structs and unions to have
2559 Do not return "???" for variables which could not be evaluated.
2560 This error condition must be returned to the caller so that it
2561 can get the error condition from gdb.
2562 (cplus_name_of_child): Adjust index for vptr before figuring
2563 out the name of the child.
2564 (cplus_value_of_child): If a child's (real) parent is not valid,
2565 don't even bother trying to give a value for it. Just return
2566 an error. Change all instances in this function.
2567 (cplus_type_of_child): If our parent is one of the "fake"
2568 parents, we need to get at the type of the real parent, and
2569 derive the child's true type using this information.
2571 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2573 From 2002-01-09 John Marshall <johnm@falch.net>:
2574 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2575 sources.redhat.com, and tweak some related URLs which had
2576 suffered from linkrot.
2578 2002-01-13 Andrew Cagney <ac131313@redhat.com>
2581 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2582 structures passed in registers.
2584 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2586 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2587 white space which prevented compilation. Reported by DSK
2588 <dsk@student.unsw.edu.au>.
2590 2002-01-11 Michael Snyder <msnyder@redhat.com>
2592 * symfile.c (build_section_addr_info_from_section_tab):
2593 Use bfd access method instead of manipulating bfd directly.
2594 (syms_from_objfile): Ditto.
2595 (simple_overlay_update_1): Ditto.
2596 (simple_overlay_update): Ditto.
2597 (generic_load): Ditto.
2598 (overlay_unmapped_address): FIXME comment, bfd access methods.
2599 (sections_overlap): FIXME comment, bfd access methods.
2600 (pc_in_mapped_range): FIXME comment, bfd access methods.
2601 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2602 (section_is_mapped): FIXME comment, bfd access methods.
2603 (section_is_overlay): FIXME comment, bfd access methods.
2605 * symfile.c (generic_load): Whitespace and long line cleanups.
2606 Remove duplicate variable, change several local variables to
2607 more appropriate data types.
2608 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2610 2002-01-12 Andrew Cagney <ac131313@redhat.com>
2613 * language.c (longest_local_hex_string_custom): Use phex_nz to
2614 convert NUM to a hex string.
2616 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
2618 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2620 Update Copyright year.
2622 2002-01-12 Andrew Cagney <ac131313@redhat.com>
2624 * language.c (longest_raw_hex_string): Delete unused function.
2626 2002-01-11 Petr Sorfa <petrs@caldera.com>
2628 * MAINTAINERS (write-after-approval): Add myself.
2629 * dwarf2read.c (read_tag_string_type): Handling of
2631 (read_tag_string_type): FORTRAN fix to prevent propagation of
2633 (set_cu_language): Handling of DW_LANG_Fortran95
2635 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
2637 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2638 GETPID(inferior_ptid).
2639 (store_inferior_registers): Likewise.
2641 2002-01-10 Jason Merrill <jason@redhat.com>
2643 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2646 2002-01-10 Andrew Cagney <ac131313@redhat.com>
2648 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2649 and bfd/elf32-sh-nbsd.c.
2651 2002-01-10 Michael Snyder <msnyder@redhat.com>
2653 * NEWS: Mention --pid and corefile/proc-id behavior change.
2655 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2656 * gcore.c: Include cli/cli-decode.h instead of command.h.
2658 * main.c (captured_main): Add new command line option "--pid".
2659 If the second command line argument (following the symbol-file)
2660 begins with a digit, try to attach to it before trying to open
2662 (print_gdb_help): Document the "--pid" argument.
2664 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2666 * completer.c (command_completer): New function.
2668 * completer.h <command_completer>: Add prototype.
2670 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2671 completer for the "help" command.
2673 2002-01-09 Jason Merrill <jason@redhat.com>
2675 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2677 2002-01-09 Michael Snyder <msnyder@redhat.com>
2679 * i386-linux-nat.c (fill_fpxregset): Make global.
2680 (store_fpxregset): Ditto.
2682 * gregset.h (gdb_fpxregset_t): Define.
2683 (supply_fpxregset): Prototype.
2684 (fill_fpxregset): Prototype.
2686 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2688 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
2690 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2691 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2692 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2694 2002-01-09 Andrew Cagney <ac131313@redhat.com>
2696 * MAINTAINERS: Update target maintainer rules so that any
2697 Maintainer can approve a tested patch for a maintenance-only
2700 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
2702 * MAINTAINERS (write-after-approval): Add myself.
2704 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
2707 2002-01-08 Michael Snyder <msnyder@redhat.com>
2709 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2710 real name of the executable, rather than the /proc name.
2712 2002-01-03 Michael Snyder <msnyder@redhat.com>
2714 Implement a "generate-core-file" command in gdb, save target state.
2715 * gcore.c: New file. Implement new command 'generate-core-file'.
2716 Save a corefile image of the current state of the inferior.
2717 * linux-proc.c: Add linux-specific code for saving corefiles.
2718 * target.h (struct target_ops): Add new target vectors for saving
2719 corefiles; to_find_memory_regions and to_make_corefile_notes.
2720 (target_find_memory_regions): New macro.
2721 (target_make_corefile_notes): New macro.
2722 * target.c (update_current_target): Inherit new target methods.
2723 (dummy_find_memory_regions): New place-holder method.
2724 (dummy_make_corefile_notes): New place-holder method.
2725 (init_dummy_target): Initialize new dummy target vectors.
2726 * exec.c (exec_set_find_memory_regions): New function.
2727 Allow the exec_ops vector for memory regions to be taken over.
2728 (exec_make_note_section): New function, target vector method.
2729 * defs.h (exec_set_find_memory_regions): Export prototype.
2730 * procfs.c (proc_find_memory_regions): New function, corefile method.
2731 (procfs_make_note_section): New function, corefile method.
2732 (init_procfs_ops): Set new target vector pointers.
2733 (find_memory_regions_callback): New function.
2734 (procfs_do_thread_registers): New function.
2735 (procfs_corefile_thread_callback): New function.
2736 * sol-thread.c (sol_find_memory_regions): New function.
2737 (sol_make_note_section): New function.
2738 (init_sol_thread_ops): Initialize new target vectors.
2739 * inftarg.c (inftarg_set_find_memory_regions): New function.
2740 Allow to_find_memory_regions vector to be taken over.
2741 (inftarg_set_make_corefile_notes): New function.
2742 Allow to_make_corefile_notes vector to be taken over.
2743 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2744 interface layer if not target_has_execution (may be a corefile).
2745 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2746 * config/sparc/sun4sol2.mh: Ditto.
2747 * config/alpha/alpha-linux.mh: Ditto.
2748 * config/arm/linux.mh: Ditto.
2749 * config/i386/x86-64linux.mh: Ditto.
2750 * config/ia64/linux.mh: Ditto.
2751 * config/m68k/linux.mh: Ditto.
2752 * config/mips/linux.mh: Ditto.
2753 * config/powerpc/linux.mh: Ditto.
2754 * config/sparc/linux.mh: Ditto.
2756 2002-01-07 Michael Snyder <msnyder@redhat.com>
2758 * arm-linux-nat.c: Remove references to regcache.c internal data
2759 (registers[] and register_valid[]).
2761 2002-01-07 Michael Snyder <msnyder@redhat.com>
2763 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2764 so that attaching to a pid will automatically read the process's
2765 symbol file and shlibs.
2766 * Makefile.in: Add rule for linux-proc.o.
2767 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2768 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2769 * config/arm/linux.mh: Ditto.
2770 * config/i386/linux.mh: Ditto.
2771 * config/i386/x86-64linux.mh: Ditto.
2772 * config/ia64/linux.mh: Ditto.
2773 * config/m68k/linux.mh: Ditto.
2774 * config/mips/linux.mh: Ditto.
2775 * config/powerpc/linux.mh: Ditto.
2776 * config/sparc/linux.mh: Ditto.
2778 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2780 * win32-nat.c: Add i386-tdep.h dependency.
2782 2002-01-07 Michael Snyder <msnyder@redhat.com>
2784 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2785 instead of bfd_get_arch_size. Don't bail out just because
2786 there's no exec_bfd.
2788 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2789 * p-valprint.c (pascal_object_print_value): Ditto.
2790 * somread.c (som_symtab_read): Ditto.
2791 * symfile.c (simple_free_overlay_region_table): Ditto.
2792 * valops.c (value_assign): Ditto.
2794 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
2795 use tilde_expand and strerror for opening save-tracepoints file.
2797 * thread-db.c (thread_db_new_objfile): Indendation fix.
2799 * infptrace.c (GDB_MAX_ALLOCA): New define.
2800 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
2801 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
2802 can be overridden with whatever value is appropriate to the host).
2803 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
2804 alloca to allocate potentially large buffer.
2805 * rs6000-nat.c (child_xfer_memory): Ditto.
2806 * symm-nat.c (child_xfer_memory): Ditto.
2807 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2809 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
2811 From Nick Clifton <nickc@redhat.com>
2812 * d10v-tdep.c: Set STACK_START to 0x200bffe.
2814 2002-01-07 Michael Snyder <msnyder@redhat.com>
2816 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
2817 Don't use exec_bfd if it's NULL.
2819 2002-01-06 Mark Kettenis <kettenis@gnu.org>
2821 * valops.c (value_arg_coerce): Fix formatting.
2823 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2825 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
2828 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2830 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
2831 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
2832 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
2833 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
2834 z8k-coff have not been multi-arched. Update z8k-coff build
2837 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2839 * MAINTAINERS: Mark a29k target as obsolete.
2840 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
2841 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
2843 * NEWS: Note that a29k targets are obsolete.
2844 * a29k-tdep.c: Mark as obsolete.
2845 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2846 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2847 a29k-*-vxworks* targets as obsolete.
2848 * remote-adapt.c: Obsolete.
2849 * remote-eb.c: Obsolete.
2850 * remote-mm.c: Obsolete.
2851 * remote-udi.c: Obsolete.
2852 * config/a29k/a29k-udi.mt: Obsolete.
2853 * config/a29k/a29k.mt: Obsolete.
2854 * config/a29k/tm-a29k.h: Obsolete.
2855 * config/a29k/tm-vx29k.h: Obsolete.
2856 * config/a29k/vx29k.mt: Obsolete.
2858 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2860 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
2861 with BFD_ENDIAN_BIG.
2863 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2865 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
2866 * configure, config.in: Re-generate.
2867 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
2868 * defs.h: Do not include <endian.h>.
2870 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
2872 * acconfig.h (HAVE_PT_GETXMMREGS): New.
2873 * config.in: Regenerate.
2874 * configure.in: Update copyright years.
2875 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
2876 * configure: Regenerate.
2877 * i386bsd-nat.c: Update copyright years.
2878 (fill_gregset): Use regcache_collect.
2879 (fetch_inferior_registers): Only fetch integer registers
2880 if requested to do so. Add support for XMM registers
2881 using PT_GETXMMREGS.
2882 (store_inferior_registers): Only store integer registers
2883 if requested to do so. Add support for XMM registers
2884 using PT_SETXMMREGS.
2885 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
2886 (store_inferior_registers): Remove.
2887 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
2888 (fetch_elfcore_registers): New function.
2889 (i386nbsd_elfcore_fns): New.
2890 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
2891 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
2893 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2894 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
2895 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2896 * config/i386/tm-nbsd.h: Update copyright years.
2897 (HAVE_SSE_REGS): Define.
2898 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
2899 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
2900 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
2901 (SIGCONTEXT_PC_OFFSET): Remove.
2902 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2904 2002-01-05 Andrew Cagney <ac131313@redhat.com>
2906 * configure.tgt: Remove powerpc-*-macos* target.
2907 * config/m68k/xm-mpw.h: Delete file.
2908 * config/xm-mpw.h: Delete file.
2909 * ser-mac.c: Delete file.
2910 * mpw-make.sed: Delete file.
2911 * mpw-config.in: Delete file.
2912 * mac-xdep.c: Delete file.
2913 * mac-gdb.r: Delete file.
2914 * mac-defs.h: Delete file.
2915 * mac-nat.c: Delete file.
2916 * config/powerpc/macos.mh: Delete file.
2917 * config/powerpc/macos.mt: Delete file.
2918 * config/powerpc/nm-macos.h: Delete file.
2919 * config/powerpc/tm-macos.h: Delete file.
2920 * source.c (openp, open_source_file): Remove obsolete code.
2921 * top.c (gdb_readline): Ditto.
2922 * utils.c (query): Ditto.
2923 * event-top.c (display_gdb_prompt): Ditto.
2924 * Makefile.in (ser-mac.o): Delete obsolete target.
2927 2002-01-04 Andrew Cagney <ac131313@redhat.com>
2929 * defs.h (BIG_ENDIAN): Delete macro definition.
2930 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
2931 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
2932 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
2933 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2934 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
2935 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
2936 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
2937 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2938 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2939 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
2940 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
2941 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
2942 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2943 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2944 * gdbarch.c: Re-generate.
2946 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2948 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
2951 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2953 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2955 2002-01-04 Andrew Cagney <ac131313@redhat.com>
2957 * value.h (value_ptr): Delete typedef.
2959 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2961 * i386nbsd-nat.c: Update copyright years.
2962 Include i386-tdep.h.
2964 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
2966 * stabsread.c: Update copyright years.
2968 From Debashis Mahata <debashis.mahata@wipro.com>:
2969 (read_struct_fields): Deal with Sun C compiler erroneous stab
2970 output for structs and unions.
2973 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2975 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
2978 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2980 * cp-abi.c: Fix whitespace.
2981 (baseclass_offset): New wrapper function.
2982 * cp-abi.h (baseclass_offset): Add prototype.
2983 (struct cp_abi_ops): Add baseclass_offset pointer.
2985 * valops.c (vb_match): Move to...
2986 * gnu-v2-abi.c (vb_match): here.
2987 * valops.c (baseclass_offset): Move to...
2988 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
2990 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
2992 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
2993 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
2994 * hpacc-abi.c (init_hpacc_ops): Likewise.
2996 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
2998 * valops.c (find_overload_match): Accept obj as a
2999 reference parameter. Update it before returning.
3000 * value.h (find_overload_match): Update prototype.
3001 * eval.c (evaluate_subexp_standard): Pass object to
3002 find_overload_match by reference.
3004 2002-01-03 Andrew Cagney <ac131313@redhat.com>
3006 * valarith.c: Replace value_ptr with struct value pointer. Remove
3007 register attribute from value declarations.
3010 * scm-lang.c (scm_lookup_name): Ditto.
3012 2002-01-03 Michael Snyder <msnyder@redhat.com>
3014 Abstract the functionality of iterating over mapped memory
3015 regions into a general purpose iterator function.
3016 * procfs.c (iterate_over_mappings): New function, general purpose
3017 iterator for memory sections.
3018 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
3019 (solib_mappings_callback): New function, callback for above.
3020 (info_proc_mappings): Reimpliment using iterate_over_mappings.
3021 (info_mappings_callback): New function, callback for above.
3023 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
3025 2002-01-01 Mark Kettenis <kettenis@gnu.org>
3027 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
3028 * i386-tdep.c: Include "elf-bfd.h".
3029 (process_note_abi_tag_sections): New function.
3030 (i386_gdbarch_init): Add code to recognize various OS/ABI
3033 * maint.c (_initialize_maint_cmds): Add missing \ in
3036 For older changes see ChangeLog-2001
3042 version-control: never