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