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