1 2002-04-18 Andrew Cagney <cagney@redhat.com>
3 * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
4 * gdbarch.h, gdbarch.c: Regenerate.
6 * defs.h (breakpoint_from_pc_fn): Delete type definition.
7 * target.h (memory_breakpoint_from_pc): Update declaration.
8 * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
10 * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
11 * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
12 * mem-break.c (memory_breakpoint_from_pc): Ditto.
13 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
14 * s390-tdep.c (s390_breakpoint_from_pc): Ditto
15 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
16 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
17 * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
18 * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
19 * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
20 * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
21 * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
23 * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
25 * monitor.c (monitor_insert_breakpoint): Ditto.
26 * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
28 * config/mcore/tm-mcore.h: Update copyright.
30 * xstormy16-tdep.c: Ditto.
32 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
34 * p-exp.y: Add precedence rule for '^' token.
35 This removes the shift/reduce conflicts.
36 Remove the comment concerning these shift/reduce conflicts.
38 2002-04-18 Elena Zannoni <ezannoni@redhat.com>
40 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
41 (registers_powerpc_nofp): New register set for processors
42 without floating point unit.
44 2002-04-18 David S. Miller <davem@redhat.com>
46 * MAINTAINERS: Add myself to write-after-approval.
48 2002-04-17 Andrew Cagney <ac131313@redhat.com>
50 * rs6000-tdep.c (frame_initial_stack_address): Use
51 frame_register_read to read the alloca_reg.
53 2002-04-17 Andrew Cagney <ac131313@redhat.com>
55 * frame.c (find_saved_register): Find saved registers in the next
59 2002-04-17 Andrew Cagney <ac131313@redhat.com>
61 * gdbarch.sh (LANG): Set to ``c''.
63 2002-04-15 Andrew Cagney <ac131313@redhat.com>
65 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
67 2002-04-15 Andrew Cagney <ac131313@redhat.com>
69 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
72 * hpread.c (hpread_get_lntt): Add declaration.
75 2002-04-14 Andrew Cagney <ac131313@redhat.com>
77 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
78 * aclocal.m4, configure: Re-generate.
81 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
83 * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
84 instead of tm_print_insn.
86 2002-04-14 Elena Zannoni <ezannoni@redhat.com>
88 * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
90 2002-04-14 Andrew Cagney <ac131313@redhat.com>
92 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
93 * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
94 (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
96 2002-04-12 Don Howard <dhoward@redhat.com>
98 * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
100 (init_cmd_lists): Initialize the new value;
101 * cli/cli-script.c (execute_user_command): Limit the call depth of
102 user defined commands. This avoids a core-dump when user commands
103 are infinitly recursive.
105 2002-04-12 Kevin Buettner <kevinb@redhat.com>
107 * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
108 * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
109 from tdep struct instead of DEFAULT_LR_SAVE.
110 (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
111 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
112 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
114 2002-04-12 Michael Snyder <msnyder@redhat.com>
116 * Remote.c: Spelling fix.
117 * gcore.c (default_derive_heap_segment): Use bfd_section_name.
118 If no symbol found for "sbrk", try "_sbrk".
119 (make_output_phdrs): Use bfd_section_name.
120 (gcore_copy_callback): Use bfd_section_name.
121 * eval.c: Indentation fix-ups.
122 * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
123 in case it gets applied to an address that is already
124 in the instruction space.
125 * cli/cli-decode.c (help_list): Allow long lines to wrap.
126 * symfile.c: Fix indentation, long lines.
127 * source.c: White space fix-up.
129 2002-04-12 Andrew Cagney <cagney@redhat.com>
131 * defs.h (read_relative_register_raw_bytes): Delete declaration.
132 * frame.c (frame_register_read): New function. Return non-zero on
134 (read_relative_register_raw_bytes_for_frame): Delete.
135 (read_relative_register_raw_bytes): Delete.
136 * frame.h (frame_register_read): Declare.
137 * d30v-tdep.c: Update Copyright. Use frame_register_read.
139 * infcmd.c (do_registers_info): Ditto.
140 * hppa-tdep.c: Ditto.
141 * rs6000-tdep.c: Ditto.
142 * h8500-tdep.c: Ditto.
143 * mips-tdep.c: Ditto.
144 * h8300-tdep.c: Ditto.
147 2002-04-12 Kevin Buettner <kevinb@redhat.com>
149 From Jimi X <jimix@watson.ibm.com>:
150 * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
153 2002-04-12 Kevin Buettner <kevinb@redhat.com>
155 From Jimi X <jimix@watson.ibm.com>:
156 * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
159 2002-04-12 Kevin Buettner <kevinb@redhat.com>
161 From Jimi X <jimix@watson.ibm.com>:
162 * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
163 register sets for these processor variants.
165 2002-04-11 Daniel Jacobowitz <drow@mvista.com>
167 * gdbserver/linux-low.c (usr_store_inferior_registers): Support
168 registers which are allowed to fail to store.
169 * gdbserver/linux-low.h (linux_target_ops): Likewise.
170 * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
171 (ppc_cannot_store_register): FPSCR may not be storable.
172 * regformats/reg-ppc.dat: Support FPSCR.
174 2002-04-11 Kevin Buettner <kevinb@redhat.com>
176 * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
177 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
178 Add fpscr as an invalid/unfetchable register.
179 * ppc-linux-nat.c (ppc_register_u_addr, store_register)
180 (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
181 (fill_fpregset): Add support for register fpscr.
182 (fetch_ppc_registers, store_ppc_registers, supply_gregset)
183 (fill_gregset): Account for the fact that register ``mq'' might
185 * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
186 (registers_power): Add fpscr to register set at slot 71.
187 (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
188 exist on most PPC architectures. Initialize ppc_fpscr_regnum.
190 2002-04-11 Michael Snyder <msnyder@redhat.com>
192 * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
193 * configure: Regenerate.
194 * config.in: Regenerate.
195 * acconfig.h: Add define for _SYSCALL32.
196 * core-sol2.c: Remove #define _SYSCALL32.
197 * solib-legacy.c: Remove #define _SYSCALL32.
199 2002-04-10 Andrew Cagney <ac131313@redhat.com>
201 * stack.c (select_frame): Cleanup internal error message, do not
204 2002-04-10 Andrew Cagney <ac131313@redhat.com>
206 * stack.c (select_frame): Check that selected_frame and the
207 specified level are as expected.
208 * blockframe.c (get_prev_frame): Set the `level' from next_frame.
210 * frame.h (struct frame_info): Add field `level'. Update
212 Work-in-progress PR gdb/464.
214 2002-04-10 Andrew Cagney <ac131313@redhat.com>
216 * maint.c (maint_print_section_info): Rename print_section_info.
217 (print_bfd_section_info, print_objfile_section_info): Update.
218 * inferior.h (struct gdbarch): Add opaque declaration.
219 * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
220 * gdbarch.h: Regenerate.
222 2002-04-10 Michal Ludvig <mludvig@suse.cz>
224 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
225 (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
226 (kernel_u_size): Added.
227 * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
228 (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
230 2002-04-04 Jim Ingham <jingham@apple.com>
232 * valarith.c (find_size_for_pointer_math): New function, either returns
233 the size for a pointer's target, returns 1 for void *, or errors for
235 (value_add, value_sub): use find_size_for_pointer_math.
237 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
239 * linux-low.c (linux_look_up_symbols): New hook.
240 (linux_target_ops): Add linux_look_up_symbols.
241 * remote-utils.c (decode_address): New function.
242 (look_up_one_symbol): New function.
243 * server.c (handle_query): Call target look_up_symbols hook.
244 * server.h (look_up_one_symbol): Add prototype.
245 * target.h (struct target_ops): Add look_up_symbols hook.
247 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
249 * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
250 * ChangeLog: Correct paths in last ChangeLog entry.
252 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
254 * gdbserver/linux-low.h: Remove obsolete prototypes.
255 (struct linux_target_ops): New.
256 (extern the_low_target): New.
257 * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
258 (register_addr): Use the_low_target explicitly.
259 (fetch_register): Likewise.
260 (usr_fetch_inferior_registers): Likewise.
261 (usr_store_inferior_registers): Likewise.
262 * gdbserver/linux-arm-low.c (num_regs): Remove.
263 (arm_num_regs): Define.
264 (arm_regmap): Renamed from regmap, made static.
265 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
267 (arm_cannot_store_register): Renamed from cannot_store_register,
269 (the_low_target): New.
270 * gdbserver/linux-i386-low.c (num_regs): Remove.
271 (i386_num_regs): Define.
272 (i386_regmap): Renamed from regmap, made static.
273 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
275 (i386_cannot_store_register): Renamed from cannot_store_register,
277 (the_low_target): New.
278 * gdbserver/linux-ia64-low.c (num_regs): Remove.
279 (ia64_num_regs): Define.
280 (ia64_regmap): Renamed from regmap, made static.
281 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
283 (ia64_cannot_store_register): Renamed from cannot_store_register,
285 (the_low_target): New.
286 * gdbserver/linux-m68k-low.c (num_regs): Remove.
287 (m68k_num_regs): Define.
288 (m68k_regmap): Renamed from regmap, made static.
289 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
291 (m68k_cannot_store_register): Renamed from cannot_store_register,
293 (the_low_target): New.
294 * gdbserver/linux-mips-low.c (num_regs): Remove.
295 (mips_num_regs): Define.
296 (mips_regmap): Renamed from regmap, made static.
297 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
299 (mips_cannot_store_register): Renamed from cannot_store_register,
301 (the_low_target): New.
302 * gdbserver/linux-ppc-low.c (num_regs): Remove.
303 (ppc_num_regs): Define.
304 (ppc_regmap): Renamed from regmap, made static.
305 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
307 (ppc_cannot_store_register): Renamed from cannot_store_register,
309 (the_low_target): New.
310 * gdbserver/linux-s390-low.c (num_regs): Remove.
311 (s390_num_regs): Define.
312 (s390_regmap): Renamed from regmap, made static.
313 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
315 (s390_cannot_store_register): Renamed from cannot_store_register,
317 (the_low_target): New.
318 * gdbserver/linux-sh-low.c (num_regs): Remove.
319 (sh_num_regs): Define.
320 (sh_regmap): Renamed from regmap, made static.
321 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
323 (sh_cannot_store_register): Renamed from cannot_store_register,
325 (the_low_target): New.
326 * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
327 (the_low_target): New.
329 2002-04-09 Andrew Cagney <ac131313@redhat.com>
331 * frame.c (read_relative_register_raw_bytes_for_frame): Do not
332 override FP_REGNUM with frame->fp. Update copyright.
333 * parse.c (num_std_regs, std_regs): Delete.
334 (target_map_name_to_register): Do not search std_regs. Update
335 function description.
336 * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
337 declarations. Update copyright.
340 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
342 * gdbserver/Makefile.in: Add stamp-h target.
343 * gdbserver/configure.in: Create stamp-h.
344 * gdbserver/configure: Regenerated.
346 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
348 * gdbserver/inferiors.c: New file.
349 * gdbserver/target.c: New file.
350 * gdbserver/target.h: New file.
351 * gdbserver/Makefile.in: Add target.o and inferiors.o. Update
353 * gdbserver/linux-low.c (inferior_pid): New static variable,
355 (linux_create_inferior): Renamed from create_inferior.
356 Call add_inferior. Return 0 on success instead of a PID.
357 (linux_attach): Renamed from myattach.
358 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
359 (linux_thread_alive): Renamed from mythread_alive.
360 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
362 (linux_resume): Renamed from myresume. Add missing ``return 0''.
363 (regsets_store_inferior_registers): Correct error message.
364 Add missing ``return 0''.
365 (linux_fetch_registers): Renamed from fetch_inferior_registers.
366 (linux_store_registers): Renamed from store_inferior_registers.
367 (linux_read_memory): Renamed from read_inferior_memory.
368 (linux_write_memory): Renamed from write_inferior_memory.
369 (linux_target_ops): New structure.
370 (initialize_low): Call set_target_ops ().
371 * gdbserver/remote-utils.c (unhexify): New function.
372 (hexify): New function.
373 (input_interrupt): Send signals to ``signal_pid''.
374 * gdbserver/server.c (inferior_pid): Remove.
375 (start_inferior): Update create_inferior call.
376 (attach_inferior): Call add_inferior.
377 (handle_query): New function.
378 (main): Call handle_query for `q' packets.
379 * gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
380 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
382 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
384 * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
386 * gdbserver/configure.in: Check for <string.h>
387 * gdbserver/configure: Regenerate.
388 * gdbserver/config.in: Regenerate.
389 * gdbserver/gdbreplay.c: Include needed system headers.
390 (remote_open): Remove strchr prototype.
391 * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
392 * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
393 (supply_register_by_name): Likewise.
394 (collect_register): Change buf argument to void *.
395 (collect_register_by_name): Likewise.
396 * gdbserver/regcache.h: Add missing prototypes.
397 * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
398 * gdbserver/server.c (handle_query): New function.
399 (attached): New static variable, moved out of main.
400 (main): Quiet longjmp clobber warnings.
401 * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
402 * gdbserver/utils.c (error): Remove NORETURN.
405 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
407 * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
408 after the last symbol in a block.
410 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
412 * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
413 is non zero as a found symbol.
415 2002-04-08 Andrew Cagney <ac131313@redhat.com>
417 * findvar.c: Include "builtin-regs.h".
418 (value_of_register): Call value_of_builtin_reg when applicable.
419 * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
420 (target_map_name_to_register): Call
421 builtin_reg_map_name_to_regnum.
422 * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
423 (COMMON_OBS): Add builtin-regs.o and std-regs.o.
424 (builtin_regs_h): Define.
425 (builtin-regs.o): New target.
426 (findvar.o): Add $(builtin_regs_h).
427 * builtin-regs.c, builtin-regs.h: New files.
428 * std-regs.c: New file.
429 Partial fix for PR gdb/251.
431 2002-04-08 Kevin Buettner <kevinb@redhat.com>
433 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
434 it's no longer required.
436 2002-04-08 Andrew Cagney <ac131313@redhat.com>
438 * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
440 2002-04-08 Kevin Buettner <kevinb@redhat.com>
442 From Jimi X <jimix@watson.ibm.com>:
443 * rs6000-tdep.c (rs6000_software_single_step): Use
444 rs6000_breakpoint_from_pc() to fetch breakpoint instruction
445 and size. Use target_insert_breakpoint() and
446 target_remove_breakpoint() to insert and remove breakpoints
447 instead of explicit memory reads and writes.
449 2002-04-08 Kevin Buettner <kevinb@redhat.com>
451 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
452 * rs6000-tdep.c (rs6000_push_arguments): Eliminate
453 ELF_OBJECT_FORMAT ifdef.
455 2002-04-08 Kevin Buettner <kevinb@redhat.com>
457 From Jimi X <jimix@watson.ibm.com>:
458 * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
460 2002-04-08 Kevin Buettner <kevinb@redhat.com>
462 From Jimi X <jimix@watson.ibm.com>:
463 * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
464 definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
466 2002-04-07 Mark Kettenis <kettenis@gnu.org>
468 * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
469 s/asprintf/xasprintf/.
470 (fbsd_make_corefile_notes): s/strdup/xstrdup/.
472 2002-04-07 Andrew Cagney <ac131313@redhat.com>
474 I believe Jeff Law denies responsability for this one:
475 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
476 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
477 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
478 Work-around for PR gdb/366.
480 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
482 * remote-e7000.c (write_small, e7000_read_inferior_memory,
483 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
484 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
486 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
488 * sh-tdep.c (sh_fp_frame_init_saved_regs,
489 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
492 2002-04-07 Andrew Cagney <ac131313@redhat.com>
494 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
497 2002-04-07 Andrew Cagney <ac131313@redhat.com>
499 * README (Reporting Bugs in GDB): Document the bug web page as the
500 prefered way of submitting bugs.
503 2002-04-06 Andrew Cagney <ac131313@redhat.com>
505 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
507 * gdbarch.h, gdbarch.c: Re-generate.
509 2002-04-07 Andreas Schwab <schwab@suse.de>
511 * m68klinux-nat.c (fill_fpregset): Properly pass address of
512 buffer to regcache_collect.
514 2002-04-06 Andrew Cagney <ac131313@redhat.com>
516 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
517 * gdbarch.c, gdbarch.h: Re-generate.
519 2002-04-06 Andrew Cagney <ac131313@redhat.com>
521 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
522 declaration. Fix -Werror.
524 2002-04-05 Daniel Jacobowitz <drow@mvista.com>
526 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
527 * gdbarch.c: Regenerate.
529 2002-04-05 Michael Snyder <msnyder@redhat.com>
531 * breakpoint.c (clear_command): Rewrite middle section to
532 combine two loops with identical control conditions.
533 Add a cleanup to eliminate a memory leak.
534 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
536 2002-04-05 H.J. Lu (hjl@gnu.org)
538 * solib-svr4.c (bkpt_names): Add "__start".
540 2002-04-04 Andrew Cagney <ac131313@redhat.com>
542 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
543 as test for 64 bit target.
545 2002-04-05 Andrew Cagney <ac131313@redhat.com>
547 * h8500-tdep.c (h8500_write_fp): Delete function.
548 * dwarf2cfi.c (cfi_write_fp): Document as not used.
549 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
550 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
551 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
552 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
553 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
555 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
556 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
557 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
558 (d10v_write_fp): Delete function.
559 * inferior.h (write_fp, generic_target_write_fp): Delete
561 * regcache.c (generic_target_write_fp): Delete function.
562 (write_fp): Delete function.
563 * gdbarch.sh (TARGET_WRITE_FP): Delete.
564 * gdbarch.h, gdbarch.c: Regenerate.
565 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
566 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
567 (sparc64_write_fp): Delete declaration.
568 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
569 (h8500_write_fp): Delete declaration.
571 2002-04-04 Andrew Cagney <ac131313@redhat.com>
573 * sparc-tdep.c (sparc64_write_fp): Delete.
574 (sparc_push_dummy_frame): Replace write_fp call with code to store
576 (sparc_gdbarch_init): Do not initialize write_fp.
578 2002-04-05 Kevin Buettner <kevinb@redhat.com>
580 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
583 2002-03-29 Jim Blandy <jimb@redhat.com>
585 * stack.c (get_selected_block): Add new argument `addr_in_block',
586 used to return the exact code address we used to select the block,
588 * blockframe.c (get_frame_block, get_current_block): Same.
589 * frame.h (get_frame_block, get_current_block,
590 get_selected_block): Update declarations.
591 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
592 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
594 2002-04-05 Michael Snyder <msnyder@redhat.com>
596 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
599 2002-04-05 J. Brobecker <brobecker@gnat.com>
601 * utils.c (xfullpath): New function.
602 * defs.h (xfullpath): Add declaration.
603 * source.c (openp): Use xfullpath in place of gdb_realpath to
604 avoid resolving the basename part of filenames when the
605 associated file is a symbolic link. This fixes a potential
606 inconsistency between the filenames known to GDB and the
607 filenames it prints in the annotations.
608 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
609 to be able to match a filename with either the real filename, or
610 the name of any symbolic link to this file.
611 (lookup_partial_symtab): Ditto.
613 2002-04-04 Michael Snyder <msnyder@redhat.com>
615 * breakpoint.c: Add support for hardware breakpoints in overlays.
616 (overlay_events_enabled): New state variable.
617 (insert_breakpoints): Use overlay_events_enabled to decide
618 whether to attempt to set a breakpoint at the overlay load addr.
619 Handle bp_hardware_breakpoint as well as bp_breakpoint.
620 (remove_breakpoint): Use overlay_events_enabled to decide
621 whether breakpoints need to be removed from overlay load addr.
622 Handle bp_hardware_breakpoint as well as bp_breakpoint.
623 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
624 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
625 disable_overlay_breakpoints): Update overlay_events_enabled.
627 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
629 * dwarf2read.c (struct function_range): New.
630 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
631 (check_cu_functions): New.
632 (read_file_scope): Initialize global function lists.
633 Call dwarf_decode_line after processing children.
634 (read_func_scope): Add to global function list.
635 (dwarf_decode_lines): Call check_cu_functions everywhere
636 record_line is called. Call record_line with a linenumber
637 of 0 to mark sequence ends.
639 2002-04-04 Michal Ludvig <mludvig@suse.cz>
641 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
642 change sync with glibc.
644 2002-04-03 Jim Blandy <jimb@redhat.com>
646 * configure.in: Call AC_C_INLINE.
647 * configure: Regenerated.
649 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
651 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
652 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
654 2002-03-31 Mark Kettenis <kettenis@gnu.org>
656 * NEWS: Mention gcore support on FreeBSD/i386.
658 * fbsd-proc.c: New file.
659 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
660 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
662 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
665 2002-03-29 Jim Blandy <jimb@redhat.com>
667 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
668 unescaped newlines in string literals, but newer ones don't. So
671 2002-03-26 Michael Snyder <msnyder@redhat.com>
672 Andrew Cagney <cagney@redhat.com>
674 * cli/cli-dump.c: New file. Dump memory to file,
675 restore file to memory.
676 * cli/cli-dump.h: New file.
677 * Makefile.in: Add rules, dependencies for cli-dump.o.
678 * NEWS: Mention new commands.
680 2002-03-28 Michael Snyder <msnyder@redhat.com>
682 * symfile.c (symbol_file_add): Move test for null symbols to later.
684 2002-03-27 Andrew Cagney <ac131313@redhat.com>
686 From veksler at il.ibm.com:
687 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
688 the xstrduped original path.
691 2002-03-27 Michael Snyder <msnyder@redhat.com>
693 * breakpoint.c (_initialize_breakpoint): Clean up help string.
694 * infcmd.c (_initialize_infcmd): Ditto.
695 * language.c (_initialize_language): Ditto.
696 * symfile.c (_initialize_symfile): Ditto.
697 * top.c (_init_main): Ditto.
698 * cli/cli-cmds.c (init_cli_cmds): Ditto.
700 2002-03-27 Elena Zannoni <ezannoni@redhat.com>
702 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
703 vector registers handling.
704 (skip_prologue): Handle new AltiVec instructions. Fill in new
705 fields of frame data.
706 (frame_get_saved_regs): Fill in information for AltiVec registers.
708 2002-03-27 Jim Blandy <jimb@redhat.com>
710 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
711 a function; leave this macro here to invoke that function.
712 (symbol_init_mangled_name): Declaration for that function.
713 * symtab.c (symbol_init_mangled_name): New function.
715 2002-03-27 Andrew Cagney <ac131313@redhat.com>
717 * valarith.c: Replace strerror with safe_strerror.
718 * tracepoint.c: Ditto.
724 2002-03-27 Andreas Schwab <schwab@suse.de>
726 * event-top.c (command_line_handler): Remove useless if.
728 2002-03-27 Andreas Jaeger <aj@suse.de>
730 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
733 2002-03-27 Michal Ludvig <mludvig@suse.cz>
735 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
736 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
737 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
738 (x86_64_linux_dr_get_status, supply_gregset),
739 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
740 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
741 (x86_64_register_info_table): Add.
742 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
743 (x86_64_register_raw_size, x86_64_register_virtual_type),
744 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
745 general x86_64_register_info_table.
746 (i386_gdbarch_init): gdbarch_register_bytes is now set
747 dynamicaly during initialization.
748 * regformats/reg-x86-64.dat: Synced with changes to registers above.
749 * gdbserver/linux-x86-64-low.c: Ditto.
751 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
753 * gdbserver/server.c (main): Call target_signal_to_host_p
754 and target_signal_to_host on signals received from the remote.
755 * gdbserver/remote-utils.c (prepare_resume_reply): Call
756 target_signal_from_host on signals sent to the remote.
757 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
758 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
760 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
762 * signals/signals.c: Include "server.h" in gdbserver build.
763 (target_signal_from_name): Don't use STREQ.
764 (_initialize_signals): Likewise. Don't include function in
767 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
769 * signals.c: Moved to...
770 * signals/signals.c: Here.
771 * Makefile (signals.o): Update.
773 2002-03-26 Jeff Law (law@redhat.com)
775 * somread.c (som_symtab_read): Remove some commented out code and
776 updated related comments. Do not set the minimal symbol table to
777 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
778 in a dynamic executable.
779 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
780 where we are unable to find the minimal symbol for the given
783 2002-03-25 Jeff Law (law@redhat.com)
785 * linux-proc.c (read_mapping): Scan up to end of line for filename.
787 2002-03-25 Michal Ludvig <mludvig@suse.cz>
789 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
791 2002-03-23 Andrew Cagney <ac131313@redhat.com>
793 * command.h: Update copyright.
794 (struct cmd_list_element): Replace definition with opaque
796 (enum cmd_types): Document that it will eventually be moved to
798 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
799 (MALLOCED_REPLACEMENT): Delete macro.
800 * Makefile.in (cli_decode_h): Add $(command_h).
801 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
802 * top.c: Include "cli/cli-decode.h".
803 * completer.c: Include "cli/cli-decode.h".
804 * maint.c: Include "cli/cli-decode.h".
805 * cli/cli-decode.h: Include "command.h".
806 (enum command_class): Delete.
807 (enum cmd_types): Comment out.
808 (enum cmd_auto_boolean): Delete.
809 (enum var_types): Delete.
811 2002-03-23 Andrew Cagney <ac131313@redhat.com>
813 * cli/cli-decode.c: Include "gdb_assert.h".
814 (add_set_or_show_cmd): New static function.
815 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
816 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
817 all fields, such as func, from the set command.
819 2002-03-23 Andrew Cagney <ac131313@redhat.com>
821 * MAINTAINERS (sh-elf): Change warning flag to -w.
823 2002-03-23 Andrew Cagney <cagney@redhat.com>
825 * defs.h (error): Add printf format attribute.
826 * thread-db.c (thread_from_lwp): Fix error format string.
827 * stack.c (parse_frame_specification): Ditto.
828 * cli/cli-decode.c (undef_cmd_error): Ditto.
829 * scm-lang.c (scm_lookup_name): Ditto.
830 * tracepoint.c (trace_error): Ditto.
831 * remote-utils.c (usage): Ditto.
832 * remote.c (compare_sections_command): Ditto.
835 2002-03-22 Andrew Cagney <ac131313@redhat.com>
837 * gdbtypes.c (append_composite_type_field): New function.
838 (init_composite_type): New function.
839 * gdbtypes.h (append_composite_type_field): Declare.
840 (init_composite_type): Ditto.
842 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
844 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
846 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
847 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
848 structure returning convention for SYSV ABI case, but not
849 for GNU/Linux, FreeBSD, or NetBSD.
851 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
853 * symtab.h (lookup_block_symbol): Add mangled_name argument
856 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
857 with new mangled_name argument.
858 * linespec.c (decode_line_1): Likewise.
859 * valops (value_of_this): Likewise.
860 * symtab.c (lookup_transparent_type): Likewise.
861 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
862 (lookup_symbol): If we are given a mangled name, pass it down
863 to lookup_symbol_aux.
864 (lookup_block_symbol): If we are given a mangled name to check
865 against, only return symbols which match it.
867 2002-03-22 Christopher Faylor <cgf@redhat.com>
869 * win32-nat.c (child_create_inferior): Check for proper shell to use
870 here, in case the user changes it on the fly.
871 (_initialize_inftarg): Remove shell path considerations.
873 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
875 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
876 for gdbarch_max_register_raw_size and max_register_virtual_size.
877 Adjust copyright year.
879 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
881 * dbxread.c (process_one_symbol): Extend the first N_SLINE
882 in a function to cover the entire beginning of the function
883 as well if it does not already.
885 2002-03-21 Tom Rix <trix@redhat.com>
887 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
888 (rs6000_ptrace64): Renamed from ptrace64.
890 2002-03-20 Martin M. Hunt <hunt@redhat.com>
892 * gdbserver/remote-utils.c (remote_open): Don't call
893 getprotobyname, we're all using TCP here so just use
895 * gdbserver/gdbreplay.c (remote_open): Ditto.
897 2002-03-20 Martin M. Hunt <hunt@redhat.com>
899 * regcache.c (_initialize_regcache): No need to call
900 build_regcache() at this time; it gets called whenever
903 2002-03-20 David O'Brien <obrien@FreeBSD.org>
905 * sparc-nat.c: Include sys/param.h where possible.
907 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
910 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
911 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
912 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
914 * stabsread.c (rs6000_builtin_type): Likewise.
915 (read_sun_floating_type): Likewise.
917 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
919 * stabsread.c (read_member_functions): Remove skip code for duplicate
920 constructor/destructor methods. Use standard parsing for these
921 methods and just do not chain them to the list of methods after
924 2002-03-19 Alexandre Oliva <aoliva@redhat.com>
926 * coffread.c: Remove redundant static declarations. Replace
927 occurrences of `PTR' with `void *'.
928 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
929 * top.h (quit_cover): Likewise.
930 * defs.h (catch_errors): Likewise.
932 2002-03-18 Andrew Cagney <ac131313@redhat.com>
934 * defs.h (XMALLOC): Define.
935 * gdb-events.sh (XMALLOC): Delete macro.
936 * gdb-events.c, gdb-events.h: Regenerate.
937 * gdbarch.sh (XMALLOC): Delete macro.
938 * gdbarch.c: Regenerate.
939 * serial.c (XMALLOC): Delete macro.
940 * ui-file.c (XMALLOC): Ditto.
941 * ser-unix.h (XMALLOC): Ditto.
942 * sh-tdep.c (XMALLOC): Ditto.
943 * ui-out.c (XMALLOC): Ditto.
944 * utils.c (XMALLOC): Ditto.
945 * i386-tdep.c (XMALLOC): Ditto.
946 * gdb-events.c (XMALLOC): Ditto.
947 * d10v-tdep.c (XMALLOC): Ditto.
948 * cli-out.c (XMALLOC): Ditto.
950 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
951 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
952 * ui-file.c, ui-out.c: Ditto.
954 2002-03-18 Andrew Cagney <ac131313@redhat.com>
956 * command.h (struct cmd_list_element): Add field context.
957 (set_cmd_context, get_cmd_context): Declare.
958 * cli/cli-decode.h: Ditto.
959 * cli/cli-decode.c (get_cmd_context): New function.
960 (set_cmd_context): New function.
961 (add_cmd): Initialize context.
962 Part of fixing PR gdb/145 and PR gdb/146.
964 2002-03-17 Andrew Cagney <ac131313@redhat.com>
966 * cli/cli-decode.c (cmd_type): New function.
967 * command.h (cmd_type): Declare.
968 * infrun.c (set_schedlock_func): Call function cmd_type.
969 * kod.c (kod_set_os): Call cmd_type.
970 * cris-tdep.c (cris_version_update): Use function cmd_type.
971 (cris_mode_update, cris_abi_update): Ditto.
973 * command.h: (execute_cmd_post_hook): Declare.
974 (execute_cmd_pre_hook): Declare.
975 * cli/cli-script.c (clear_hook_in_cleanup): New function.
976 (execute_cmd_post_hook, execute_cmd_pre_hook): New
977 functions. Execute pre/post hook while ensuring that afterwords
979 * top.c (execute_command): Use execute_cmd_post_hook, and
980 execute_cmd_pre_hook to execute pre/post commands.
981 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
983 (hook_stop_stub): Call execute_cmd_pre_hook.
985 2002-03-17 Andrew Cagney <ac131313@redhat.com>
987 * kod.c (kod_set_os): Revert previous change. Is called by ``info
988 set'' and this leads to a core dump. Move xstrdup of
989 operating_system to after check that it is not NULL.
991 2002-03-17 Andrew Cagney <ac131313@redhat.com>
993 * kod.c (kod_set_os): Remove unnecessary check that
994 ``command->type'' is set_cmd.
996 * valprint.c (set_input_radix): Use input_radix.
997 (set_output_radix): Use output_radix.
998 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
1001 2002-03-16 Andrew Cagney <ac131313@redhat.com>
1003 * value.h (struct value): Delete field ``substring_addr''. Change
1004 aligner fields to force_doublest_align, force_longest_align,
1005 force_core_addr_align and force_pointer_aligh.
1007 * value.h (struct value): Fix typo in above change.
1009 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1011 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
1012 to fix internal_error from ``maintenance print architecture''.
1014 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1016 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
1017 for gcc versions after gcc-2.8.1.
1019 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1021 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
1022 for method resolution. Restore adjustment of ``this'' pointer after
1023 calling value_struct_elt, which was accidentally removed during the
1026 2002-03-15 Andrew Cagney <ac131313@redhat.com>
1028 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
1030 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
1032 * value.h (value_of_register): Update.
1034 2002-03-14 Richard Henderson <rth@redhat.com>
1036 * configure.in: Detect declaration for canonicalize_file_name.
1037 * utils.c (canonicalize_file_name): Declare, if needed.
1038 (gdb_realpath): Prefer realpath if available and usable.
1039 * config.in, configure: Rebuild.
1041 2002-03-14 Richard Henderson <rth@redhat.com>
1043 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
1044 a constant array bound.
1046 * MAINTAINERS: Add myself to write-after-approval.
1048 2002-03-14 Michael Snyder <msnyder@redhat.com>
1050 * symfile.c (syms_from_objfile): Return immediately if no syms.
1051 (symbol_file_add): Return immediately if no syms.
1052 (find_sym_fns): Return immediately if no syms.
1054 2002-03-13 Michal Ludvig <mludvig@suse.cz>
1056 * gdbserver/remote-util.c (remote_open): Print remote-side's
1057 IP address when remote debugging over the network.
1059 2002-03-12 David O'Brien <obrien@FreeBSD.org>
1061 * config/sparc/fbsd.mh: Fix copyright.
1062 * config/sparc/fbsd.mt: Likewise.
1064 2002-03-11 Richard Earnshaw <rearnsha@arm.com>
1066 * MAINTAINERS: Fix typo in name of gdb warnings option.
1067 (x86-64): Fix formating so that this can be parsed by awk.
1069 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
1071 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
1072 * defs.h: Include "gdb/signals.h".
1073 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
1075 2002-03-10 Michal Ludvig <mludvig@suse.cz>
1077 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
1078 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
1081 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
1082 Don Howard <dhoward@redhat.com>
1084 * mips-tdep.c (ST0_FR): Define.
1085 (mips2_fp_compat): New function, temporarily disabled.
1086 (mips_read_fp_register_single): New function.
1087 (mips_read_fp_register_double): New function.
1088 (mips_print_register): Use them.
1089 (do_fp_register_row): Likewise.
1091 2002-03-09 Andrew Cagney <ac131313@redhat.com>
1093 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
1096 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1098 * stabsread.c (read_member_functions): Fix is_stub test for
1099 static member functions, improve comment.
1101 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
1103 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
1104 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
1105 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
1106 commands that set boolean values.
1107 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
1108 (arm_rdi_resume): Always initialize PC.
1109 (arm_rdi_open): Don't use rslt as a boolean.
1110 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
1111 (arm_rdi_fetch_registers, arm_rdi_store_registers)
1112 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
1113 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
1115 2002-03-06 Alexandre Oliva <aoliva@redhat.com>
1117 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
1118 * configure: Rebuilt.
1120 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1122 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
1123 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
1125 2002-03-06 Andrew Cagney <ac131313@redhat.com>
1127 * cli/cli-decode.c (set_cmd_completer): New function.
1128 * command.h (set_cmd_completer): Declare.
1129 * cli/cli-decode.h (set_cmd_completer): Ditto.
1131 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
1132 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1133 * win32-nat.c (_initialize_inftarg): Ditto.
1134 * remote-rdi.c (_initialize_remote_rdi): Ditto.
1135 * proc-api.c (_initialize_proc_api): Ditto.
1136 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
1137 * source.c (_initialize_source): Ditto.
1138 * exec.c (_initialize_exec): Ditto.
1139 * solib.c (_initialize_solib): Ditto.
1140 * top.c (init_main): Ditto.
1141 * tracepoint.c (_initialize_tracepoint): Ditto.
1142 * symfile.c (_initialize_symfile): Ditto.
1143 * printcmd.c (_initialize_printcmd): Ditto.
1144 * infcmd.c (_initialize_infcmd): Ditto.
1145 * corefile.c (_initialize_core): Ditto.
1147 2002-03-05 Andrew Cagney <ac131313@redhat.com>
1149 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
1151 2002-03-05 Andrew Cagney <ac131313@redhat.com>
1153 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
1155 2002-03-05 Andrew Cagney <ac131313@redhat.com>
1157 * NEWS: Update headings, 5.2 has branched.
1159 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
1161 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
1162 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
1163 (register_addr, REGISTER_RAW_SIZE): Likewise.
1164 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
1165 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
1167 2002-03-03 Michal Ludvig <mludvig@suse.cz>
1169 * MAINTAINERS (x86-64): Add myself.
1170 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
1171 changed value_ptr -> struct value *
1173 2002-03-01 David O'Brien <obrien@FreeBSD.org>
1175 * configure.host (sparc64-*-freebsd): Add.
1176 * configure.tgt: Likewise.
1177 * config/sparc/fbsd.mh: New file.
1178 * config/sparc/fbsd.mt: Likewise.
1179 * config/sparc/nm-fbsd.h: Likewise.
1180 * config/sparc/tm-fbsd.h: Likewise.
1182 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
1184 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
1185 regformats/reg-s390x.dat.
1187 2002-03-01 Andrew Cagney <ac131313@redhat.com>
1189 * utils.c: Add FIXME explaining true/false problem.
1191 2002-02-28 Andrew Cagney <ac131313@redhat.com>
1193 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
1195 2002-02-28 Michael Chastain <mec@shout.net>
1197 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
1199 2002-02-28 Daniel Jacobowitz <drow@mvista.com>
1201 * gdbserver/linux-s390-low.c: New file.
1202 * regformats/reg-s390.dat: New file.
1203 * regformats/reg-s390x.dat: New file.
1204 * gdbserver/configure.srv: Add S/390.
1205 * gdbserver/Makefile.in: Add S/390.
1206 * configure.tgt: Enable gdbserver for S/390.
1208 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
1210 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
1211 first line of the doc string for "info dos", except at the end of
1212 the sentence, since the short help stops at the first period.
1214 2002-02-28 Jason Merrill <jason@redhat.com>
1216 * dwarf2read.c (dwarf_cfi_name): Add new codes.
1218 2002-02-27 Fred Fish <fnf@redhat.com>
1220 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
1221 comment (dumy -> dummy).
1223 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1225 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
1227 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
1229 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
1231 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
1233 * gdbserver/acconfig.h: New file.
1234 * gdbserver/i387-fp.c: New file.
1235 * gdbserver/i387-fp.h: New file.
1236 * gdbserver/linux-x86-64.c: New file.
1237 * regformats/reg-x86-64.dat: New file.
1238 * configure.tgt: Add x86_64-*-linux* gdbserver support.
1239 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
1240 * gdbserver/configure.in: Add support for regsets.
1241 * gdbserver/config.in: Regenerate.
1242 * gdbserver/configure: Regenerate.
1243 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
1244 * gdbserver/linux-low.h: New file.
1245 * gdbserver/linux-low.c: Include "linux-low.h". Add support
1247 * gdbserver/linux-arm-low.c: Include "linux-low.h".
1248 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
1249 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
1250 * gdbserver/linux-mips-low.c: Include "linux-low.h".
1251 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
1252 * gdbserver/linux-sh-low.c: Include "linux-low.h".
1253 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
1254 "i387-fp.h". Add PTRACE_GETREGS and friends.
1255 * gdbserver/regcache.c (supply_register): New function.
1256 (supply_register_by_name): New function.
1257 (collect_register): New function.
1258 (collect_register_by_name): New function.
1260 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
1262 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
1263 (config.status): Add configure.srv dependency.
1264 (server_h): Add config.h dependency.
1266 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
1268 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
1269 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
1270 * gdbserver/configure.srv: Change i386-*-linux* to use
1273 2002-02-26 Andrew Cagney <ac131313@redhat.com>
1275 * x86-64-tdep.c: Re-indent. Update copyright date.
1277 2002-02-26 Andrew Cagney <ac131313@redhat.com>
1279 From Michal Ludvig <mludvig@suse.cz>:
1280 * x86-64-tdep.c (value.h): Delete.
1281 (gdb_assert.h): Include.
1282 (x86_64_register_convert_to_virtual,
1283 x86_64_register_convert_to_raw ): Add check which lets only
1284 floating-point values to be converted.
1285 (value_push): Delete.
1286 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
1287 (i386_gdbarch_init): Number of register_bytes fixed.
1289 2002-02-26 Andrew Cagney <ac131313@redhat.com>
1291 * MAINTAINERS: Add x86-64 target.
1293 2002-02-26 Andrew Cagney <ac131313@redhat.com>
1295 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
1296 * osfsolib.c (solib_map_sections): Ditto.
1297 * irix5-nat.c (solib_map_sections): Ditto.
1298 * corelow.c (gdb_check_format): Ditto.
1299 * symfile.c (symfile_bfd_open): Ditto.
1300 * solib.c (solib_map_sections): Ditto.
1303 2002-02-26 Andrew Cagney <ac131313@redhat.com>
1305 * remote.c (_initialize_remote): By default, disable ``e'' and
1306 ``E'' step out-of-range packets.
1308 2002-02-26 Andreas Schwab <schwab@suse.de>
1310 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
1311 m68k_linux_frame_saved_pc.
1312 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
1314 (SIGCONTEXT_PC_OFFSET): Remove.
1315 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
1316 m68k_linux_sigtramp_saved_pc): New functions.
1317 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
1318 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
1319 (UCONTEXT_PC_OFFSET): Define.
1320 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
1321 non-RT and RT signal trampolines.
1323 2002-02-26 Richard Earnshaw <rearnsha@arm.com>
1325 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
1326 (TARGET_NBPG, STACK_END_ADDR): Delete
1327 (VARIABLES_INSIDE_BLOCK): Delete.
1329 2002-02-25 Andrew Cagney <ac131313@redhat.com>
1331 * utils.c (perror_with_name): Make string parameter constant.
1332 (print_sys_errmsg): Ditto.
1334 * defs.h (perror_with_name): Update.
1335 (print_sys_errmsg): Update.
1338 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
1340 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
1341 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
1343 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1345 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
1346 if it already matches the current architecture from the exec file.
1347 Include arch-utils.h for gdbarch_info_init prototype.
1348 * Makefile.in (rs6000-nat.o): Update dependencies.
1350 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
1352 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
1353 list of exported variables.
1355 2002-02-24 Daniel Jacobowitz <drow@mvista.com>
1357 * gdbserver/configure.srv: New file.
1358 * gdbserver/configure.in: Use configure.srv instead
1359 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
1361 * gdbserver/configure: Regenerated.
1362 * gdbserver/terminal.h: New file.
1363 * gdbserver/Makefile.in: Update for configure changes. Remove
1364 more unneeded include paths.
1366 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1368 From wiz at danbala:
1369 * config/sparc/tm-sp64.h: Fix grammar and typos.
1372 2002-02-24 Andrew Cagney <ac131313@redhat.com>
1374 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
1375 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
1376 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
1377 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
1378 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
1379 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
1380 * s390-tdep.c: Ditto.
1381 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
1382 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
1383 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
1384 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
1385 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
1386 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
1387 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
1388 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
1389 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
1390 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
1393 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1395 * lin-thread.c: Delete file.
1396 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
1397 to gdb_proc_service.h.
1398 * configure: Re-generate.
1400 * ocd.c (ocd_open): Do not try to open the "ocd" device.
1401 * serial.c (serial_open): Delete check for "ocd".
1404 * Makefile.in (linux-thread.o): Delete target.
1405 * linux-thread.c: Delete file.
1407 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
1408 renamed SH files to be consistent.
1410 * symtab.c (sort_search_symbols): Use xfree.
1412 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
1414 * arm-linux-tdep.c (arm_linux_init_abi): Register
1415 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
1416 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
1417 definition with undef, since we don't want the sysvr4 definition.
1418 (SKIP_TRAMPOLINE_CODE): Likewise.
1420 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1422 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
1424 * configure.in: (AC_CHECK_FUNCS) Added test for
1425 canonicalize_file_name Regenerated.
1426 * config.in, configure: Regenerated.
1427 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
1428 defined use canonicalize_file_name.
1430 2002-02-23 Michael Chastain <mec@shout.net>
1432 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
1434 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1436 * README: Remove references to cygnus.com.
1437 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
1438 dot com'' form. Remove references to cygnus.com and sourceware.
1440 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1442 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
1443 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1444 1003.1-2001 no longer allows "head -1".
1445 * gdb/Makefile.in (version.c): Likewise.
1446 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
1447 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
1448 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
1450 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1452 * cli/cli-decode.c (cmd_cfunc_eq): New function.
1453 * command.h (cmd_cfunc_eq): Declare.
1454 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
1456 * cli/cli-cmds.h (is_complete_command): Change parameter to a
1457 ``struct cmd_list_element *''.
1458 * cli/cli-cmds.c (is_complete_command): Update. Use
1460 * top.c (execute_command): Pass the command to
1461 is_complete_command.
1462 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
1464 2002-02-23 Andrew Cagney <ac131313@redhat.com>
1466 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
1467 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
1468 architecture defines.
1469 * s390-tdep.c (s390_gdbarch_init): Likewise.
1471 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
1473 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
1474 (arm_linux_push_arguments): Likewise.
1475 (arm_linux_init_abi): Register them. Also register linux-specific
1477 (find_minsym_and_objfile): Use strcmp, not STREQ.
1478 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
1479 (arm_linux_call_dummy_words): Delete declaration.
1480 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
1481 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
1483 (LOWEST_PC): Delete.
1485 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1487 * maint.c (print_section_info): Do not prepend `0x' to filepos
1488 output, it will be handled by local_hex_string_custom.
1490 2002-02-23 Richard Earnshaw <rearnsha@arm.com>
1492 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
1493 (store_newfpe_double, store_newfpe_extended, store_fpregister)
1494 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
1496 2002-02-22 Jim Blandy <jimb@redhat.com>
1498 Indicate that the bcache functions don't change the strings
1500 * bcache.h (bcache, hash): Add `const' keywords to declarations.
1501 * bcache.c (bcache, hash): Add `const' keywords to definitions.
1503 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
1505 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
1507 2002-02-21 Christopher Faylor <cgf@redhat.com>
1509 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
1510 find the complete path to a loaded DLL.
1512 2002-02-21 Fred Fish <fnf@redhat.com>
1514 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
1515 that marks the end of the range of a function, enter a line number
1516 entry that has a line number of zero and a PC offset that matches
1517 the end of the function. This starts a range of PC's for which no
1518 line number information is known.
1519 * symtab.c (find_pc_sect_line): If our best fit is in a range of
1520 PC's for which no line number info is found (line number is zero)
1521 then we didn't find any valid line information.
1522 * symtab.h: Document use of zero line number entry.
1524 2002-02-21 Elena Zannoni <ezannoni@redhat.com>
1526 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
1527 (have_ptrace_getvrregs): Define for run time checks.
1528 (gdb_vrregset_t): New type for Altivec register handling.
1529 (fetch_register, store_register): Fetch/store altivec register
1531 (fetch_altivec_register, store_altivec_register): New functions.
1532 (supply_vrregset, fill_vrregset): New functions.
1533 (fetch_altivec_registers, store_altivec_registers): New functions.
1534 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
1537 2002-02-21 Jiri Smid <smid@suse.cz>
1539 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
1541 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
1543 * Makefile.in (armnbsd-nat.o): Update dependencies.
1544 * armnbsd-nat.c (supply_gregset): New function. Common code to
1545 supply the integer register set.
1546 (supply_fparegset): New function. Similar for FPA registers.
1547 (fetch_regs, fetch_fp_regs): Use them.
1548 (fetch_core_registers): Likewise.
1549 (fetch_elfcore_registers): New function.
1550 (arm_netbsd_elfcore_fns): New core-file type specification.
1551 (_initialize_arm_netbsd_nat): Register it.
1553 2002-02-21 Richard Earnshaw <rearnsha@arm.com>
1555 * armnbsd-nat.c: Include gdbcore.h.
1556 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
1557 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
1558 'void' to declaration, to shut up ARI.
1559 (fetch_core_registers): Make static. Rewrite using supply_register.
1560 (arm_netbsd_core_fns): New core-file type specification.
1561 (_initialize_arm_netbsd_nat): New function.
1563 2002-02-21 Christopher Faylor <cgf@redhat.com>
1565 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
1568 2002-02-20 Christopher Faylor <cgf@redhat.com>
1570 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
1573 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1575 * jv-exp.y (parse_number): Change type of implicit longs
1576 to builtin_type_uint64.
1578 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1580 * gdbserver/linux-low.c (mywait): Change argument to waitpid
1581 to be an integer instead of a `union wait'.
1583 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1585 * mips-linux-nat.c: Call the operating system GNU/Linux.
1586 * mips-linux-tdep.c: Likewise.
1587 * mips-tdep.c: Likewise.
1589 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1592 * jv-exp.y (parse_number): Handle 64-bit integers.
1594 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
1596 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
1597 AC_STDC_HEADERS to AC_HEADER_STDC.
1598 * gdbserver/configure: Regenerated.
1600 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
1602 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
1604 * sparc-tdep.c (get_longjmp_target): Likewise.
1606 2002-02-20 Richard Earnshaw <rearnsha@arm.com>
1608 * News: Add news about ARM and Multi-arch. Mention the new target
1611 2002-02-19 Jim Blandy <jimb@redhat.com>
1613 * stabsread.c (error_type_complaint): Improve error message.
1615 2002-02-19 Daniel Jacobowitz <drow@mvista.com>
1617 * gdbserver/README: Update documentation.
1618 * gdbserver/configure.in: Update configury to match documentation.
1619 * gdbserver/Makefile.in: Likewise.
1620 * gdbserver/configure: Regenerated.
1621 * gdbserver/aclocal.m4: New file, generated by aclocal.
1622 * gdbserver/config.in: New file, generated by autoheader.
1624 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1626 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
1629 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1631 * arm-tdep.h (enum arm_float_model): New enum.
1632 (struct gdbarch_tdep): Add fp_model.
1633 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
1634 up floating-point conversions until we know the floating-point model
1635 in use by the inferior. Don't complain about being unable to
1636 determine the ABI of the inferior when we don't have one.
1637 (arm_extract_return_value): Support different floating-point models.
1638 (arm_store_return_value): Likewise.
1639 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
1641 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
1643 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1645 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
1646 of ``current_gdbarch''.
1648 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1650 * armnbsd-nat.c : ANSIfy all function declarations.
1651 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
1652 (fetch_inferior_registers): Re-implement in terms of above.
1653 (store_register, store_regs, store_fp_register, store_fp_regs): New.
1654 (store_inferior_registers): Re-implement in terms of above.
1656 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1658 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
1660 * arm-linux-tdep.c: Likewise.
1661 * config/arm/tm-linux.h: Likewise.
1663 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1665 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
1666 * config/arm/nbsd.mt (TM_FILE): Delete.
1667 * config/arm/tm-nbsd.h: Delete.
1669 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1671 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
1672 Initialize CALL_DUMMY_LENGTH.
1674 2002-02-19 Richard Earnshaw <rearnsha@arm.com>
1676 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
1678 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
1679 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
1680 defines one thing and that is incorrect for this port.
1681 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
1683 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1685 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
1687 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1689 * win32-nat.c (display_selector): New function. Displays information
1690 about the information returned by GetThreadSelectorEntry API function.
1691 (display_selectors): New function. Displays the infomation of
1692 the selector given as argument, or of CS, DS ans FS selectors
1693 if no argument is given.
1694 ( _initialize_inftarg): Add "w32" as info prefix command.
1695 Add "info w32 selector" as command calling display_selectors.
1697 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
1699 * i386-tdep.c (get_longjmp_target): Fix compilation failure
1700 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
1703 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1705 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
1707 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1709 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
1710 (arm_fix_call_dummy): Call it.
1711 (arm_call_dummy_breakpoint_offset): Delete.
1712 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
1713 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
1715 2002-02-18 Andrew Cagney <ac131313@redhat.com>
1717 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
1718 Default to func_frame_chain_valid.
1719 * gdbarch.h, gdbarch.c: Re-generate.
1720 * frame.h (FRAME_CHAIN_VALID): Delete definition.
1722 2002-02-18 Elena Zannoni <ezannoni@redhat.com>
1724 * ppc-linux-nat.c: Update copyright.
1725 (fetch_register, store_register): Add tid parameter, don't compute
1727 (fetch_ppc_registers, store_ppc_registers): Add tid
1728 parameter. Pass it along to callees.
1729 (fetch_inferior_registers, store_inferior_registers): Compute tid
1730 here, and pass it to calleed functions.
1731 (fill_gregset, supply_fpregset): Clean up formatting.
1733 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1735 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
1736 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
1738 2002-02-18 Richard Earnshaw <rearnsha@arm.com>
1740 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
1741 * gdbarch.c gdbarch.h: Regenerate.
1742 * breakpoint.c (create_longjmp_breakpoint): Always compile this
1744 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
1745 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
1746 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
1748 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
1749 * arm-tdep.c (arm_get_longjmp_target): New function.
1750 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
1751 this to a positive value register arm_get_longjmp_target as the
1753 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
1754 (arm_linux_init_abi): Set up longjmp description in tdep.
1755 * armnbsd-nat.c (get_longjmp_target): Delete.
1756 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
1757 description in tdep.
1758 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
1759 (get_longjmp_target): Delete declaration.
1760 (GET_LONGJMP_TARGET): Delete.
1761 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
1762 (GET_LONGJMP_TARGET): Delete.
1764 2002-02-17 Kevin Buettner <kevinb@redhat.com>
1766 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1767 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
1768 of ``current_gdbarch''.
1770 2002-02-17 Tom Tromey <tromey@redhat.com>
1772 * cli/cli-cmds.c (compare_strings): New function.
1773 (complete_command): Only print each unique item once.
1774 * completer.h (complete_line): Declare.
1775 * completer.c (complete_line): New function.
1776 (line_completion_function): Use it.
1778 2002-02-16 Andrew Cagney <ac131313@redhat.com>
1780 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
1781 * gdbarch.h, gdbarch.c: Re-generate.
1783 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
1785 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
1787 2002-02-16 Daniel Jacobowitz <drow@mvista.com>
1789 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1790 * valops.c (value_arg_coerce): Don't take the address of a reference
1791 to convert an argument to a reference.
1793 2002-02-15 Christopher Faylor <cgf@redhat.com>
1795 * win32-nat.c (get_image_name): New function.
1796 (handle_load_dll): Use get_image_name function.
1797 (get_child_debug_event): Avoid registering debug events until possibly
1798 execed process is started.
1799 (child_create_inferior): Allow invocation via shell so that command
1800 line redirection, etc. works ok.
1801 (_initialize_inftarg): Add new command: "set shell" to control whether
1802 a shell is used to start a process.
1804 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
1806 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
1807 instead of find_register_by_number.
1808 (cannot_store_register): Likewise.
1810 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1812 * dwarf2read.c: Replace fprintf (stderr, ...) by
1813 fprintf_unfiltered (gdb_stderr, ...).
1815 2002-02-15 Daniel Jacobowitz <drow@mvista.com>
1817 * gdbserver/gdbserver.1: Document --attach.
1819 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
1821 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
1823 * arm-tdep.c (arm_default_arm_le_breakpoint)
1824 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
1825 (arm_default_thumb_be_breakpoint): New. Initialize them from
1826 traditional breakpoint defines.
1827 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
1828 (arm_gdbarch_init): Initialize new breakpoint variables.
1829 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
1830 (arm_linux_init_abi): Initialize linux-specific breakpoint.
1831 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
1832 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
1834 (arm_netbsd_init_abi_common): ... here; new function.
1835 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
1836 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
1837 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
1838 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
1840 2002-02-15 Richard Earnshaw <rearnsha@arm.com>
1842 * arm-tdep.h (enum arm_abi): New enum.
1843 (struct gdbarch_tdep): New structure.
1844 (LOWEST_PC): Provide a default.
1845 (arm_gdbarch_register_os_abi): Declare new function.
1846 * arm-tdep.c (arm_abi_names): New array.
1847 (process_note_abi_tag_sections): New function.
1848 (get_elfosabi): New function.
1849 (arm_gdbarch_register_os_abi): New function.
1850 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
1851 support for that ABI has been built in, then call the appropriate
1852 configuration routine. Use gdbarch_num_regs() to get the number
1854 (arm_dump_tdep): New function.
1855 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
1856 place-holder functions.
1857 (_initialize_arm_tdep): Register them.
1858 * config/arm/tm-arm.h (LOWEST_PC): Delete.
1860 * armnbsd-tdep.c: New file.
1861 * Makefile.in (armnbsd-tdep.o): Add dependencies.
1862 * config/arm/nbsd.mt (TDEPFILES): Add it.
1863 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
1865 * armnbsd-nat.c: Include regcache.h.
1866 * Makefile.in (armnbsd-nat.o): Update dependency list.
1868 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
1870 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1872 * gdbserver/Makefile.in: Fix typos in target rules.
1874 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1876 Fix part of PR gdb/267.
1877 * linespec.c (find_methods): Handle constructors specially for now.
1879 2002-02-14 Corinna Vinschen <vinschen@redhat.com>
1881 * arm-tdep.c (arm_push_arguments): Eliminate special float type
1883 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
1884 standard_coerce_float_to_double().
1886 2002-02-14 Christopher Faylor <cgf@redhat.com>
1888 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
1891 2002-02-14 Elena Zannoni <ezannoni@redhat.com>
1893 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
1894 find_variant_by_name, because it confuses the multiarch
1895 framework. Return NULL if there isn't an architecture with the
1896 user supplied name, instead of forcing a different one without
1897 recording the change with the multiarch machinery.
1898 (find_variant_by_name): Delete.
1900 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1902 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
1903 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
1905 2002-02-13 Martin M. Hunt <hunt@redhat.com>
1907 * stack.c (print_frame_info_base): When calling
1908 print_frame_info_listing_hook, set current_source_symtab.
1910 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1912 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
1913 and remove unused $(INCLUDE_DIR).
1914 Add regcache.c to OBS.
1915 Add generated register protocol files to clean target.
1916 Update dependencies for new objects, obsolete old target code.
1918 * gdbserver/linux-low.c: Remove all platform-specific code to
1919 new files. Remove various dead code. Update to use regcache
1921 * gdbserver/remote-utils.c (fromhex): Add return statement
1923 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
1925 (input_interrupt): Add integer parameter to match prototype
1926 of a signal handler.
1927 (outreg): Use register_data ().
1928 (prepare_resume_reply): Use gdbserver_expedite_regs.
1929 * gdbserver/server.c (main): Dynamically allocate own_buf because
1930 PBUFSIZ is no longer constant. Use registers_to_string () and
1931 registers_from_string ().
1932 * gdbserver/server.h: No longer include "defs.h". Add prototypes
1933 for error (), fatal (), and warning (). Update definition of
1934 PBUFSIZ to use regcache functionality. Add include guard.
1935 * gdbserver/utils.c (fatal): Add missing ``const''.
1936 (warning): New function.
1938 * regformats/regdat.sh: Include "regcache.h" in generated files.
1939 Provide init_registers () function.
1940 * regformats/regdef.h: Add prototype for set_register_cache ().
1943 * gdbserver/linux-arm-low.c: New file.
1944 * gdbserver/linux-i386-low.c: New file.
1945 * gdbserver/linux-ia64-low.c: New file.
1946 * gdbserver/linux-m68k-low.c: New file.
1947 * gdbserver/linux-mips-low.c: New file.
1948 * gdbserver/linux-ppc-low.c: New file.
1949 * gdbserver/linux-sh-low.c: New file.
1951 * gdbserver/regcache.c: New file.
1952 * gdbserver/regcache.h: New file.
1954 * gdbserver/low-linux.c: Removed obsolete file.
1956 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1958 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
1959 * config/i386/linux.mt: Likewise.
1960 * config/ia64/linux.mt: Likewise.
1961 * config/m68k/linux.mh: Likewise.
1962 * config/powerpc/linux.mh: Likewise.
1963 * config/mips/linux.mt: Likewise.
1965 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
1967 * config/i386/i386lynx.mh: Mark gdbserver variables
1968 as (currently) obsolete for this target.
1969 * config/i386/nbsd.mt: Likewise.
1970 * config/i386/nbsdelf.mt: Likewise.
1971 * config/m32r/m32r.mt: Likewise.
1972 * config/m68k/m68klynx.mh: Likewise.
1973 * config/m68k/nbsd.mt: Likewise.
1974 * config/m68k/sun3os4.mh: Likewise.
1975 * config/mips/vr5000.mt: Likewise.
1976 * config/ns32k/nbsd.mt: Likewise.
1977 * config/pa/hppabsd.mh: Likewise.
1978 * config/pa/hppaosf.mh: Likewise.
1979 * config/powerpc/nbsd.mt: Likewise.
1980 * config/rs6000/rs6000lynx.mh: Likewise.
1981 * config/s390/s390.mt: Likewise.
1982 * config/s390/s390x.mt: Likewise.
1983 * config/sparc/sparclynx.mh: Likewise.
1984 * config/sparc/sun4os4.mh: Likewise.
1985 * config/i386/x86-64linux.mt: Likewise.
1986 * config/sparc/linux.mh: Likewise.
1988 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
1990 * configure.tgt: Configure gdbserver only for known working
1991 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
1992 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
1993 SUBDIRS if it is configured. Update comment for ${nativefile}.
1994 * configure: Regenerated.
1996 2002-02-13 Michael Snyder <msnyder@redhat.com>
1998 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
2000 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
2001 (default_gcore_mach): Just return 0, work around a problem in bfd.
2002 (default_gcore_target): OK to return NULL if exec_bfd is null.
2003 (make_mem_sec): Use a cast, avoid a warning.
2005 * procfs.c (find_memory_regions_callback): Use a cast instead of
2006 calling host_pointer_to_address (which complains if
2007 sizeof (host pointer) != sizeof (target pointer)).
2008 (procfs_make_note_section): Avoid overflow in psargs string.
2010 * procfs.c (procfs_make_note_section): Make the default
2011 implementation return an error.
2013 2002-02-13 Rodney Brown <rbrown64@csc.com.au>
2015 * procfs.c (procfs_make_note_section): Provide a default definition
2016 (for alpha-dec-osf4.0f). Fix typos.
2018 2002-02-13 Elena Zannoni <ezannoni@redhat.com>
2020 * linux-proc.c: Add include of regcache.h.
2021 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
2023 2002-02-13 Andrew Cagney <ac131313@redhat.com>
2025 From 2002-01-18 Greg McGary <greg@mcgary.org>:
2026 * memattr.c (create_mem_region): Disallow useless empty region.
2027 Regions are half-open intervals, so allow [A..B) [B..C) as
2030 2002-02-13 Michael Chastain <mec@shout.net>
2032 * defs.h: Kill CONST_PTR.
2033 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
2034 * c-lang.c (c_builtin_types): Likewise.
2035 * ch-lang.c (ch_builtin_types): Likewise.
2036 * f-lang.c (f_builtin_types): Likewise.
2037 * language.c (unknown_builtin_types): Likewise.
2038 * m2-lang.c (m2_builtin_types): Likewise.
2039 * p-lang.c (pascal_builtin_types): Likewise.
2040 * scm-lang.c (c_builtin_types): Likewise.
2042 2002-02-13 Keith Seitz <keiths@redhat.com>
2044 * arm-tdep.h (arm_get_next_pc): Add declaration.
2046 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
2048 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
2049 with other related struct-returning functions.
2050 (arm_extract_struct_value_address): New function.
2051 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
2052 initialize float_format, double_format and long_double_format as
2053 appropriate to the endianness of the target.
2054 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
2055 (arm_use_struct_convention): Delete declaration.
2056 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2058 2002-02-13 Keith Seitz <keiths@redhat.com>
2060 * defs.h (core_addr_to_string_nz): New function.
2062 2002-02-13 Mark Kettenis <kettenis@gnu.org>
2064 Apply missing bits of 2002-01-15 patch.
2065 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
2066 (fill_fpregset): Use i387_fill_fsave.
2068 2002-02-12 Keith Seitz <keiths@redhat.com>
2070 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
2071 (core_addr_to_string_nz): New function.
2073 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
2075 * arm-linux-nat.c: Really include arm-tdep.h.
2076 * config/arm/tm-linux.h (struct type, struct value): Declare.
2078 2002-02-11 Michael Snyder <msnyder@redhat.com>
2080 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
2081 (gcore section): Ifdef for Solaris and Unixware only.
2082 (procfs_do_thread_registers): Unixware needs one lwpstatus
2083 per thread (not one prstatus or pstatus).
2084 (procfs_make_note_section): Iterate only over kernel threads (lwps),
2085 not over all gdb threads. For unixware, call elfcore_write_pstatus
2086 once before iterating over threads.
2088 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
2090 * arm-tdep.h: New file.
2091 * arm-tdep.c: Include arm-tdep.h.
2092 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2093 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2094 (arm_print_float_info, arm_register_type, convert_to_extended)
2095 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2096 (arm_extract_return_value, arm_register_name): Make static.
2097 (arm_software_single_step): Similarly. Fix types in declaration.
2098 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
2099 (arm_store_return_value, arm_store_struct_return): New functions.
2100 (arm_gdbarch_init): Register the above functions. Also register
2101 call_dummy_start_offset, sizeof_call_dummy_words,
2102 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
2103 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
2104 max_register_virtual_size, register_size. Set up
2105 prologue_cache.saved_regs here, rather than ...
2106 (_initialize_arm_tdep): ... here.
2107 * config/arm/tm-arm.h (struct type, struct value): Delete forward
2109 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2110 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2111 (arm_print_float_info, arm_register_type, convert_to_extended)
2112 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2113 (arm_extract_return_value, arm_register_name): Delete declarations.
2114 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
2115 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
2116 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
2117 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
2118 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
2119 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
2120 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
2121 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
2122 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
2123 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
2124 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
2125 (arm_get_next_pc): No-longer static -- these are needed by the RDI
2127 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
2128 * remote-rdi.c remote-rdp.c: Likewise.
2129 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
2130 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
2131 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
2134 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
2135 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
2136 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
2137 from non-ARM_ prefixed definitions.
2138 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
2140 * remote-rdi.c remote-rdp.c: Likewise.
2141 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2143 2002-02-11 Richard Earnshaw <rearnsha@arm.com>
2145 * arm-tdep.c (arm_frameless_function_invocation)
2146 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2147 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2148 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2149 (arm_pop_frame, arm_get_next_pc): Make static.
2150 (arm_gdbarch_init): Register above in gdbarch structure.
2151 (arm_read_fp): Renamed from arm_target_read_fp.
2152 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
2153 * config/arm/tm-arm.h (arm_frameless_function_invocation)
2154 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2155 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2156 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2157 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
2158 (arm_pc_is_thumb_dummy): Delete declarations.
2159 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
2160 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
2161 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
2162 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
2164 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2166 * symtab.c (compare_search_syms): New function.
2167 (sort_search_symbols): New function.
2168 (search_symbols): Sort symbols after searching rather than
2171 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2173 * NEWS: Linux -> GNU/Linux.
2175 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2177 * gdbarch.sh: For for level one methods, disallow a definition
2178 when partially multi-arched. Add comments explaining rationale.
2179 * gdbarch.h: Re-generate.
2181 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2183 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
2186 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2188 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
2190 * gdbarch.c: Re-generate.
2192 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2194 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
2195 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
2198 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2200 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
2202 (PUSH_ARGUMENTS): Switch to using predefault.
2203 * gdbarch.c: Regenerate.
2205 2002-02-10 Andrew Cagney <ac131313@redhat.com>
2207 * valops.c (PUSH_ARGUMENTS): Delete definition.
2208 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
2209 partial. Default to default_push_arguments.
2210 * gdbarch.h, gdbarch.c: Regenerate.
2212 2002-02-09 Andrew Cagney <ac131313@redhat.com>
2214 * defs.h (throw_exception): Rename return_to_top_level. Update
2216 * utils.c (error_stream, internal_verror, quit): Ditto.
2217 * top.c (throw_exception, catcher): Ditto.
2218 * sparclet-rom.c (sparclet_load): Ditto.
2219 * remote.c (interrupt_query, minitelnet): Ditto.
2220 * remote-sds.c (interrupt_query): Ditto.
2221 * remote-mips.c (mips_error, mips_kill): Ditto.
2222 * ocd.c (interrupt_query): Ditto.
2223 * monitor.c (monitor_interrupt_query): Ditto.
2224 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
2225 * target.h: Update comment.
2227 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
2229 2002-02-09 Andrew Cagney <ac131313@redhat.com>
2231 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
2232 default_double_format.
2233 * gdbarch.h, gdbarch.c: Re-generate.
2234 * findvar.c (floatformat_unknown): Delete variable definition.
2235 * doublest.h (floatformat_unknown): Delete variable declaration.
2237 2002-02-09 Jim Blandy <jimb@redhat.com>
2239 * stabsread.c (read_type): Add code to parse Sun's syntax for
2240 prototyped function types.
2242 2002-02-09 Andrew Cagney <ac131313@redhat.com>
2244 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
2245 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
2247 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2249 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
2250 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
2251 now _initialize_xcoffsolib gets called again and overrides the
2252 commands from solib.c in a native configuration.
2254 2002-02-09 Mark Kettenis <kettenis@gnu.org>
2256 * doublest.c (store_typed_floating): Don't try to return a value.
2259 2002-02-08 Jim Blandy <jimb@redhat.com>
2261 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
2262 is prototyped and has no arguments, print its argument list as
2265 2002-02-08 Chris Demetriou <cgd@broadcom.com>
2267 * MAINTAINERS (write-after-approval): Add myself.
2268 (paper-trail): I've escaped!
2270 2002-02-08 Christopher Faylor <cgf@redhat.com>
2272 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
2274 (_initialize_check_for_gdb_ini): Ditto.
2276 2002-02-08 Martin M. Hunt <hunt@redhat.com>
2278 * win32-nat.c (cygwin_pid_to_str): Fix typo.
2279 xaprintf -> xasprintf.
2281 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
2283 * win32-nat.c: Remove use of printf and sprintf functions.
2285 2002-02-08 Richard Earnshaw <rearnsha@arm.com>
2287 * arm-tdep.c (arm_frame_chain_valid): Make static.
2288 (arm_push_arguments): Likewise.
2289 (arm_gdbarch_init): New function.
2290 (_initialize_arm_tdep): Call it.
2291 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
2292 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
2293 (FRAME_CHAIN_VALID): Delete.
2294 (arm_frame_chain_valid): Delete declaration.
2295 (PUSH_ARGUMENTS): Delete.
2296 (arm_push_arguments): Delete declaration.
2297 (CALL_DUMMY_P): Delete.
2299 2002-02-08 Andrew Cagney <ac131313@redhat.com>
2300 Corinna Vinschen <vinschen@redhat.com>
2302 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
2303 on builtin float types.
2305 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
2307 * utils.c: Include <curses.h> before "bfd.h".
2308 * tui/tui-hooks.c: Likewise.
2309 * tui/tui.c: Likewise.
2310 * tui/tuiCommand.c: Likewise.
2311 * tui/tuiData.c: Likewise.
2312 * tui/tuiDataWin.c: Likewise.
2313 * tui/tuiDisassem.c: Likewise.
2314 * tui/tuiGeneralWin.c: Likewise.
2315 * tui/tuiIO.c: Likewise.
2316 * tui/tuiLayout.c: Likewise.
2317 * tui/tuiRegs.c: Likewise.
2318 * tui/tuiSource.c: Likewise.
2319 * tui/tuiSourceWin.c: Likewise.
2320 * tui/tuiStack.c: Likewise.
2321 * tui/tuiWin.c: Likewise.
2323 2002-02-07 Elena Zannoni <ezannoni@redhat.com>
2325 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
2326 to include space for pseudoregs as well. Update loops accordingly.
2327 (sh_fp_frame_init_saved_regs): Ditto.
2328 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
2330 2002-02-07 Andrew Cagney <ac131313@redhat.com>
2332 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
2333 Add Richard Earnshaw to Arm maintainers.
2335 2002-02-07 Andrew Cagney <ac131313@redhat.com>
2337 * defs.h (warning_begin): Delete declaration.
2339 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
2342 2002-02-07 Michael Snyder <msnyder@redhat.com>
2344 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
2345 Logic bug, remove misplaced else.
2347 2002-02-07 Klee Dienes <klee@apple.com>
2349 * fork-inferior.c (fork_inferior): Add '!' to the list of
2350 characters that need to be quoted when building a string for the
2351 shell. Quote '!' specifically with a backslash, since CSH chokes
2352 when trying to evaluate "str!str".
2354 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2356 * rdi-share/host.h: Only provide a typedef for bool if it is not
2359 2002-02-04 Michael Snyder <msnyder@redhat.com>
2361 * breakpoint.h (enum bptype): Add new overlay event bp type.
2362 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
2364 * breakpoint.c (create_internal_breakpoint): New function.
2365 (internal_breakpoint_number): Moved into create_internal_breakpoint.
2366 (create_longjmp_breakpoint): Use create_internal_breakpoint.
2367 (create_thread_event_breakpoint): Ditto.
2368 (create_solib_event_breakpoint): Ditto.
2369 (create_overlay_event_breakpoint): New function.
2370 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
2371 (update_breakpoints_after_exec): Delete and re-initialize
2372 overlay event breakpoints after an exec. Add FIXME comment
2373 about longjmp breakpoint.
2374 (print_it_typical): Ignore overlay event breakpoints.
2375 (print_one_breakpoint): Ditto.
2377 (bpstat_what): Do not stop for overlay event breakpoints.
2378 (delete_breakpoint): Don't delete overlay event breakpoints.
2379 (breakpoint_re_set_one): Delete the overlay event breakpoint.
2380 (breakpoint_re_set): Re-create overlay event breakpoint.
2382 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
2383 (overlay_manual_command): Disable overlay breakpoints.
2384 (overlay_off_command): Disable overlay breakpoints.
2386 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
2388 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
2389 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
2390 to here from config/tm-arm.h.
2391 (coff_sym_is_thumb): Make static.
2392 (arm_elf_make_msymbol_special): New function.
2393 (arm_coff_make_msymbol_special): New function.
2394 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
2395 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
2396 (coff_sym_is_thumb): Delete declaration.
2397 (arm_elf_make_msymbol_special): Declare.
2398 (arm_coff_make_msymbol_special): Declare.
2399 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
2400 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2402 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
2404 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
2406 2002-02-06 Richard Earnshaw <rearnsha@arm.com>
2408 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
2409 * gdbarch.c gdbarch.h: Regenerate.
2410 * arch-utils.c (default_print_float_info): New function.
2411 * arch-utils.h (default_print_float_info): Prototype it.
2412 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
2413 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
2414 (PRINT_FLOAT_INFO): Document it.
2416 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
2417 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
2418 (PRINT_FLOAT_INFO): Define.
2420 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
2422 * win32-nat.c (_initialize_check_for_gdb_ini):
2423 Add typecast to sprintf argument to suppress a warning.
2425 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
2427 * win32-nat.c (last_sig): Changed type of variable to target_signal,
2428 to allow easier handling of pass state.
2429 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
2430 that gives exception name and address.
2431 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
2432 and set last_sig value to ourstatus->value.sig. Some missing
2434 (child_continue): Correctly report continue_status.
2435 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
2436 TARGET_SIGNAL_0 (new default value).
2437 (child_resume): consider sig argument passed to decide if
2438 the exception should be passed to debuggee or not.
2440 2002-02-05 Michael Snyder <msnyder@redhat.com>
2442 * regcache.c (fetch_register): Call target_fetch_register
2443 only if we don't call FETCH_PSEUDO_REGISTER.
2444 (store_register): Call target_store_register only if we
2445 don't call STORE_PSEUDO_REGISTER.
2447 2002-02-05 Elena Zannoni <ezannoni@redhat.com>
2449 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
2450 ELF_MAKE_MSYMBOL_SPECIAL.
2451 * gdbarch.c, gdbarch.h: Regenerate.
2452 * arch-utils.c (default_make_msymbol_special): New function.
2453 * arch-utils.h (default_make_msymbol_special): Export.
2454 * elfread.c (elf_symtab_read): Compile use of
2455 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
2457 * coffread.c (coff_symtab_read): Ditto, for
2458 COFF_MAKE_MSYMBOL_SPECIAL.
2460 2002-02-05 Jim Blandy <jimb@redhat.com>
2462 * solib-svr4.c (svr4_truncate_ptr): New function.
2463 (svr4_relocate_section_addresses): Do the address arithmetic with
2464 the appropriate truncation for target addresses, even when
2465 CORE_ADDR is larger than a target address.
2467 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2469 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
2472 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2474 * gdbserver/linux-low.c (kill_inferior): Remove commented out
2477 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2479 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2481 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2483 * gdbserver/linux-low.c: Remove unused include files.
2485 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2487 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
2488 (read_inferior_memory): Use it.
2489 (write_inferior_memory): Likewise.
2491 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2493 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
2494 grubbing through sys_errlist.
2496 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
2498 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2500 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2501 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2503 2002-02-04 Andrew Cagney <ac131313@redhat.com>
2505 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
2506 (do_sfunc, set_cmd_sfunc): New functions.
2508 * command.h (struct cmd_list_element): Add field func.
2509 * cli/cli-decode.h (struct cmd_list_element): Ditto.
2510 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
2511 * cli/cli-decode.h: Ditto.
2513 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
2514 (help_all, help_cmd_list): Ditto.
2515 (find_cmd, complete_on_cmdlist): Ditto.
2516 * top.c (execute_command): Ditto.
2518 * cli/cli-setshow.c (do_setshow_command): Call func instead of
2521 * infcmd.c (notice_args_read): Fix function signature.
2523 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
2524 * cli/cli-decode.c (add_set_cmd): Ditto.
2525 * utils.c (initialize_utils): Ditto.
2526 * maint.c (_initialize_maint_cmds): Ditto.
2527 * infrun.c (_initialize_infrun): Ditto.
2528 * demangle.c (_initialize_demangler): Ditto.
2529 * remote.c (add_packet_config_cmd): Ditto.
2530 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2531 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2532 * proc-api.c (_initialize_proc_api): Ditto.
2533 * kod.c (_initialize_kod): Ditto.
2534 * valprint.c (_initialize_valprint): Ditto.
2535 * top.c (init_main): Ditto.
2536 * infcmd.c (_initialize_infcmd): Ditto.
2537 * corefile.c (_initialize_core): Ditto.
2538 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2539 * arch-utils.c (initialize_current_architecture): Ditto.
2540 (_initialize_gdbarch_utils): Ditto.
2541 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2543 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
2544 * wince.c (_initialize_inftarg): Ditto.
2545 * symfile.c (_initialize_symfile): Ditto.
2546 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2547 * language.c (_initialize_language): Ditto.
2548 * arc-tdep.c (_initialize_arc_tdep): Ditto.
2550 2002-02-04 Michael Snyder <msnyder@redhat.com>
2552 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
2554 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2556 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
2557 Add rules for building the register data files.
2559 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2561 * regformats/regdat.sh: Add braces to the definition of
2562 expedite_regs_${arch}.
2564 2002-02-04 Daniel Jacobowitz <drow@mvista.com>
2566 * regformats/regdef.h (struct reg): Add comment describing the
2567 requirements for offset and size fields.
2569 2002-02-04 Andreas Schwab <schwab@suse.de>
2571 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
2572 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
2574 2002-02-04 Richard Earnshaw <rearnsha@arm.com>
2576 * gdbarch.sh (copyright): Update years in generated header.
2577 (SMASH_TEXT_ADDRESS): Add rule.
2578 * gdbarch.h, gdbarch.c: Re-generate.
2579 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
2580 * dbxread.c: Likewise.
2581 * dwarfread.c: Likewise.
2582 * elfread.c: Likewise.
2583 * somread.c: Likewise.
2585 * arm-tdep.c (arm_smash_text_address): New function.
2586 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
2588 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2590 Add support for hardware watchpoints on win32 native.
2591 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
2592 CONTEXT_DEBUG_REGISTERS.
2593 (dr variable): New variable. Static array containing a local copy
2595 (debug_registers_changed): New variable. Reflects when debug registers
2596 are changed and need to be written to inferior.
2597 (debug_registers_used): New variable. Reflects when any debug register
2598 was set, used when new threads are created.
2599 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
2601 (thread_rec): Set dr array if id is the thread of current_event .
2602 (child_continue, child_resume): Change the debug registers for all
2603 threads if debug_registers_changed.
2604 (child_add_thread): Change the debug registers if debug_registers_used.
2605 * config/i386/cygwin.mh: Add use of i386-nat.o file.
2606 Link nm.h to new nm-cygwin.h file.
2607 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
2608 of hardware registers.
2610 2002-02-03 Andrew Cagney <ac131313@redhat.com>
2612 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
2613 Restore behavour broken by 2002-01-20 Andrew Cagney
2614 <ac131313@redhat.com> IEEE_FLOAT removal.
2616 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2618 * c-valprint.c (c_val_print): Pass a proper valaddr to
2619 cp_print_class_method.
2620 * valops.c (search_struct_method): If there is only one method
2621 and args is NULL, return that method.
2623 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2625 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
2626 accessing tag_name directly.
2628 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2630 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
2631 of accessing tag_name directly.
2633 2002-02-03 Daniel Jacobowitz <drow@mvista.com>
2636 * gdbtypes.c (replace_type): New function.
2637 * gdbtypes.h (replace_type): Add prototype.
2638 * stabsread.c (read_type): Use replace_type.
2640 2002-02-03 Richard Earnshaw <rearnsha@arm.com>
2642 * Makefile.in (memattr.o): Add missing dependencies rule.
2644 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2646 * breakpoint.c (break_at_finish_command): Really export.
2647 (break_at_finish_at_depth_command): Ditto.
2648 (tbreak_at_finish_command): Ditto.
2649 * hppa-tdep.c: Include completer.h.
2650 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
2651 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2653 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2655 * utils.c (do_write): New function.
2656 (error_stream): Rewrite combining the code from error_begin and
2658 (verror): Rewrite using error_stream.
2659 (error_begin): Delete function.
2661 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2663 * utils.c (error_begin): Make static.
2664 * defs.h (error_begin): Delete declaration.
2666 * linespec.c (cplusplus_error): Replace cplusplus_hint.
2667 (decode_line_1): Use cplusplus_error instead of error_begin,
2668 cplusplus_hint and return_to_top_level.
2669 * coffread.c (coff_symfile_read): Use error instead of error_begin
2670 and return_to_top_level.
2671 * infrun.c (default_skip_permanent_breakpoint): Ditto.
2673 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2675 * language.h (type_error, range_error): Make string parameter
2677 * language.c (warning_pre_print): Delete extern declaration.
2678 * dwarfread.c (warning_pre_print): Ditto.
2679 * language.c (type_error, range_error): Rewrite to use verror and
2680 vwarning instead of warning_begin.
2682 2002-02-01 Michael Snyder <msnyder@redhat.com>
2684 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
2685 (set_ignore_count): Move misplaced comment back where it belongs.
2687 2002-02-01 Andrew Cagney <ac131313@redhat.com>
2689 * command.h (NO_FUNCTION): Delete macro.
2690 * cli/cli-decode.h (NO_FUNCTION): Ditto.
2691 * top.c (execute_command): Replace NO_FUNCTION with NULL.
2692 * tracepoint.c (_initialize_tracepoint): Ditto.
2693 * cli/cli-decode.c (add_set_cmd): Ditto.
2694 * cli/cli-cmds.c (init_cli_cmds): Ditto.
2696 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
2698 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
2699 Update ``this'' pointer when calling virtual functions.
2701 2002-02-01 Michael Snyder <msnyder@redhat.com>
2703 * breakpoint.c (create_temp_exception_breakpoint): Delete.
2704 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
2706 2002-02-01 Daniel Jacobowitz <drow@mvista.com>
2708 * regformats/reg-arm.dat: New file.
2709 * regformats/reg-i386.dat: New file.
2710 * regformats/reg-ia64.dat: New file.
2711 * regformats/reg-m68k.dat: New file.
2712 * regformats/reg-mips.dat: New file.
2713 * regformats/reg-ppc.dat: New file.
2714 * regformats/reg-sh.dat: New file.
2715 * regformats/regdef.h: New file.
2716 * regformats/regdat.sh: New file.
2718 2002-02-01 Richard Earnshaw <reanrsha@arm.com>
2720 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
2721 (arm_frame_args_address, arm_frame_locals_address): New functions.
2722 (arm_frame_num_args): New function.
2723 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
2724 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
2725 (FRMA_NUM_ARGS): Call arm_frame_num_args.
2727 2002-01-31 Michael Snyder <msnyder@redhat.com>
2729 * breakpoint.c (break_at_finish_command): Export.
2730 (break_at_finish_at_depth_command): Export.
2731 (tbreak_at_finish_command): Export.
2732 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
2733 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
2734 "tbreak" commands, which are HPPA specific.
2736 * printcmd.c (disassemble_command): Remove an ancient
2737 artifact of an old merge.
2739 * symfile.h (enum overlay_debugging_state):
2740 Define enum constant values for overlay mode.
2741 * symfile.c (overlay_debugging): Use enums instead of literals.
2742 (overlay_is_mapped, overlay_auto_command,
2743 overlay_manual_command): Ditto.
2745 * breakpoint.c (insert_breakpoints, remove_breakpoint,
2746 breakpoint_here_p, breakpoint_inserted_here_p,
2747 breakpoint_thread_match, bpstat_stop_status,
2748 describe_other_breakpoints, check_duplicates, clear_command):
2749 Coding standard fixes.
2751 * target.c (target_xfer_memory): Add spaces, coding standard.
2752 (do_xfer_memory): Add missing line to trust-readonly
2753 code: check bfd SEC_READONLY flag for section.
2755 2002-01-31 Andrew Cagney <ac131313@redhat.com>
2757 * PROBLEMS: Fix typo, 5.1->5.1.1.
2759 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2761 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
2762 data symbols, since we search based on textlow and texthigh.
2763 (find_pc_sect_symtab): Likewise.
2765 2002-01-30 Andrew Cagney <ac131313@redhat.com>
2767 * defs.h (vwarning): Declare.
2768 * utils.c (vwarning): New function.
2769 (warning): Call vwarning.
2770 (warning_begin): Delete function.
2772 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
2773 the warning message.
2774 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
2777 2002-01-30 Michael Snyder <msnyder@redhat.com>
2779 * NEWS: Mention "set trust-readonly-sections" command.
2780 Mention generate-core-file command.
2782 2002-01-15 Michael Snyder <msnyder@redhat.com>
2784 * target.c: New command, "set trust-readonly-sections on".
2785 (do_xfer_memory): Honor the suggestion to trust readonly sections
2786 by reading them from the object file instead of from the target.
2787 (initialize_targets): Register command "set trust-readonly-sections".
2789 2002-01-29 Andrew Cagney <ac131313@redhat.com>
2791 * parse.c (target_map_name_to_register): Simplify, search regs and
2792 pseudo-regs using a single loop.
2794 2002-01-30 Andrew Cagney <ac131313@redhat.com>
2796 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
2798 2002-01-15 Rodney Brown <rbrown64@csc.com.au>
2800 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
2801 * config/i386/i386v42mp.mh: Add i387-nat.o .
2802 * i386v4-nat.c: Include i387-nat.h.
2803 (supply_fpregset): Use i387_supply_fsave.
2804 (fill_fpregset): Use i387_fill_fsave.
2806 2002-01-30 Richard Earnshaw <rearnsha@arm.com>
2808 * arm-tdep.c (arm_call_dummy_words): Define.
2809 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
2810 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
2811 (CALL_DUMMY_WORDS): Define.
2812 (arm_call_dummy_words): Declare.
2813 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
2814 (arm_linux_call_dummy_words): Declare.
2816 2002-01-30 Andreas Schwab <schwab@suse.de>
2818 * m68klinux-nat.c: Fix last change to use regcache_collect
2819 instead of referencing registers[] directly.
2821 2002-01-29 Andrew Cagney <ac131313@redhat.com>
2823 * parse.c (target_map_name_to_register): Delete code wrapped in
2824 #ifdef REGISTER_NAME_ALIAS_HOOK.
2826 2002-01-28 Michael Snyder <msnyder@redhat.com>
2828 * regcache.c (legacy_read_register_gen): Need to be able to
2829 read pseudo-register as well as real register.
2830 (legacy_write_register_gen): Ditto.
2832 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2834 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2835 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
2836 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
2837 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
2838 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
2839 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
2840 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
2841 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
2842 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
2843 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2844 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
2845 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
2846 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
2847 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
2848 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
2849 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
2850 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
2851 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
2852 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
2853 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
2855 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2857 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
2858 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
2859 (initialize_current_architecture): Update target_byte_order using
2860 information from BFD.
2861 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
2862 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
2864 2002-01-28 Andrew Cagney <ac131313@redhat.com>
2866 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
2867 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
2869 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
2870 #ifdef INVALID_FLOAT.
2871 * infcmd.c (do_registers_info): Ditto.
2872 * values.c (unpack_double): Ditto. Add comment.
2874 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
2875 already commented out.
2877 2002-01-26 Andreas Schwab <schwab@suse.de>
2879 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2880 * m68klinux-nat.c: Update ptrace interface for fetching/storing
2881 registers and add support for PTRACE_GETREGS.
2883 2002-01-24 Andrew Cagney <ac131313@redhat.com>
2885 GDB 5.1.1 released from 5.1 branch.
2886 * NEWS: Add 5.1.1 news.
2887 * README: Sync with 5.1 branch.
2889 2002-01-23 Fred Fish <fnf@redhat.com>
2891 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
2892 stabstring on initial malloc. Reallocing will copy it for us,
2895 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
2897 * Makefile.in (hpread_h): Delete.
2898 (HFILES_NO_SRCDIR): Remove hpread.h.
2899 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
2900 (hpread.o): Update dependencies.
2901 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
2903 * hp-psymtab-read.c: Remove file.
2904 * hp-symtab-read.c: Remove file.
2905 * hpread.h: Remove file.
2907 * hpread.c: Merge all contents of hp-psymtab-read.c,
2908 hp-symtab-read.c and hpread.h into this file, as it was prior to
2911 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
2912 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
2913 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
2914 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2916 2002-01-23 Elena Zannoni <ezannoni@redhat.com>
2918 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
2919 fill_gregset): Call gdbarch_tdep() just once, assign result to
2920 variable and use that, instead of calling the function several
2923 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2925 * configure.host: Accept sparcv9 as alias for sparc64.
2926 * configure.tgt: Likewise.
2928 2002-01-22 Kevin Buettner <kevinb@redhat.com>
2930 * solib-aix5.c (build_so_list_from_mapfile)
2931 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
2932 arguments is not reversed.
2933 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
2934 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
2936 2002-01-22 Elena Zannoni <ezannoni@redhat.com>
2938 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
2939 modified version of obsolete sh_fetch_pseudo_register.
2940 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
2941 (sh4_register_read): New function.
2942 (sh_pseudo_register_write): New function. Renamed and modified
2943 version of obsolete sh_store_pseudo_register.
2944 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
2945 (sh4_register_write): New function.
2946 (sh_gdbarch_init): Remove setting of gdbarch function
2947 fetch_pseudo_register and store_pseudo_register. Remove setting of
2948 register_convert_to_raw, register_convert_to_virtual,
2949 register_convertible.
2950 (sh_sh4_register_convertible): Delete. No longer needed. All is
2951 taken care by architecture specific functions
2952 register_read/register_write.
2953 (sh_sh4_register_convert_to_virtual): Make static.
2954 (sh_sh4_register_convert_to_raw): Ditto.
2956 2002-01-22 Andrew Cagney <ac131313@redhat.com>
2958 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
2959 (floatformat_is_nan, floatformat_mantissa): Ditto.
2961 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
2962 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
2963 builtin_type_ieee_double_little,
2964 builtin_type_ieee_double_littlebyte_bigword,
2965 builtin_type_m68881_ext, builtin_type_i960_ext,
2966 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
2967 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
2968 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
2969 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
2971 2002-01-22 Corinna Vinschen <vinschen@redhat.com>
2973 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
2974 parameter. Set frameless flag if it exists and depended of
2975 whether the scanned function is frameless or not.
2976 (xstormy16_skip_prologue): If function is frameless, return
2977 result of xstormy16_scan_prologue().
2978 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
2981 2002-01-21 Elena Zannoni <ezannoni@redhat.com>
2983 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
2984 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2985 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
2986 sh_sh4_register_byte, sh_sh4_register_raw_size,
2987 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
2988 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
2989 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
2990 sh_store_pseudo_register, sh_do_pseudo_register): Call
2991 gdbarch_tdep() just once, assign result to variable and use that,
2992 instead of calling the function several times.
2994 2002-01-20 Mark Kettenis <kettenis@gnu.org>
2996 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
2997 macros instead of LAST_FPU_CTRL_REGNUM.
2998 (store_register): Likewise.
3000 2002-01-21 Jim Blandy <jimb@redhat.com>
3002 * infcmd.c (run_command): Check that the `exec' target layer's BFD
3003 is up-to-date before running the program, not just when a program
3006 2002-01-21 Fred Fish <fnf@redhat.com>
3008 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
3009 when we have found all instructions we are looking for.
3011 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
3013 * arm-tdep.c (arm_register_name): New function.
3014 (arm_registers_names): Make static.
3015 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
3016 (arm_register_name): Declare.
3017 (REGISTER_NAME): Use it.
3019 2002-01-21 Richard Earnshaw <rearnsha@arm.com>
3020 Kevin Buettner <kevinb@redhat.com>
3022 Convert arm targets to new FRAME interface.
3023 * arm-tdep.c (struct frame_extra_info): Remove fsr.
3024 (arm_frame_find_save_regs): Delete.
3025 (arm_frame_init_saved_regs): New.
3026 (arm_init_extra_frame_info): Alloacte saved_regs as required.
3027 Allocate extra_info as required. Convert all uses of fsr.regs
3028 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
3030 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
3031 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
3032 (check_prologue_cache, save_prologue_cache): Likewise.
3033 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
3034 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
3035 (FRAME_FIND_SAVED_REGS): Delete.
3036 (arm_frame_find_saved_regs): Delete prototype.
3037 (arm_frame_init_saved_regs): New prototype.
3038 (FRAME_INIT_SAVED_REGS): Define.
3040 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3042 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
3044 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3046 From Jeff Law <law@redhat.com>:
3047 * infttrace.c: Include <sys/pstat.h>.
3048 (child_pid_to_exec_file): Revamp. Use pstat call to get the
3049 exec file if the ttrace equivalent fails.
3051 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3053 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
3054 (closeLogFile): Ditto.
3056 2002-01-20 Michael Chastain <mec@shout.net>
3058 * top.c (print_gdb_version): Bump copyright year to 2002.
3060 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3062 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
3063 Zannoni and Eli Zaretskii.
3065 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3067 * buildsym.c: Update copyright years.
3068 * c-typeprint.c: Likewise.
3069 * dwarf2read.c: Likewise.
3070 * f-typeprint.c: Likewise.
3071 * gdbtypes.c: Likewise.
3072 * gdbtypes.h: Likewise.
3073 * hp-symtab-read.c: Likewise.
3074 * hpread.c: Likewise.
3075 * mdebugread.c: Likewise.
3076 * p-typeprint.c: Likewise.
3078 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3080 * remote-sim.c (gdbsim_open): Simplify code testing the macro
3081 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
3082 byte-order selectable.
3083 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
3084 * arch-utils.c: Ditto.
3085 (set_endian): Ditto.
3086 (set_endian_from_file): Ditto.
3087 * gdbserver/low-sim.c (create_inferior): Ditto.
3088 * gdbarch.sh: Ditto.
3089 * gdbarch.h: Re-generate.
3090 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3091 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
3092 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
3093 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3094 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3095 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3096 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3097 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
3099 * config/mips/tm-wince.h: Remove #undef of macro
3100 TARGET_BYTE_ORDER_SELECTABLE.
3101 * config/sh/tm-wince.h: Ditto.
3103 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3105 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
3106 member function fields. Add accessor macro
3107 TYPE_FN_FIELD_ARTIFICIAL.
3108 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
3109 * c-typeprint.c (c_type_print_base): Skip artificial member
3112 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3114 * f-typeprint.c: Delete unused function f_type_print_args.
3115 * p-typeprint.c: Delete unused function pascal_type_print_args.
3117 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3119 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
3120 comment. Add ``artificial'' to ``union field_location''.
3122 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
3124 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
3125 * mdebugread.c (parse_symbol): Likewise.
3126 * stabsread.c (define_symbol): Likewise.
3127 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
3128 initializing TYPE_FIELD_BITPOS to n (obsolete).
3129 (hpread_doc_function_type): Likewise.
3130 * hpread.c (hpread_function_type): Likewise.
3132 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3134 * configure.in (host_makefile_frag): Only require a host makefile
3135 fragment when a native build.
3136 * configure: Re-generate.
3138 2002-01-20 Andrew Cagney <ac131313@redhat.com>
3140 * doublest.h (floatformat_from_type): Declare.
3141 * doublest.c (floatformat_from_type): New function.
3142 (convert_typed_floating): Use.
3144 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
3145 call to function floatformat_from_type.
3147 * gdbarch.sh (IEEE_FLOAT): Delete.
3148 * gdbarch.h, gdbarch.c: Re-generate.
3149 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
3150 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
3151 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
3152 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
3153 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
3154 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
3155 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
3156 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
3157 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
3158 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
3159 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
3160 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
3162 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
3163 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
3164 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3165 * sh-tdep.c (sh_gdbarch_init): Ditto.
3166 * mips-tdep.c (mips_gdbarch_init): Ditto.
3167 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3168 * cris-tdep.c (cris_gdbarch_init): Ditto.
3170 2002-01-20 Jiri Smid <smid@suse.cz>
3172 * configure.host, configure.tgt: Support x86-64.
3173 * NEWS: Note new target x86-64.
3175 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
3176 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
3177 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
3178 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
3179 x86-64-linux-nat.o): Fix dependencies.
3181 2002-01-19 Andrew Cagney <ac131313@redhat.com>
3183 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
3184 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
3185 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
3186 * config/sparc/xm-sun4os4.h: Delete file.
3187 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
3189 2002-01-19 Andrew Cagney <ac131313@redhat.com>
3191 * config/sparc/sparclynx.mh (XM_FILE): Delete.
3192 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
3193 * config/m68k/m68klynx.mh (XM_FILE): Delete.
3194 * config/i386/i386lynx.mh (XM_FILE): Delete.
3195 * config/rs6000/xm-rs6000ly.h: Delete file.
3196 * config/sparc/xm-sparclynx.h: Delete file.
3197 * config/m68k/xm-m68klynx.h: Delete file.
3198 * config/i386/xm-i386lynx.h: Delete file.
3199 * config/xm-lynx.h: Delete file.
3200 * config/djgpp/fnchange.lst: Update.
3202 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3204 * alpha-tdep.c (alpha_register_byte): New function.
3205 (alpha_register_raw_size): Ditto.
3206 (alpha_register_virtual_size): Ditto.
3207 (alpha_skip_prologue_internal): Renamed from
3208 alpha_skip_prologue.
3209 (alpha_skip_prologue): New version that calls
3210 alpha_skip_prologue_internal.
3211 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
3212 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
3213 second argument from alpha_skip_prologue.
3214 (REGISTER_BYTE): Use alpha_register_byte.
3215 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
3216 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
3217 (FRAMELESS_FUNCTION_INVOCATION): Use
3218 generic_frameless_function_invocation_not.
3219 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
3220 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
3222 2002-01-19 Andrew Cagney <ac131313@redhat.com>
3224 * config/mips/xm-news-mips.h: Delete file.
3225 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
3227 * config/m88k/xm-m88k.h: Delete file.
3228 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
3229 * config/m88k/xm-delta88v4.h: Ditto.
3230 * config/m88k/xm-delta88.h: Ditto.
3232 * config/alpha/xm-fbsd.h: Delete file.
3233 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
3235 * config/sparc/xm-sparc.h: Delete file.
3236 * Makefile.in (xm-sun4os4.h): Delete dependency.
3237 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
3238 * config/sparc/xm-sun4os4.h: Ditto.
3239 * config/sparc/xm-linux.h: Ditto.
3241 * config/i386/xm-windows.h: Delete file.
3243 2002-01-19 Andrew Cagney <ac131313@redhat.com>
3245 * utils.c: Include <sys/param.h> for MAXPATHLEN.
3246 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
3248 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3250 * alpha-tdep.c (alpha_call_dummy_words): New.
3251 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
3252 (CALL_DUMMY_P): Define.
3253 (CALL_DUMMY_WORDS): Define.
3254 (SIZEOF_CALL_DUMMY_WORDS): Define.
3256 2002-01-19 Per Bothner <per@bothner.com>
3258 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
3259 isn't NULL, which can happen with some gcj-3.x-produced code.
3261 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3263 * alpha-tdep.c (alpha_register_virtual_type): New function.
3264 (alpha_init_frame_pc_first): Ditto.
3265 (alpha_fix_call_dummy): Ditto.
3266 (alpha_store_struct_return): Ditto.
3267 (alpha_extract_struct_value_address): Ditto.
3268 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
3269 alpha_register_virtual_type.
3270 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
3271 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
3272 alpha_extract_struct_value_address.
3273 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
3274 (INIT_FRAME_PC): Use init_frame_pc_noop.
3275 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
3277 2002-01-19 Mark Kettenis <kettenis@gnu.org>
3279 * i386gnu-nat.c: Include "i386-tdep.h".
3280 (fetch_fpregs): Simplify code dealing with uninitialized floating
3281 point states such that it doesn't require FP7_REGNUM.
3283 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3285 * alpha-tdep.c (frame_extra_info): New.
3286 (alpha_find_saved_regs): Make static. Use
3288 (alpha_frame_init_saved_regs): New function.
3289 (alpha_frame_saved_pc): Use frame->extra_info.
3290 (temp_saved_regs): Don't declare as struct frame_saved_regs.
3291 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
3292 (init_extra_frame_info): Rename to...
3293 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
3294 (alpha_print_extra_frame_info): New function.
3295 (alpha_frame_locals_address): Ditto.
3296 (alpha_frame_args_address): Ditto.
3297 (alpha_pop_frame): Use frame->extra_info.
3298 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
3299 alpha_frame_args_address.
3300 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
3301 (alpha_find_saved_regs): Remove prototype.
3302 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
3303 (EXTRA_FRAME_INFO): Remove.
3304 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
3305 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
3307 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3309 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
3310 (alpha_cannot_fetch_register): Ditto.
3311 (alpha_cannot_store_register): Ditto.
3312 (alpha_register_convertible): Ditto.
3313 (alpha_use_struct_convention): Ditto.
3314 * config/alpha/tm-alpha.h: Update copyright years.
3315 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
3316 (INNER_THAN): Use core_addr_lessthan.
3317 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
3318 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
3319 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
3320 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
3321 (FRAME_CHAIN): Remove unnecessary cast.
3323 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3325 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
3328 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3330 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
3331 * monitor.c, remote-array.c, remote-bug.c: Ditto.
3332 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
3333 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
3334 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
3335 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
3336 * x86-64-linux-nat.c: Ditto.
3338 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3340 * alpha-tdep.c (alpha_register_name): New function.
3341 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
3342 (REGISTER_NAME): Define.
3344 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3346 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
3348 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3350 * alpha-tdep.c: Update copyright years.
3351 (alpha_next_pc): New function.
3352 (alpha_software_single_step): Ditto.
3353 * config/alpha/tm-alpha.h: Add prototype for
3354 alpha_software_single_step.
3356 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3358 * alphabsd-nat.c: Update copyright years.
3359 (fill_gregset): Use regcache_collect.
3360 (fill_fpregset): Likewise.
3361 (fetch_inferior_registers): Only fetch integer registers
3362 if requested to do so.
3363 (store_inferior_registers): Only store integer registers
3364 if requested to do so.
3366 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3368 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
3369 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
3370 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
3371 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
3372 * config/alpha/fbsd.mh (XDEPFILES): Delete.
3373 * config/arm/linux.mh (XDEPFILES): Delete.
3374 * config/arm/nbsd.mh (XDEPFILES): Delete.
3375 * config/i386/i386dgux.mh (XDEPFILES): Delete.
3376 * config/i386/i386sol2.mh (XDEPFILES): Delete.
3377 * config/i386/i386m3.mh (XDEPFILES): Delete.
3378 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
3379 * config/i386/i386gnu.mh (XDEPFILES): Delete.
3380 * config/i386/fbsd.mh (XDEPFILES): Delete.
3381 * config/i386/i386bsd.mh (XDEPFILES): Delete.
3382 * config/i386/i386sco5.mh (XDEPFILES): Delete.
3383 * config/i386/i386v4.mh (XDEPFILES): Delete.
3384 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
3385 * config/i386/i386sco4.mh (XDEPFILES): Delete.
3386 * config/i386/i386aix.mh (XDEPFILES): Delete.
3387 * config/i386/go32.mh (XDEPFILES): Delete.
3388 * config/i386/cygwin.mh (XDEPFILES): Delete.
3389 * config/i386/i386lynx.mh (XDEPFILES): Delete.
3390 * config/i386/i386mach.mh (XDEPFILES): Delete.
3391 * config/i386/i386v32.mh (XDEPFILES): Delete.
3392 * config/i386/linux.mh (XDEPFILES): Delete.
3393 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
3394 * config/i386/ncr3000.mh (XDEPFILES): Delete.
3395 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
3396 * config/i386/i386sco.mh (XDEPFILES): Delete.
3397 * config/i386/i386v.mh (XDEPFILES): Delete.
3398 * config/i386/nbsd.mh (XDEPFILES): Delete.
3399 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
3400 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
3401 * config/i386/symmetry.mh (XDEPFILES): Delete.
3402 * config/i386/obsd.mh (XDEPFILES): Delete.
3403 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
3404 * config/ia64/linux.mh (XDEPFILES): Delete.
3405 * config/ia64/aix.mh (XDEPFILES): Delete.
3406 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
3407 * config/m68k/dpx2.mh (XDEPFILES): Delete.
3408 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
3409 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
3410 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
3411 * config/m68k/linux.mh (XDEPFILES): Delete.
3412 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
3413 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
3414 * config/m68k/nbsd.mh (XDEPFILES): Delete.
3415 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
3416 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
3417 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
3418 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
3419 * config/m88k/delta88.mh (XDEPFILES): Delete.
3420 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
3421 * config/m88k/m88k.mh (XDEPFILES): Delete.
3422 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
3423 * config/mips/linux.mh (XDEPFILES): Delete.
3424 * config/mips/irix6.mh (XDEPFILES): Delete.
3425 * config/mips/irix5.mh (XDEPFILES): Delete.
3426 * config/mips/irix4.mh (XDEPFILES): Delete.
3427 * config/mips/irix3.mh (XDEPFILES): Delete.
3428 * config/mips/decstation.mh (XDEPFILES): Delete.
3429 * config/mips/mipsm3.mh (XDEPFILES): Delete.
3430 (NATDEPFILES): Move core-aout.o to here.
3431 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
3432 * config/pa/hpux1020.mh (XDEPFILES): Delete.
3433 * config/pa/hppabsd.mh (XDEPFILES): Delete.
3434 * config/pa/hppahpux.mh (XDEPFILES): Delete.
3435 * config/pa/hpux11w.mh (XDEPFILES): Delete.
3436 * config/pa/hppaosf.mh (XDEPFILES): Delete.
3437 * config/pa/hpux11.mh (XDEPFILES): Delete.
3438 * config/powerpc/aix.mh (XDEPFILES): Delete.
3439 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
3440 * config/powerpc/linux.mh (XDEPFILES): Delete.
3441 * config/romp/rtbsd.mh: Rename XDEPFILES.
3442 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
3443 * config/rs6000/aix4.mh (XDEPFILES): Delete.
3444 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
3445 * config/s390/s390.mh (XDEPFILES): Delete.
3446 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
3447 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
3448 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
3449 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
3450 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
3451 * config/sparc/nbsd.mh (XDEPFILES): Delete.
3452 * config/sparc/linux.mh (XDEPFILES): Delete.
3453 * config/vax/vaxult.mh (XDEPFILES): Delete.
3454 * config/vax/vaxult2.mh (XDEPFILES): Delete.
3455 * Makefile.in (DEPFILES): Remove XDEPFILES.
3457 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3459 * utils.c (internal_verror): Fix comments, default is yes not no.
3460 Update queries to match. Default to quit and dump core.
3462 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3464 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
3466 * defs.h, event-top.c, gdbcmd.h: Ditto.
3467 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
3468 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
3469 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
3470 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
3471 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
3472 * mi/mi-main.c:Ditto.
3474 * stack.c, symfile.c: Update copyright.
3476 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
3478 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
3479 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
3480 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
3481 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
3483 2002-01-17 Daniel Jacobowitz <drow@mvista.com>
3485 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
3486 * gdbserver/low-lynx.c (myattach): Likewise.
3487 * gdbserver/low-nbsd.c (myattach): Likewise.
3488 * gdbserver/low-sim.c (myattach): Likewise.
3489 * gdbserver/low-sparc.c (myattach): Likewise.
3490 * gdbserver/low-sun3.c (myattach): Likewise.
3492 * gdbserver/low-linux.c (myattach): New function.
3494 * gdbserver/server.c (attach_inferior): New function.
3495 (main): Handle "--attach".
3497 2002-01-16 Andrew Cagney <ac131313@redhat.com>
3499 * MAINTAINERS (language support): Daniel Jacobwitz is C++
3502 2002-01-15 Daniel Jacobowitz <drow@mvista.com>
3504 * c-typeprint.c (is_type_conversion_operator): Add additional
3505 check for non-conversion operators.
3507 2002-01-15 Michael Snyder <msnyder@redhat.com>
3509 * linux-proc.c: Add "info proc" command, a la procfs.c.
3510 (read_mapping): New function, abstract and re-use code.
3511 (linux_find_memory_regions): Use new func read_mapping.
3512 (linux_info_proc_cmd): New function, implement "info proc".
3513 (_initialize_linux_proc): Add new command "info proc".
3515 2002-01-15 Michael Snyder <msnyder@redhat.com>
3517 * symfile.c (generic_load): Use bfd_map_over_sections method
3518 instead of manipulating bfd structure members directly.
3519 (add_section_size_callback): New function, bfd sections callback
3520 used by generic_load.
3521 (load_sections_callback): New function, bfd sections callback
3522 used by generic_load.
3524 2002-01-15 Elena Zannoni <ezannoni@redhat.com>
3526 [Based on work by Jim Blandy]
3527 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
3528 (builtin_type_vec128): Export.
3529 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
3531 (builtin_type_vec128): New builtin type for 128 bit vector
3533 (build_gdbtypes): Initialize builtin_type_v16qi and
3534 builtin_type_v8hi. Create the vec128 register builtin type
3536 (build_builtin_type_vec128): New function.
3537 (_initialize_gdbtypes): Register builtin_type_v16qi and
3538 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
3539 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
3540 AltiVec register to new builtin type.
3542 2001-01-15 Daniel Jacobowitz <drow@mvista.com>
3544 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
3547 2002-01-14 Andrew Cagney <ac131313@redhat.com>
3549 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
3550 CLEAN_UP_REGISTER_VALUE.
3551 * regcache.c (supply_register): Update only call.
3553 2002-01-14 Andrew Cagney <ac131313@redhat.com>
3555 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3556 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3557 a29k-*-vxworks* targets as obsolete.
3559 2002-01-14 Michael Snyder <msnyder@redhat.com>
3561 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
3562 until we can resolve portability issues.
3563 * gregset.h: Remove references to fpxregs.
3564 * gcore.c (gcore_command): Initialize note_sec to NULL.
3566 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3568 * signals.c (target_signal_to_name): Rewrite. Only use
3569 signals[].name when in bounds and non-NULL.
3571 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3573 From Petr Ledvina <ledvinap@kae.zcu.cz>:
3574 * signals.c (target_signal_to_name): Verify that SIG is within the
3575 bounds of the signals array.
3577 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3579 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
3581 2002-01-13 Keith Seitz <keiths@redhat.com>
3583 * stack.c (print_frame_info_base): Print the frame's pc
3584 only if when print_frame_info_listing_hook is not defined.
3586 2002-01-13 Keith Seitz <keiths@redhat.com>
3588 * varobj.c (varobj_set_value): Make sure that there were no
3589 errors evaluating the object before attempting to set its
3591 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
3592 so this offset adjustment is no longer necessary.
3593 (create_child): Don't set the error flag if the child is
3595 (value_of_child): If value_fetch_lazy fails, return NULL
3596 so that callers will be notified that an error occurred.
3597 (c_value_of_variable): Delay check of variable's validity
3598 until later. We actually want all structs and unions to have
3600 Do not return "???" for variables which could not be evaluated.
3601 This error condition must be returned to the caller so that it
3602 can get the error condition from gdb.
3603 (cplus_name_of_child): Adjust index for vptr before figuring
3604 out the name of the child.
3605 (cplus_value_of_child): If a child's (real) parent is not valid,
3606 don't even bother trying to give a value for it. Just return
3607 an error. Change all instances in this function.
3608 (cplus_type_of_child): If our parent is one of the "fake"
3609 parents, we need to get at the type of the real parent, and
3610 derive the child's true type using this information.
3612 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3614 From 2002-01-09 John Marshall <johnm@falch.net>:
3615 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
3616 sources.redhat.com, and tweak some related URLs which had
3617 suffered from linkrot.
3619 2002-01-13 Andrew Cagney <ac131313@redhat.com>
3622 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
3623 structures passed in registers.
3625 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
3627 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
3628 white space which prevented compilation. Reported by DSK
3629 <dsk@student.unsw.edu.au>.
3631 2002-01-11 Michael Snyder <msnyder@redhat.com>
3633 * symfile.c (build_section_addr_info_from_section_tab):
3634 Use bfd access method instead of manipulating bfd directly.
3635 (syms_from_objfile): Ditto.
3636 (simple_overlay_update_1): Ditto.
3637 (simple_overlay_update): Ditto.
3638 (generic_load): Ditto.
3639 (overlay_unmapped_address): FIXME comment, bfd access methods.
3640 (sections_overlap): FIXME comment, bfd access methods.
3641 (pc_in_mapped_range): FIXME comment, bfd access methods.
3642 (pc_in_unmapped_range): FIXME comment, bfd access methods.
3643 (section_is_mapped): FIXME comment, bfd access methods.
3644 (section_is_overlay): FIXME comment, bfd access methods.
3646 * symfile.c (generic_load): Whitespace and long line cleanups.
3647 Remove duplicate variable, change several local variables to
3648 more appropriate data types.
3649 (print_transfer_performance): Use %lu instead of %ld for ulongs.
3651 2002-01-12 Andrew Cagney <ac131313@redhat.com>
3654 * language.c (longest_local_hex_string_custom): Use phex_nz to
3655 convert NUM to a hex string.
3657 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
3659 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
3661 Update Copyright year.
3663 2002-01-12 Andrew Cagney <ac131313@redhat.com>
3665 * language.c (longest_raw_hex_string): Delete unused function.
3667 2002-01-11 Petr Sorfa <petrs@caldera.com>
3669 * MAINTAINERS (write-after-approval): Add myself.
3670 * dwarf2read.c (read_tag_string_type): Handling of
3672 (read_tag_string_type): FORTRAN fix to prevent propagation of
3674 (set_cu_language): Handling of DW_LANG_Fortran95
3676 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
3678 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
3679 GETPID(inferior_ptid).
3680 (store_inferior_registers): Likewise.
3682 2002-01-10 Jason Merrill <jason@redhat.com>
3684 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
3687 2002-01-10 Andrew Cagney <ac131313@redhat.com>
3689 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
3690 and bfd/elf32-sh-nbsd.c.
3692 2002-01-10 Michael Snyder <msnyder@redhat.com>
3694 * NEWS: Mention --pid and corefile/proc-id behavior change.
3696 * Makefile.in: Add rules for gcore.o and linux-proc.o.
3697 * gcore.c: Include cli/cli-decode.h instead of command.h.
3699 * main.c (captured_main): Add new command line option "--pid".
3700 If the second command line argument (following the symbol-file)
3701 begins with a digit, try to attach to it before trying to open
3703 (print_gdb_help): Document the "--pid" argument.
3705 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
3707 * completer.c (command_completer): New function.
3709 * completer.h <command_completer>: Add prototype.
3711 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
3712 completer for the "help" command.
3714 2002-01-09 Jason Merrill <jason@redhat.com>
3716 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
3718 2002-01-09 Michael Snyder <msnyder@redhat.com>
3720 * i386-linux-nat.c (fill_fpxregset): Make global.
3721 (store_fpxregset): Ditto.
3723 * gregset.h (gdb_fpxregset_t): Define.
3724 (supply_fpxregset): Prototype.
3725 (fill_fpxregset): Prototype.
3727 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
3729 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
3731 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
3732 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
3733 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
3735 2002-01-09 Andrew Cagney <ac131313@redhat.com>
3737 * MAINTAINERS: Update target maintainer rules so that any
3738 Maintainer can approve a tested patch for a maintenance-only
3741 2002-01-09 Richard Earnshaw <rearnsha@arm.com>
3743 * MAINTAINERS (write-after-approval): Add myself.
3745 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
3748 2002-01-08 Michael Snyder <msnyder@redhat.com>
3750 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
3751 real name of the executable, rather than the /proc name.
3753 2002-01-03 Michael Snyder <msnyder@redhat.com>
3755 Implement a "generate-core-file" command in gdb, save target state.
3756 * gcore.c: New file. Implement new command 'generate-core-file'.
3757 Save a corefile image of the current state of the inferior.
3758 * linux-proc.c: Add linux-specific code for saving corefiles.
3759 * target.h (struct target_ops): Add new target vectors for saving
3760 corefiles; to_find_memory_regions and to_make_corefile_notes.
3761 (target_find_memory_regions): New macro.
3762 (target_make_corefile_notes): New macro.
3763 * target.c (update_current_target): Inherit new target methods.
3764 (dummy_find_memory_regions): New place-holder method.
3765 (dummy_make_corefile_notes): New place-holder method.
3766 (init_dummy_target): Initialize new dummy target vectors.
3767 * exec.c (exec_set_find_memory_regions): New function.
3768 Allow the exec_ops vector for memory regions to be taken over.
3769 (exec_make_note_section): New function, target vector method.
3770 * defs.h (exec_set_find_memory_regions): Export prototype.
3771 * procfs.c (proc_find_memory_regions): New function, corefile method.
3772 (procfs_make_note_section): New function, corefile method.
3773 (init_procfs_ops): Set new target vector pointers.
3774 (find_memory_regions_callback): New function.
3775 (procfs_do_thread_registers): New function.
3776 (procfs_corefile_thread_callback): New function.
3777 * sol-thread.c (sol_find_memory_regions): New function.
3778 (sol_make_note_section): New function.
3779 (init_sol_thread_ops): Initialize new target vectors.
3780 * inftarg.c (inftarg_set_find_memory_regions): New function.
3781 Allow to_find_memory_regions vector to be taken over.
3782 (inftarg_set_make_corefile_notes): New function.
3783 Allow to_make_corefile_notes vector to be taken over.
3784 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
3785 interface layer if not target_has_execution (may be a corefile).
3786 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
3787 * config/sparc/sun4sol2.mh: Ditto.
3788 * config/alpha/alpha-linux.mh: Ditto.
3789 * config/arm/linux.mh: Ditto.
3790 * config/i386/x86-64linux.mh: Ditto.
3791 * config/ia64/linux.mh: Ditto.
3792 * config/m68k/linux.mh: Ditto.
3793 * config/mips/linux.mh: Ditto.
3794 * config/powerpc/linux.mh: Ditto.
3795 * config/sparc/linux.mh: Ditto.
3797 2002-01-07 Michael Snyder <msnyder@redhat.com>
3799 * arm-linux-nat.c: Remove references to regcache.c internal data
3800 (registers[] and register_valid[]).
3802 2002-01-07 Michael Snyder <msnyder@redhat.com>
3804 * linux-proc.c: New file. Implement child_pid_to_exec_file,
3805 so that attaching to a pid will automatically read the process's
3806 symbol file and shlibs.
3807 * Makefile.in: Add rule for linux-proc.o.
3808 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
3809 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
3810 * config/arm/linux.mh: Ditto.
3811 * config/i386/linux.mh: Ditto.
3812 * config/i386/x86-64linux.mh: Ditto.
3813 * config/ia64/linux.mh: Ditto.
3814 * config/m68k/linux.mh: Ditto.
3815 * config/mips/linux.mh: Ditto.
3816 * config/powerpc/linux.mh: Ditto.
3817 * config/sparc/linux.mh: Ditto.
3819 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
3821 * win32-nat.c: Add i386-tdep.h dependency.
3823 2002-01-07 Michael Snyder <msnyder@redhat.com>
3825 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
3826 instead of bfd_get_arch_size. Don't bail out just because
3827 there's no exec_bfd.
3829 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
3830 * p-valprint.c (pascal_object_print_value): Ditto.
3831 * somread.c (som_symtab_read): Ditto.
3832 * symfile.c (simple_free_overlay_region_table): Ditto.
3833 * valops.c (value_assign): Ditto.
3835 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
3836 use tilde_expand and strerror for opening save-tracepoints file.
3838 * thread-db.c (thread_db_new_objfile): Indendation fix.
3840 * infptrace.c (GDB_MAX_ALLOCA): New define.
3841 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
3842 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
3843 can be overridden with whatever value is appropriate to the host).
3844 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
3845 alloca to allocate potentially large buffer.
3846 * rs6000-nat.c (child_xfer_memory): Ditto.
3847 * symm-nat.c (child_xfer_memory): Ditto.
3848 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
3850 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
3852 From Nick Clifton <nickc@redhat.com>
3853 * d10v-tdep.c: Set STACK_START to 0x200bffe.
3855 2002-01-07 Michael Snyder <msnyder@redhat.com>
3857 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
3858 Don't use exec_bfd if it's NULL.
3860 2002-01-06 Mark Kettenis <kettenis@gnu.org>
3862 * valops.c (value_arg_coerce): Fix formatting.
3864 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3866 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
3869 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3871 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
3872 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
3873 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
3874 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
3875 z8k-coff have not been multi-arched. Update z8k-coff build
3878 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3880 * MAINTAINERS: Mark a29k target as obsolete.
3881 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
3882 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
3884 * NEWS: Note that a29k targets are obsolete.
3885 * a29k-tdep.c: Mark as obsolete.
3886 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3887 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3888 a29k-*-vxworks* targets as obsolete.
3889 * remote-adapt.c: Obsolete.
3890 * remote-eb.c: Obsolete.
3891 * remote-mm.c: Obsolete.
3892 * remote-udi.c: Obsolete.
3893 * config/a29k/a29k-udi.mt: Obsolete.
3894 * config/a29k/a29k.mt: Obsolete.
3895 * config/a29k/tm-a29k.h: Obsolete.
3896 * config/a29k/tm-vx29k.h: Obsolete.
3897 * config/a29k/vx29k.mt: Obsolete.
3899 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3901 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
3902 with BFD_ENDIAN_BIG.
3904 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3906 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
3907 * configure, config.in: Re-generate.
3908 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
3909 * defs.h: Do not include <endian.h>.
3911 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
3913 * acconfig.h (HAVE_PT_GETXMMREGS): New.
3914 * config.in: Regenerate.
3915 * configure.in: Update copyright years.
3916 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
3917 * configure: Regenerate.
3918 * i386bsd-nat.c: Update copyright years.
3919 (fill_gregset): Use regcache_collect.
3920 (fetch_inferior_registers): Only fetch integer registers
3921 if requested to do so. Add support for XMM registers
3922 using PT_GETXMMREGS.
3923 (store_inferior_registers): Only store integer registers
3924 if requested to do so. Add support for XMM registers
3925 using PT_SETXMMREGS.
3926 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
3927 (store_inferior_registers): Remove.
3928 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
3929 (fetch_elfcore_registers): New function.
3930 (i386nbsd_elfcore_fns): New.
3931 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
3932 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
3934 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3935 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
3936 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
3937 * config/i386/tm-nbsd.h: Update copyright years.
3938 (HAVE_SSE_REGS): Define.
3939 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
3940 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
3941 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
3942 (SIGCONTEXT_PC_OFFSET): Remove.
3943 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
3945 2002-01-05 Andrew Cagney <ac131313@redhat.com>
3947 * configure.tgt: Remove powerpc-*-macos* target.
3948 * config/m68k/xm-mpw.h: Delete file.
3949 * config/xm-mpw.h: Delete file.
3950 * ser-mac.c: Delete file.
3951 * mpw-make.sed: Delete file.
3952 * mpw-config.in: Delete file.
3953 * mac-xdep.c: Delete file.
3954 * mac-gdb.r: Delete file.
3955 * mac-defs.h: Delete file.
3956 * mac-nat.c: Delete file.
3957 * config/powerpc/macos.mh: Delete file.
3958 * config/powerpc/macos.mt: Delete file.
3959 * config/powerpc/nm-macos.h: Delete file.
3960 * config/powerpc/tm-macos.h: Delete file.
3961 * source.c (openp, open_source_file): Remove obsolete code.
3962 * top.c (gdb_readline): Ditto.
3963 * utils.c (query): Ditto.
3964 * event-top.c (display_gdb_prompt): Ditto.
3965 * Makefile.in (ser-mac.o): Delete obsolete target.
3968 2002-01-04 Andrew Cagney <ac131313@redhat.com>
3970 * defs.h (BIG_ENDIAN): Delete macro definition.
3971 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
3972 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
3973 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
3974 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3975 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
3976 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
3977 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
3978 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
3979 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
3980 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
3981 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
3982 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
3983 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3984 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3985 * gdbarch.c: Re-generate.
3987 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
3989 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
3992 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3994 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
3996 2002-01-04 Andrew Cagney <ac131313@redhat.com>
3998 * value.h (value_ptr): Delete typedef.
4000 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4002 * i386nbsd-nat.c: Update copyright years.
4003 Include i386-tdep.h.
4005 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
4007 * stabsread.c: Update copyright years.
4009 From Debashis Mahata <debashis.mahata@wipro.com>:
4010 (read_struct_fields): Deal with Sun C compiler erroneous stab
4011 output for structs and unions.
4014 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
4016 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
4019 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
4021 * cp-abi.c: Fix whitespace.
4022 (baseclass_offset): New wrapper function.
4023 * cp-abi.h (baseclass_offset): Add prototype.
4024 (struct cp_abi_ops): Add baseclass_offset pointer.
4026 * valops.c (vb_match): Move to...
4027 * gnu-v2-abi.c (vb_match): here.
4028 * valops.c (baseclass_offset): Move to...
4029 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
4031 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
4033 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
4034 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
4035 * hpacc-abi.c (init_hpacc_ops): Likewise.
4037 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
4039 * valops.c (find_overload_match): Accept obj as a
4040 reference parameter. Update it before returning.
4041 * value.h (find_overload_match): Update prototype.
4042 * eval.c (evaluate_subexp_standard): Pass object to
4043 find_overload_match by reference.
4045 2002-01-03 Andrew Cagney <ac131313@redhat.com>
4047 * valarith.c: Replace value_ptr with struct value pointer. Remove
4048 register attribute from value declarations.
4051 * scm-lang.c (scm_lookup_name): Ditto.
4053 2002-01-03 Michael Snyder <msnyder@redhat.com>
4055 Abstract the functionality of iterating over mapped memory
4056 regions into a general purpose iterator function.
4057 * procfs.c (iterate_over_mappings): New function, general purpose
4058 iterator for memory sections.
4059 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
4060 (solib_mappings_callback): New function, callback for above.
4061 (info_proc_mappings): Reimpliment using iterate_over_mappings.
4062 (info_mappings_callback): New function, callback for above.
4064 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
4066 2002-01-01 Mark Kettenis <kettenis@gnu.org>
4068 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
4069 * i386-tdep.c: Include "elf-bfd.h".
4070 (process_note_abi_tag_sections): New function.
4071 (i386_gdbarch_init): Add code to recognize various OS/ABI
4074 * maint.c (_initialize_maint_cmds): Add missing \ in
4077 For older changes see ChangeLog-2001
4083 version-control: never