* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
a48442a0
RE
12002-02-20 Richard Earnshaw <rearnsha@arm.com>
2
3 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
4 is defined.
5 * sparc-tdep.c (get_longjmp_target): Likewise.
6
fe419ffc
RE
72002-02-20 Richard Earnshaw <rearnsha@arm.com>
8
9 * News: Add news about ARM and Multi-arch. Mention the new target
10 arm*-*-netbsd*.
11
5832ed7e
JB
122002-02-19 Jim Blandy <jimb@redhat.com>
13
14 * stabsread.c (error_type_complaint): Improve error message.
15
84563040
DJ
162002-02-19 Daniel Jacobowitz <drow@mvista.com>
17
18 * gdbserver/README: Update documentation.
19 * gdbserver/configure.in: Update configury to match documentation.
20 * gdbserver/Makefile.in: Likewise.
21 * gdbserver/configure: Regenerated.
22 * gdbserver/aclocal.m4: New file, generated by aclocal.
23 * gdbserver/config.in: New file, generated by autoheader.
24
375fd65b
RE
252002-02-19 Richard Earnshaw <rearnsha@arm.com>
26
27 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
28 armnbsd-nat.c.
29
08216dd7
RE
302002-02-19 Richard Earnshaw <rearnsha@arm.com>
31
32 * arm-tdep.h (enum arm_float_model): New enum.
33 (struct gdbarch_tdep): Add fp_model.
34 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
35 up floating-point conversions until we know the floating-point model
36 in use by the inferior. Don't complain about being unable to
37 determine the ABI of the inferior when we don't have one.
38 (arm_extract_return_value): Support different floating-point models.
39 (arm_store_return_value): Likewise.
40 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
41 ARM_FLOAT_SOFT.
42 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
43
65d6d66a
PS
442002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
45
46 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
47 of ``current_gdbarch''.
48
47221191
RE
492002-02-19 Richard Earnshaw <rearnsha@arm.com>
50
51 * armnbsd-nat.c : ANSIfy all function declarations.
52 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
53 (fetch_inferior_registers): Re-implement in terms of above.
54 (store_register, store_regs, store_fp_register, store_fp_regs): New.
55 (store_inferior_registers): Re-implement in terms of above.
56
fdf39c9a
RE
572002-02-19 Richard Earnshaw <rearnsha@arm.com>
58
59 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
60 kernel.
61 * arm-linux-tdep.c: Likewise.
62 * config/arm/tm-linux.h: Likewise.
63
93247f88
RE
642002-02-19 Richard Earnshaw <rearnsha@arm.com>
65
66 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
67 * config/arm/nbsd.mt (TM_FILE): Delete.
68 * config/arm/tm-nbsd.h: Delete.
69
d7b486e7
RE
702002-02-19 Richard Earnshaw <rearnsha@arm.com>
71
72 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
73 Initialize CALL_DUMMY_LENGTH.
74
41d39a95
RE
752002-02-19 Richard Earnshaw <rearnsha@arm.com>
76
77 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
78 function.
79 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
80 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
81 defines one thing and that is incorrect for this port.
82 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
83
e1195560
PM
842002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
85
86 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
87
c1748f97
PM
882002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
89
90 * win32-nat.c (display_selector): New function. Displays information
91 about the information returned by GetThreadSelectorEntry API function.
92 (display_selectors): New function. Displays the infomation of
93 the selector given as argument, or of CS, DS ans FS selectors
94 if no argument is given.
95 ( _initialize_inftarg): Add "w32" as info prefix command.
96 Add "info w32 selector" as command calling display_selectors.
97
e41e6bbf
PM
982002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
99
100 * i386-tdep.c (get_longjmp_target): Fix compilation failure
101 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
102 if not defined.
103
0d3a9f48
RE
1042002-02-18 Richard Earnshaw <rearnsha@arm.com>
105
106 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
107
3fb4b924
RE
1082002-02-18 Richard Earnshaw <rearnsha@arm.com>
109
110 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
111 (arm_fix_call_dummy): Call it.
112 (arm_call_dummy_breakpoint_offset): Delete.
113 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
114 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
115
7f55af32
AC
1162002-02-18 Andrew Cagney <ac131313@redhat.com>
117
118 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
119 Default to func_frame_chain_valid.
120 * gdbarch.h, gdbarch.c: Re-generate.
121 * frame.h (FRAME_CHAIN_VALID): Delete definition.
122
05f13b9c
EZ
1232002-02-18 Elena Zannoni <ezannoni@redhat.com>
124
125 * ppc-linux-nat.c: Update copyright.
126 (fetch_register, store_register): Add tid parameter, don't compute
127 tid here.
128 (fetch_ppc_registers, store_ppc_registers): Add tid
129 parameter. Pass it along to callees.
130 (fetch_inferior_registers, store_inferior_registers): Compute tid
131 here, and pass it to calleed functions.
132 (fill_gregset, supply_fpregset): Clean up formatting.
133
d7afb4c9
RE
1342002-02-18 Richard Earnshaw <rearnsha@arm.com>
135
136 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
137 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
138
9df628e0
RE
1392002-02-18 Richard Earnshaw <rearnsha@arm.com>
140
141 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
142 * gdbarch.c gdbarch.h: Regenerate.
143 * breakpoint.c (create_longjmp_breakpoint): Always compile this
144 function.
145 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
146 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
147 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
148
149 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
150 * arm-tdep.c (arm_get_longjmp_target): New function.
151 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
152 this to a positive value register arm_get_longjmp_target as the
153 longjmp handler.
154 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
155 (arm_linux_init_abi): Set up longjmp description in tdep.
156 * armnbsd-nat.c (get_longjmp_target): Delete.
157 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
158 description in tdep.
159 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
160 (get_longjmp_target): Delete declaration.
161 (GET_LONGJMP_TARGET): Delete.
162 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
163 (GET_LONGJMP_TARGET): Delete.
164
57bc8964
KB
1652002-02-17 Kevin Buettner <kevinb@redhat.com>
166
167 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
168 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
169 of ``current_gdbarch''.
170
83d31a92
TT
1712002-02-17 Tom Tromey <tromey@redhat.com>
172
173 * cli/cli-cmds.c (compare_strings): New function.
174 (complete_command): Only print each unique item once.
175 * completer.h (complete_line): Declare.
176 * completer.c (complete_line): New function.
177 (line_completion_function): Use it.
178
17ef5d92
AC
1792002-02-16 Andrew Cagney <ac131313@redhat.com>
180
181 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
182 * gdbarch.h, gdbarch.c: Re-generate.
183
491b8946
DJ
1842002-02-16 Daniel Jacobowitz <drow@mvista.com>
185
186 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
187
1882002-02-16 Daniel Jacobowitz <drow@mvista.com>
189
190 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
191 * valops.c (value_arg_coerce): Don't take the address of a reference
192 to convert an argument to a reference.
193
dfe7f3ac
CF
1942002-02-15 Christopher Faylor <cgf@redhat.com>
195
196 * win32-nat.c (get_image_name): New function.
197 (handle_load_dll): Use get_image_name function.
198 (get_child_debug_event): Avoid registering debug events until possibly
199 execed process is started.
200 (child_create_inferior): Allow invocation via shell so that command
201 line redirection, etc. works ok.
202 (_initialize_inftarg): Add new command: "set shell" to control whether
203 a shell is used to start a process.
204
1d33e73a
DJ
2052002-02-15 Daniel Jacobowitz <drow@mvista.com>
206
207 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
208 instead of find_register_by_number.
209 (cannot_store_register): Likewise.
210
48cd0caa
PM
2112002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
212
213 * dwarf2read.c: Replace fprintf (stderr, ...) by
214 fprintf_unfiltered (gdb_stderr, ...).
215
8656e7d8
DJ
2162002-02-15 Daniel Jacobowitz <drow@mvista.com>
217
218 * gdbserver/gdbserver.1: Document --attach.
219
66e810cd
RE
2202002-02-15 Richard Earnshaw <rearnsha@arm.com>
221
222 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
223 descriptions.
224 * arm-tdep.c (arm_default_arm_le_breakpoint)
225 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
226 (arm_default_thumb_be_breakpoint): New. Initialize them from
227 traditional breakpoint defines.
228 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
229 (arm_gdbarch_init): Initialize new breakpoint variables.
230 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
231 (arm_linux_init_abi): Initialize linux-specific breakpoint.
232 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
233 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
234 code out to ...
235 (arm_netbsd_init_abi_common): ... here; new function.
236 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
237 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
238 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
239 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
240
97e03143
RE
2412002-02-15 Richard Earnshaw <rearnsha@arm.com>
242
243 * arm-tdep.h (enum arm_abi): New enum.
244 (struct gdbarch_tdep): New structure.
245 (LOWEST_PC): Provide a default.
246 (arm_gdbarch_register_os_abi): Declare new function.
247 * arm-tdep.c (arm_abi_names): New array.
248 (process_note_abi_tag_sections): New function.
249 (get_elfosabi): New function.
250 (arm_gdbarch_register_os_abi): New function.
251 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
252 support for that ABI has been built in, then call the appropriate
253 configuration routine. Use gdbarch_num_regs() to get the number
254 of registers.
255 (arm_dump_tdep): New function.
256 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
257 place-holder functions.
258 (_initialize_arm_tdep): Register them.
259 * config/arm/tm-arm.h (LOWEST_PC): Delete.
260
261 * armnbsd-tdep.c: New file.
262 * Makefile.in (armnbsd-tdep.o): Add dependencies.
263 * config/arm/nbsd.mt (TDEPFILES): Add it.
264 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
265
266 * armnbsd-nat.c: Include regcache.h.
267 * Makefile.in (armnbsd-nat.o): Update dependency list.
268
269 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
270
ad68be46
DJ
2712002-02-14 Daniel Jacobowitz <drow@mvista.com>
272
273 * gdbserver/Makefile.in: Fix typos in target rules.
274
003d6d1d
DJ
2752002-02-14 Daniel Jacobowitz <drow@mvista.com>
276
277 Fix part of PR gdb/267.
278 * linespec.c (find_methods): Handle constructors specially for now.
279
6b230f1b
CV
2802002-02-14 Corinna Vinschen <vinschen@redhat.com>
281
282 * arm-tdep.c (arm_push_arguments): Eliminate special float type
283 handling.
284 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
285 standard_coerce_float_to_double().
286
1ea98d12
CF
2872002-02-14 Christopher Faylor <cgf@redhat.com>
288
289 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
290 GDBINIT_FILENAME.
291
dd47e6fd
EZ
2922002-02-14 Elena Zannoni <ezannoni@redhat.com>
293
294 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
295 find_variant_by_name, because it confuses the multiarch
296 framework. Return NULL if there isn't an architecture with the
297 user supplied name, instead of forcing a different one without
298 recording the change with the multiarch machinery.
299 (find_variant_by_name): Delete.
300
d7e39b9e
PS
3012002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
302
303 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
304 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
305
76e42a4f
MH
3062002-02-13 Martin M. Hunt <hunt@redhat.com>
307
308 * stack.c (print_frame_info_base): When calling
309 print_frame_info_listing_hook, set current_source_symtab.
310
0a30fbc4
DJ
3112002-02-14 Daniel Jacobowitz <drow@mvista.com>
312
313 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
314 and remove unused $(INCLUDE_DIR).
315 Add regcache.c to OBS.
316 Add generated register protocol files to clean target.
317 Update dependencies for new objects, obsolete old target code.
318
319 * gdbserver/linux-low.c: Remove all platform-specific code to
320 new files. Remove various dead code. Update to use regcache
321 functionality.
322 * gdbserver/remote-utils.c (fromhex): Add return statement
323 to quiet warning.
324 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
325 constant.
326 (input_interrupt): Add integer parameter to match prototype
327 of a signal handler.
328 (outreg): Use register_data ().
329 (prepare_resume_reply): Use gdbserver_expedite_regs.
330 * gdbserver/server.c (main): Dynamically allocate own_buf because
331 PBUFSIZ is no longer constant. Use registers_to_string () and
332 registers_from_string ().
333 * gdbserver/server.h: No longer include "defs.h". Add prototypes
334 for error (), fatal (), and warning (). Update definition of
335 PBUFSIZ to use regcache functionality. Add include guard.
336 * gdbserver/utils.c (fatal): Add missing ``const''.
337 (warning): New function.
338
339 * regformats/regdat.sh: Include "regcache.h" in generated files.
340 Provide init_registers () function.
341 * regformats/regdef.h: Add prototype for set_register_cache ().
342 Add include guard.
343
344 * gdbserver/linux-arm-low.c: New file.
345 * gdbserver/linux-i386-low.c: New file.
346 * gdbserver/linux-ia64-low.c: New file.
347 * gdbserver/linux-m68k-low.c: New file.
348 * gdbserver/linux-mips-low.c: New file.
349 * gdbserver/linux-ppc-low.c: New file.
350 * gdbserver/linux-sh-low.c: New file.
351
352 * gdbserver/regcache.c: New file.
353 * gdbserver/regcache.h: New file.
354
355 * gdbserver/low-linux.c: Removed obsolete file.
356
4cc841d0
DJ
3572002-02-14 Daniel Jacobowitz <drow@mvista.com>
358
359 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
360 * config/i386/linux.mt: Likewise.
361 * config/ia64/linux.mt: Likewise.
362 * config/m68k/linux.mh: Likewise.
363 * config/powerpc/linux.mh: Likewise.
364 * config/mips/linux.mt: Likewise.
365
366 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
367
368 * config/i386/i386lynx.mh: Mark gdbserver variables
369 as (currently) obsolete for this target.
370 * config/i386/nbsd.mt: Likewise.
371 * config/i386/nbsdelf.mt: Likewise.
372 * config/m32r/m32r.mt: Likewise.
373 * config/m68k/m68klynx.mh: Likewise.
374 * config/m68k/nbsd.mt: Likewise.
375 * config/m68k/sun3os4.mh: Likewise.
376 * config/mips/vr5000.mt: Likewise.
377 * config/ns32k/nbsd.mt: Likewise.
378 * config/pa/hppabsd.mh: Likewise.
379 * config/pa/hppaosf.mh: Likewise.
380 * config/powerpc/nbsd.mt: Likewise.
381 * config/rs6000/rs6000lynx.mh: Likewise.
382 * config/s390/s390.mt: Likewise.
383 * config/s390/s390x.mt: Likewise.
384 * config/sparc/sparclynx.mh: Likewise.
385 * config/sparc/sun4os4.mh: Likewise.
386 * config/i386/x86-64linux.mt: Likewise.
387 * config/sparc/linux.mh: Likewise.
388
a85f51e7
DJ
3892002-02-14 Daniel Jacobowitz <drow@mvista.com>
390
391 * configure.tgt: Configure gdbserver only for known working
392 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
393 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
394 SUBDIRS if it is configured. Update comment for ${nativefile}.
395 * configure: Regenerated.
396
65554fef
MS
3972002-02-13 Michael Snyder <msnyder@redhat.com>
398
6dbdc4a3
MS
399 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
400 (default_gcore_mach): Just return 0, work around a problem in bfd.
401 (default_gcore_target): OK to return NULL if exec_bfd is null.
402 (make_mem_sec): Use a cast, avoid a warning.
403
404 * procfs.c (find_memory_regions_callback): Use a cast instead of
405 calling host_pointer_to_address (which complains if
406 sizeof (host pointer) != sizeof (target pointer)).
407 (procfs_make_note_section): Avoid overflow in psargs string.
408
65554fef
MS
409 * procfs.c (procfs_make_note_section): Make the default
410 implementation return an error.
411
4122002-02-13 Rodney Brown <rbrown64@csc.com.au>
413
414 * procfs.c (procfs_make_note_section): Provide a default definition
415 (for alpha-dec-osf4.0f). Fix typos.
416
1e4d76e7
EZ
4172002-02-13 Elena Zannoni <ezannoni@redhat.com>
418
419 * linux-proc.c: Add include of regcache.h.
420 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
421
b6d1a1d5
AC
4222002-02-13 Andrew Cagney <ac131313@redhat.com>
423
424 From 2002-01-18 Greg McGary <greg@mcgary.org>:
65554fef
MS
425 * memattr.c (create_mem_region): Disallow useless empty region.
426 Regions are half-open intervals, so allow [A..B) [B..C) as
427 non-overlapping.
b6d1a1d5 428
6c6ea35e
MC
4292002-02-13 Michael Chastain <mec@shout.net>
430
431 * defs.h: Kill CONST_PTR.
432 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
433 * c-lang.c (c_builtin_types): Likewise.
434 * ch-lang.c (ch_builtin_types): Likewise.
435 * f-lang.c (f_builtin_types): Likewise.
436 * language.c (unknown_builtin_types): Likewise.
437 * m2-lang.c (m2_builtin_types): Likewise.
438 * p-lang.c (pascal_builtin_types): Likewise.
439 * scm-lang.c (c_builtin_types): Likewise.
440
3e0b0f48
KS
4412002-02-13 Keith Seitz <keiths@redhat.com>
442
443 * arm-tdep.h (arm_get_next_pc): Add declaration.
444
67255d04
RE
4452002-02-13 Richard Earnshaw <rearnsha@arm.com>
446
447 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
448 with other related struct-returning functions.
449 (arm_extract_struct_value_address): New function.
450 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
451 initialize float_format, double_format and long_double_format as
452 appropriate to the endianness of the target.
453 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
454 (arm_use_struct_convention): Delete declaration.
455 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
456
079777f6
KS
4572002-02-13 Keith Seitz <keiths@redhat.com>
458
459 * defs.h (core_addr_to_string_nz): New function.
460
34588f23
MK
4612002-02-13 Mark Kettenis <kettenis@gnu.org>
462
463 Apply missing bits of 2002-01-15 patch.
464 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
465 (fill_fpregset): Use i387_fill_fsave.
466
49b563f9
KS
4672002-02-12 Keith Seitz <keiths@redhat.com>
468
49b563f9
KS
469 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
470 (core_addr_to_string_nz): New function.
471
aeb98c60
RE
4722002-02-11 Richard Earnshaw <rearnsha@arm.com>
473
474 * arm-linux-nat.c: Really include arm-tdep.h.
475 * config/arm/tm-linux.h (struct type, struct value): Declare.
476
65554fef
MS
4772002-02-11 Michael Snyder <msnyder@redhat.com>
478
479 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
480 (gcore section): Ifdef for Solaris and Unixware only.
481 (procfs_do_thread_registers): Unixware needs one lwpstatus
482 per thread (not one prstatus or pstatus).
483 (procfs_make_note_section): Iterate only over kernel threads (lwps),
484 not over all gdb threads. For unixware, call elfcore_write_pstatus
485 once before iterating over threads.
486
34e8f22d
RE
4872002-02-11 Richard Earnshaw <rearnsha@arm.com>
488
489 * arm-tdep.h: New file.
490 * arm-tdep.c: Include arm-tdep.h.
491 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
492 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
493 (arm_print_float_info, arm_register_type, convert_to_extended)
494 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
495 (arm_extract_return_value, arm_register_name): Make static.
496 (arm_software_single_step): Similarly. Fix types in declaration.
497 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
498 (arm_store_return_value, arm_store_struct_return): New functions.
499 (arm_gdbarch_init): Register the above functions. Also register
500 call_dummy_start_offset, sizeof_call_dummy_words,
501 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
502 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
503 max_register_virtual_size, register_size. Set up
504 prologue_cache.saved_regs here, rather than ...
505 (_initialize_arm_tdep): ... here.
506 * config/arm/tm-arm.h (struct type, struct value): Delete forward
507 declarations.
508 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
509 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
510 (arm_print_float_info, arm_register_type, convert_to_extended)
511 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
512 (arm_extract_return_value, arm_register_name): Delete declarations.
513 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
514 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
515 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
516 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
517 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
518 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
519 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
520 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
521 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
522 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
523 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
524 (arm_get_next_pc): No-longer static -- these are needed by the RDI
525 interface.
526 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
527 * remote-rdi.c remote-rdp.c: Likewise.
528 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
529 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
530 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
531 definition.
532
533 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
534 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
535 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
536 from non-ARM_ prefixed definitions.
537 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
538 all uses of above.
539 * remote-rdi.c remote-rdp.c: Likewise.
540 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
541
148754e5
RE
5422002-02-11 Richard Earnshaw <rearnsha@arm.com>
543
544 * arm-tdep.c (arm_frameless_function_invocation)
545 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
546 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
547 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
548 (arm_pop_frame, arm_get_next_pc): Make static.
549 (arm_gdbarch_init): Register above in gdbarch structure.
550 (arm_read_fp): Renamed from arm_target_read_fp.
551 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
552 * config/arm/tm-arm.h (arm_frameless_function_invocation)
553 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
554 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
555 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
556 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
557 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
558 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
559 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
560 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
561 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 562
434d2d4f
DJ
5632002-02-10 Daniel Jacobowitz <drow@mvista.com>
564
565 * symtab.c (compare_search_syms): New function.
566 (sort_search_symbols): New function.
567 (search_symbols): Sort symbols after searching rather than
568 before.
569
55241689
AC
5702002-02-10 Andrew Cagney <ac131313@redhat.com>
571
572 * NEWS: Linux -> GNU/Linux.
573
028c194b
AC
5742002-02-10 Andrew Cagney <ac131313@redhat.com>
575
576 * gdbarch.sh: For for level one methods, disallow a definition
577 when partially multi-arched. Add comments explaining rationale.
578 * gdbarch.h: Re-generate.
579
6acf50cd
AC
5802002-02-10 Andrew Cagney <ac131313@redhat.com>
581
582 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
583 multi-arch partial.
584
50248794
AC
5852002-02-10 Andrew Cagney <ac131313@redhat.com>
586
587 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
588 field. Use diff -u.
589 * gdbarch.c: Re-generate.
590
c30e0066
AC
5912002-02-10 Andrew Cagney <ac131313@redhat.com>
592
9b56c5f3 593 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
594 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
595 partial.
596
6e6d6484
AC
5972002-02-10 Andrew Cagney <ac131313@redhat.com>
598
599 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
600 multi-arch partial.
601 (PUSH_ARGUMENTS): Switch to using predefault.
602 * gdbarch.c: Regenerate.
603
c203844d
AC
6042002-02-10 Andrew Cagney <ac131313@redhat.com>
605
606 * valops.c (PUSH_ARGUMENTS): Delete definition.
607 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
608 partial. Default to default_push_arguments.
609 * gdbarch.h, gdbarch.c: Regenerate.
610
b5a2688f
AC
6112002-02-09 Andrew Cagney <ac131313@redhat.com>
612
613 * defs.h (throw_exception): Rename return_to_top_level. Update
614 comments.
615 * utils.c (error_stream, internal_verror, quit): Ditto.
616 * top.c (throw_exception, catcher): Ditto.
617 * sparclet-rom.c (sparclet_load): Ditto.
618 * remote.c (interrupt_query, minitelnet): Ditto.
619 * remote-sds.c (interrupt_query): Ditto.
620 * remote-mips.c (mips_error, mips_kill): Ditto.
621 * ocd.c (interrupt_query): Ditto.
622 * monitor.c (monitor_interrupt_query): Ditto.
623 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
624 * target.h: Update comment.
625
626 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
627
2fa5c1e0
AC
6282002-02-09 Andrew Cagney <ac131313@redhat.com>
629
630 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
631 default_double_format.
632 * gdbarch.h, gdbarch.c: Re-generate.
633 * findvar.c (floatformat_unknown): Delete variable definition.
634 * doublest.h (floatformat_unknown): Delete variable declaration.
635
da966255
JB
6362002-02-09 Jim Blandy <jimb@redhat.com>
637
638 * stabsread.c (read_type): Add code to parse Sun's syntax for
639 prototyped function types.
640
123a4891
AC
6412002-02-09 Andrew Cagney <ac131313@redhat.com>
642
643 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
644 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
645
fb39c8f3
PS
6462002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
647
648 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
649 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
650 now _initialize_xcoffsolib gets called again and overrides the
651 commands from solib.c in a native configuration.
652
0b87a11d
MK
6532002-02-09 Mark Kettenis <kettenis@gnu.org>
654
655 * doublest.c (store_typed_floating): Don't try to return a value.
656 Fixes PR gdb/290.
657
bdc2fc72
JB
6582002-02-08 Jim Blandy <jimb@redhat.com>
659
660 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
661 is prototyped and has no arguments, print its argument list as
662 `(void)'.
663
da69bbcf
CD
6642002-02-08 Chris Demetriou <cgd@broadcom.com>
665
666 * MAINTAINERS (write-after-approval): Add myself.
667 (paper-trail): I've escaped!
668
b69571f5
CF
6692002-02-08 Christopher Faylor <cgf@redhat.com>
670
671 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
672 changes.
673 (_initialize_check_for_gdb_ini): Ditto.
674
f6871398
MH
6752002-02-08 Martin M. Hunt <hunt@redhat.com>
676
677 * win32-nat.c (cygwin_pid_to_str): Fix typo.
678 xaprintf -> xasprintf.
679
4e52d31c
PM
6802002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
681
682 * win32-nat.c: Remove use of printf and sprintf functions.
683
39bbf761
RE
6842002-02-08 Richard Earnshaw <rearnsha@arm.com>
685
686 * arm-tdep.c (arm_frame_chain_valid): Make static.
687 (arm_push_arguments): Likewise.
688 (arm_gdbarch_init): New function.
689 (_initialize_arm_tdep): Call it.
690 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
691 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
692 (FRAME_CHAIN_VALID): Delete.
693 (arm_frame_chain_valid): Delete declaration.
694 (PUSH_ARGUMENTS): Delete.
695 (arm_push_arguments): Delete declaration.
696 (CALL_DUMMY_P): Delete.
697
9c9532c9
CV
6982002-02-08 Andrew Cagney <ac131313@redhat.com>
699 Corinna Vinschen <vinschen@redhat.com>
700
701 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
702 on builtin float types.
703
4e8f7a8b
DJ
7042002-02-08 Daniel Jacobowitz <drow@mvista.com>
705
706 * utils.c: Include <curses.h> before "bfd.h".
707 * tui/tui-hooks.c: Likewise.
708 * tui/tui.c: Likewise.
709 * tui/tuiCommand.c: Likewise.
710 * tui/tuiData.c: Likewise.
711 * tui/tuiDataWin.c: Likewise.
712 * tui/tuiDisassem.c: Likewise.
713 * tui/tuiGeneralWin.c: Likewise.
714 * tui/tuiIO.c: Likewise.
715 * tui/tuiLayout.c: Likewise.
716 * tui/tuiRegs.c: Likewise.
717 * tui/tuiSource.c: Likewise.
718 * tui/tuiSourceWin.c: Likewise.
719 * tui/tuiStack.c: Likewise.
720 * tui/tuiWin.c: Likewise.
721
cd4bffcf
EZ
7222002-02-07 Elena Zannoni <ezannoni@redhat.com>
723
724 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
725 to include space for pseudoregs as well. Update loops accordingly.
726 (sh_fp_frame_init_saved_regs): Ditto.
727 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
728
26806ce2
AC
7292002-02-07 Andrew Cagney <ac131313@redhat.com>
730
731 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
732 Add Richard Earnshaw to Arm maintainers.
733
97fdab62
AC
7342002-02-07 Andrew Cagney <ac131313@redhat.com>
735
a6b98203
AC
736 * defs.h (warning_begin): Delete declaration.
737
97fdab62
AC
738 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
739 Delete macro.
740
78b29b40
MS
7412002-02-07 Michael Snyder <msnyder@redhat.com>
742
743 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
744 Logic bug, remove misplaced else.
745
d8849953
KD
7462002-02-07 Klee Dienes <klee@apple.com>
747
748 * fork-inferior.c (fork_inferior): Add '!' to the list of
749 characters that need to be quoted when building a string for the
750 shell. Quote '!' specifically with a backslash, since CSH chokes
751 when trying to evaluate "str!str".
752
095778a0
NC
7532002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
754
755 * rdi-share/host.h: Only provide a typedef for bool if it is not
756 defined.
757
1900040c
MS
7582002-02-04 Michael Snyder <msnyder@redhat.com>
759
760 * breakpoint.h (enum bptype): Add new overlay event bp type.
761 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
762
763 * breakpoint.c (create_internal_breakpoint): New function.
764 (internal_breakpoint_number): Moved into create_internal_breakpoint.
765 (create_longjmp_breakpoint): Use create_internal_breakpoint.
766 (create_thread_event_breakpoint): Ditto.
767 (create_solib_event_breakpoint): Ditto.
768 (create_overlay_event_breakpoint): New function.
769 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
770 (update_breakpoints_after_exec): Delete and re-initialize
771 overlay event breakpoints after an exec. Add FIXME comment
772 about longjmp breakpoint.
773 (print_it_typical): Ignore overlay event breakpoints.
774 (print_one_breakpoint): Ditto.
775 (mention): Ditto.
776 (bpstat_what): Do not stop for overlay event breakpoints.
777 (delete_breakpoint): Don't delete overlay event breakpoints.
778 (breakpoint_re_set_one): Delete the overlay event breakpoint.
779 (breakpoint_re_set): Re-create overlay event breakpoint.
780
781 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
782 (overlay_manual_command): Disable overlay breakpoints.
783 (overlay_off_command): Disable overlay breakpoints.
784
082fc60d
RE
7852002-02-06 Richard Earnshaw <rearnsha@arm.com>
786
787 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
788 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
789 to here from config/tm-arm.h.
790 (coff_sym_is_thumb): Make static.
791 (arm_elf_make_msymbol_special): New function.
792 (arm_coff_make_msymbol_special): New function.
793 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
794 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
795 (coff_sym_is_thumb): Delete declaration.
796 (arm_elf_make_msymbol_special): Declare.
797 (arm_coff_make_msymbol_special): Declare.
798 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
799 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
800
039c5766
RE
8012002-02-06 Richard Earnshaw <rearnsha@arm.com>
802
803 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
804
8052002-02-06 Richard Earnshaw <rearnsha@arm.com>
806
807 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
808 * gdbarch.c gdbarch.h: Regenerate.
809 * arch-utils.c (default_print_float_info): New function.
810 * arch-utils.h (default_print_float_info): Prototype it.
811 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
812 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
813 (PRINT_FLOAT_INFO): Document it.
814
815 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
816 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
817 (PRINT_FLOAT_INFO): Define.
818
58fa08f0
PM
8192002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
820
821 * win32-nat.c (_initialize_check_for_gdb_ini):
822 Add typecast to sprintf argument to suppress a warning.
823
7393af7c
PM
8242002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
825
58fa08f0 826 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
827 to allow easier handling of pass state.
828 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
829 that gives exception name and address.
830 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
831 and set last_sig value to ourstatus->value.sig. Some missing
832 exceptions added.
833 (child_continue): Correctly report continue_status.
834 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
835 TARGET_SIGNAL_0 (new default value).
836 (child_resume): consider sig argument passed to decide if
837 the exception should be passed to debuggee or not.
838
6af4589c
MS
8392002-02-05 Michael Snyder <msnyder@redhat.com>
840
841 * regcache.c (fetch_register): Call target_fetch_register
842 only if we don't call FETCH_PSEUDO_REGISTER.
843 (store_register): Call target_store_register only if we
844 don't call STORE_PSEUDO_REGISTER.
845
a2cf933a
EZ
8462002-02-05 Elena Zannoni <ezannoni@redhat.com>
847
848 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
849 ELF_MAKE_MSYMBOL_SPECIAL.
850 * gdbarch.c, gdbarch.h: Regenerate.
851 * arch-utils.c (default_make_msymbol_special): New function.
852 * arch-utils.h (default_make_msymbol_special): Export.
853 * elfread.c (elf_symtab_read): Compile use of
854 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
855 multiarched.
856 * coffread.c (coff_symtab_read): Ditto, for
857 COFF_MAKE_MSYMBOL_SPECIAL.
858
6bb7be43
JB
8592002-02-05 Jim Blandy <jimb@redhat.com>
860
861 * solib-svr4.c (svr4_truncate_ptr): New function.
862 (svr4_relocate_section_addresses): Do the address arithmetic with
863 the appropriate truncation for target addresses, even when
864 CORE_ADDR is larger than a target address.
865
e18651ec
DJ
8662002-02-05 Daniel Jacobowitz <drow@mvista.com>
867
868 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
869 to (int *).
870
6b2725be
DJ
8712002-02-05 Daniel Jacobowitz <drow@mvista.com>
872
873 * gdbserver/linux-low.c (kill_inferior): Remove commented out
874 code.
875
fca9e603
DJ
8762002-02-05 Daniel Jacobowitz <drow@mvista.com>
877
878 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
879
6c537a52
DJ
8802002-02-05 Daniel Jacobowitz <drow@mvista.com>
881
882 * gdbserver/linux-low.c: Remove unused include files.
883
d844cde6
DJ
8842002-02-05 Daniel Jacobowitz <drow@mvista.com>
885
886 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
887 (read_inferior_memory): Use it.
888 (write_inferior_memory): Likewise.
889
d07c63e7
DJ
8902002-02-05 Daniel Jacobowitz <drow@mvista.com>
891
892 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
893 grubbing through sys_errlist.
894
da6d8c04
DJ
8952002-02-05 Daniel Jacobowitz <drow@mvista.com>
896
897 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
898
5b421780
PM
8992002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
900 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
901
9f60d481
AC
9022002-02-04 Andrew Cagney <ac131313@redhat.com>
903
904 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
905 (do_sfunc, set_cmd_sfunc): New functions.
906
907 * command.h (struct cmd_list_element): Add field func.
908 * cli/cli-decode.h (struct cmd_list_element): Ditto.
909 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
910 * cli/cli-decode.h: Ditto.
911
912 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
913 (help_all, help_cmd_list): Ditto.
914 (find_cmd, complete_on_cmdlist): Ditto.
915 * top.c (execute_command): Ditto.
916
917 * cli/cli-setshow.c (do_setshow_command): Call func instead of
918 function.sfunc.
919
920 * infcmd.c (notice_args_read): Fix function signature.
921
922 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
923 * cli/cli-decode.c (add_set_cmd): Ditto.
924 * utils.c (initialize_utils): Ditto.
925 * maint.c (_initialize_maint_cmds): Ditto.
926 * infrun.c (_initialize_infrun): Ditto.
927 * demangle.c (_initialize_demangler): Ditto.
928 * remote.c (add_packet_config_cmd): Ditto.
929 * mips-tdep.c (_initialize_mips_tdep): Ditto.
930 * cris-tdep.c (_initialize_cris_tdep): Ditto.
931 * proc-api.c (_initialize_proc_api): Ditto.
932 * kod.c (_initialize_kod): Ditto.
933 * valprint.c (_initialize_valprint): Ditto.
934 * top.c (init_main): Ditto.
935 * infcmd.c (_initialize_infcmd): Ditto.
936 * corefile.c (_initialize_core): Ditto.
937 * arm-tdep.c (_initialize_arm_tdep): Ditto.
938 * arch-utils.c (initialize_current_architecture): Ditto.
939 (_initialize_gdbarch_utils): Ditto.
940 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
941
942 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
943 * wince.c (_initialize_inftarg): Ditto.
944 * symfile.c (_initialize_symfile): Ditto.
945 * mips-tdep.c (_initialize_mips_tdep): Ditto.
946 * language.c (_initialize_language): Ditto.
947 * arc-tdep.c (_initialize_arc_tdep): Ditto.
948
f9ba0717
MS
9492002-02-04 Michael Snyder <msnyder@redhat.com>
950
951 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
952
0c74b2a7
DJ
9532002-02-04 Daniel Jacobowitz <drow@mvista.com>
954
955 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
956 Add rules for building the register data files.
957
c638789f
DJ
9582002-02-04 Daniel Jacobowitz <drow@mvista.com>
959
960 * regformats/regdat.sh: Add braces to the definition of
961 expedite_regs_${arch}.
962
db253027
DJ
9632002-02-04 Daniel Jacobowitz <drow@mvista.com>
964
965 * regformats/regdef.h (struct reg): Add comment describing the
966 requirements for offset and size fields.
967
206be19c
AS
9682002-02-04 Andreas Schwab <schwab@suse.de>
969
970 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
971 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
972
181c1381
RE
9732002-02-04 Richard Earnshaw <rearnsha@arm.com>
974
975 * gdbarch.sh (copyright): Update years in generated header.
976 (SMASH_TEXT_ADDRESS): Add rule.
db253027 977 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
978 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
979 * dbxread.c: Likewise.
980 * dwarfread.c: Likewise.
981 * elfread.c: Likewise.
982 * somread.c: Likewise.
983
984 * arm-tdep.c (arm_smash_text_address): New function.
985 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
986
fa4ba8da
PM
9872002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
988
989 Add support for hardware watchpoints on win32 native.
990 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
991 CONTEXT_DEBUG_REGISTERS.
992 (dr variable): New variable. Static array containing a local copy
993 of debug registers.
994 (debug_registers_changed): New variable. Reflects when debug registers
995 are changed and need to be written to inferior.
996 (debug_registers_used): New variable. Reflects when any debug register
997 was set, used when new threads are created.
998 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
999 i386-nat code.
1000 (thread_rec): Set dr array if id is the thread of current_event .
1001 (child_continue, child_resume): Change the debug registers for all
1002 threads if debug_registers_changed.
1003 (child_add_thread): Change the debug registers if debug_registers_used.
1004 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1005 Link nm.h to new nm-cygwin.h file.
1006 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1007 of hardware registers.
1008
a73c86fb
AC
10092002-02-03 Andrew Cagney <ac131313@redhat.com>
1010
1011 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1012 Restore behavour broken by 2002-01-20 Andrew Cagney
1013 <ac131313@redhat.com> IEEE_FLOAT removal.
1014
acf5ed49
DJ
10152002-02-03 Daniel Jacobowitz <drow@mvista.com>
1016
1017 * c-valprint.c (c_val_print): Pass a proper valaddr to
1018 cp_print_class_method.
1019 * valops.c (search_struct_method): If there is only one method
1020 and args is NULL, return that method.
1021
493d28d5
DJ
10222002-02-03 Daniel Jacobowitz <drow@mvista.com>
1023
1024 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1025 accessing tag_name directly.
1026
7495dfdb
DJ
10272002-02-03 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1030 of accessing tag_name directly.
1031
dd6bda65
DJ
10322002-02-03 Daniel Jacobowitz <drow@mvista.com>
1033
1034 PR gdb/280
1035 * gdbtypes.c (replace_type): New function.
1036 * gdbtypes.h (replace_type): Add prototype.
1037 * stabsread.c (read_type): Use replace_type.
1038
88fe217c
RE
10392002-02-03 Richard Earnshaw <rearnsha@arm.com>
1040
1041 * Makefile.in (memattr.o): Add missing dependencies rule.
1042
e5d66720
PS
10432002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1044
1045 * breakpoint.c (break_at_finish_command): Really export.
1046 (break_at_finish_at_depth_command): Ditto.
1047 (tbreak_at_finish_command): Ditto.
1048 * hppa-tdep.c: Include completer.h.
1049 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1050 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1051
fffee0be
AC
10522002-02-01 Andrew Cagney <ac131313@redhat.com>
1053
1054 * utils.c (do_write): New function.
1055 (error_stream): Rewrite combining the code from error_begin and
1056 verror.
1057 (verror): Rewrite using error_stream.
1058 (error_begin): Delete function.
1059
255e7dbf
AC
10602002-02-01 Andrew Cagney <ac131313@redhat.com>
1061
1062 * utils.c (error_begin): Make static.
1063 * defs.h (error_begin): Delete declaration.
1064
1065 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1066 (decode_line_1): Use cplusplus_error instead of error_begin,
1067 cplusplus_hint and return_to_top_level.
1068 * coffread.c (coff_symfile_read): Use error instead of error_begin
1069 and return_to_top_level.
1070 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1071
ddfe3c15
AC
10722002-02-01 Andrew Cagney <ac131313@redhat.com>
1073
1074 * language.h (type_error, range_error): Make string parameter
1075 constant.
1076 * language.c (warning_pre_print): Delete extern declaration.
1077 * dwarfread.c (warning_pre_print): Ditto.
1078 * language.c (type_error, range_error): Rewrite to use verror and
1079 vwarning instead of warning_begin.
1080
03ac34d5
MS
10812002-02-01 Michael Snyder <msnyder@redhat.com>
1082
261c4ca2
MS
1083 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1084 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 1085
e00d1dc8
AC
10862002-02-01 Andrew Cagney <ac131313@redhat.com>
1087
1088 * command.h (NO_FUNCTION): Delete macro.
1089 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1090 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1091 * tracepoint.c (_initialize_tracepoint): Ditto.
1092 * cli/cli-decode.c (add_set_cmd): Ditto.
1093 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1094
76b79d6e
DJ
10952002-02-01 Daniel Jacobowitz <drow@mvista.com>
1096
1097 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1098 Update ``this'' pointer when calling virtual functions.
1099
799f9e91
MS
11002002-02-01 Michael Snyder <msnyder@redhat.com>
1101
c7bd442c 1102 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
1103 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1104
3cf384d4
DJ
11052002-02-01 Daniel Jacobowitz <drow@mvista.com>
1106
1107 * regformats/reg-arm.dat: New file.
1108 * regformats/reg-i386.dat: New file.
1109 * regformats/reg-ia64.dat: New file.
1110 * regformats/reg-m68k.dat: New file.
1111 * regformats/reg-mips.dat: New file.
1112 * regformats/reg-ppc.dat: New file.
1113 * regformats/reg-sh.dat: New file.
1114 * regformats/regdef.h: New file.
1115 * regformats/regdat.sh: New file.
1116
0defa245
RE
11172002-02-01 Richard Earnshaw <reanrsha@arm.com>
1118
1119 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1120 (arm_frame_args_address, arm_frame_locals_address): New functions.
1121 (arm_frame_num_args): New function.
1122 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1123 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1124 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1125
405f26e6
MS
11262002-01-31 Michael Snyder <msnyder@redhat.com>
1127
502fd408
MS
1128 * breakpoint.c (break_at_finish_command): Export.
1129 (break_at_finish_at_depth_command): Export.
1130 (tbreak_at_finish_command): Export.
1131 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1132 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1133 "tbreak" commands, which are HPPA specific.
1134
7d35e135
MS
1135 * printcmd.c (disassemble_command): Remove an ancient
1136 artifact of an old merge.
1137
d874f1e2
MS
1138 * symfile.h (enum overlay_debugging_state):
1139 Define enum constant values for overlay mode.
1140 * symfile.c (overlay_debugging): Use enums instead of literals.
1141 (overlay_is_mapped, overlay_auto_command,
1142 overlay_manual_command): Ditto.
1143
9f04af04
MS
1144 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1145 breakpoint_here_p, breakpoint_inserted_here_p,
1146 breakpoint_thread_match, bpstat_stop_status,
1147 describe_other_breakpoints, check_duplicates, clear_command):
1148 Coding standard fixes.
1149
8add0441 1150 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 1151 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
1152 code: check bfd SEC_READONLY flag for section.
1153
e351066e
AC
11542002-01-31 Andrew Cagney <ac131313@redhat.com>
1155
7d35e135 1156 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 1157
8a48e967
DJ
11582002-01-30 Daniel Jacobowitz <drow@mvista.com>
1159
1160 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
1161 data symbols, since we search based on textlow and texthigh.
1162 (find_pc_sect_symtab): Likewise.
1163
f5a96129
AC
11642002-01-30 Andrew Cagney <ac131313@redhat.com>
1165
1166 * defs.h (vwarning): Declare.
f5a96129
AC
1167 * utils.c (vwarning): New function.
1168 (warning): Call vwarning.
1169 (warning_begin): Delete function.
1170
1171 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
1172 the warning message.
1173 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
1174 warning_begin.
1175
cefd4ef5
MS
11762002-01-30 Michael Snyder <msnyder@redhat.com>
1177
1a703748
MS
1178 * NEWS: Mention "set trust-readonly-sections" command.
1179 Mention generate-core-file command.
cefd4ef5 1180
3a11626d
MS
11812002-01-15 Michael Snyder <msnyder@redhat.com>
1182
1183 * target.c: New command, "set trust-readonly-sections on".
1184 (do_xfer_memory): Honor the suggestion to trust readonly sections
1185 by reading them from the object file instead of from the target.
1186 (initialize_targets): Register command "set trust-readonly-sections".
1187
d1c7e53b
AC
11882002-01-29 Andrew Cagney <ac131313@redhat.com>
1189
1190 * parse.c (target_map_name_to_register): Simplify, search regs and
1191 pseudo-regs using a single loop.
1192
e2c9a72c
AC
11932002-01-30 Andrew Cagney <ac131313@redhat.com>
1194
1195 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
1196
69824b4e
MK
11972002-01-15 Rodney Brown <rbrown64@csc.com.au>
1198
1199 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
1200 * config/i386/i386v42mp.mh: Add i387-nat.o .
1201 * i386v4-nat.c: Include i387-nat.h.
1202 (supply_fpregset): Use i387_supply_fsave.
1203 (fill_fpregset): Use i387_fill_fsave.
1204
6eb69eab
RE
12052002-01-30 Richard Earnshaw <rearnsha@arm.com>
1206
1207 * arm-tdep.c (arm_call_dummy_words): Define.
1208 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
1209 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
1210 (CALL_DUMMY_WORDS): Define.
1211 (arm_call_dummy_words): Declare.
1212 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
1213 (arm_linux_call_dummy_words): Declare.
1214
9852326a
AS
12152002-01-30 Andreas Schwab <schwab@suse.de>
1216
1217 * m68klinux-nat.c: Fix last change to use regcache_collect
1218 instead of referencing registers[] directly.
1219
977a3030
AC
12202002-01-29 Andrew Cagney <ac131313@redhat.com>
1221
1222 * parse.c (target_map_name_to_register): Delete code wrapped in
1223 #ifdef REGISTER_NAME_ALIAS_HOOK.
1224
2076c72b
MS
12252002-01-28 Michael Snyder <msnyder@redhat.com>
1226
1227 * regcache.c (legacy_read_register_gen): Need to be able to
1228 read pseudo-register as well as real register.
1229 (legacy_write_register_gen): Ditto.
1230
8fcc723b
AC
12312002-01-28 Andrew Cagney <ac131313@redhat.com>
1232
1233 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1234 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
1235 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
1236 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
1237 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
1238 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
1239 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
1240 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
1241 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
1242 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
1243 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
1244 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
1245 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
1246 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
1247 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
1248 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
1249 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
1250 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
1251 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
1252 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
1253
afe64c1a
AC
12542002-01-28 Andrew Cagney <ac131313@redhat.com>
1255
1256 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
1257 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
1258 (initialize_current_architecture): Update target_byte_order using
1259 information from BFD.
afe64c1a
AC
1260 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
1261 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
1262
75bc7ddf
AC
12632002-01-28 Andrew Cagney <ac131313@redhat.com>
1264
1265 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
1266 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
1267
1268 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
1269 #ifdef INVALID_FLOAT.
1270 * infcmd.c (do_registers_info): Ditto.
1271 * values.c (unpack_double): Ditto. Add comment.
1272
1273 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
1274 already commented out.
1275
0280a90a
AS
12762002-01-26 Andreas Schwab <schwab@suse.de>
1277
1278 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
1279 * m68klinux-nat.c: Update ptrace interface for fetching/storing
1280 registers and add support for PTRACE_GETREGS.
1281
7072a954
AC
12822002-01-24 Andrew Cagney <ac131313@redhat.com>
1283
1284 GDB 5.1.1 released from 5.1 branch.
1285 * NEWS: Add 5.1.1 news.
1286 * README: Sync with 5.1 branch.
1287
86f902e0
FF
12882002-01-23 Fred Fish <fnf@redhat.com>
1289
1290 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
1291 stabstring on initial malloc. Reallocing will copy it for us,
1292 if necessary.
1293
8af51c36
EZ
12942002-01-23 Elena Zannoni <ezannoni@redhat.com>
1295
1296 * Makefile.in (hpread_h): Delete.
1297 (HFILES_NO_SRCDIR): Remove hpread.h.
1298 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
1299 (hpread.o): Update dependencies.
1300 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
1301
1302 * hp-psymtab-read.c: Remove file.
1303 * hp-symtab-read.c: Remove file.
1304 * hpread.h: Remove file.
1305
1306 * hpread.c: Merge all contents of hp-psymtab-read.c,
1307 hp-symtab-read.c and hpread.h into this file, as it was prior to
1308 January 1999.
1309
1310 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
1311 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
1312 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
1313 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
1314
dc5cfeb6
EZ
13152002-01-23 Elena Zannoni <ezannoni@redhat.com>
1316
1317 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
1318 fill_gregset): Call gdbarch_tdep() just once, assign result to
1319 variable and use that, instead of calling the function several
1320 times.
1321
ea87b71b
AO
13222002-01-24 Alexandre Oliva <aoliva@redhat.com>
1323
1324 * configure.host: Accept sparcv9 as alias for sparc64.
1325 * configure.tgt: Likewise.
1326
13fc0c2f
KB
13272002-01-22 Kevin Buettner <kevinb@redhat.com>
1328
1329 * solib-aix5.c (build_so_list_from_mapfile)
1330 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
1331 arguments is not reversed.
1332 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
1333 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
1334
7bd872fe
EZ
13352002-01-22 Elena Zannoni <ezannoni@redhat.com>
1336
1337 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
1338 modified version of obsolete sh_fetch_pseudo_register.
1339 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
1340 (sh4_register_read): New function.
1341 (sh_pseudo_register_write): New function. Renamed and modified
1342 version of obsolete sh_store_pseudo_register.
1343 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
1344 (sh4_register_write): New function.
1345 (sh_gdbarch_init): Remove setting of gdbarch function
1346 fetch_pseudo_register and store_pseudo_register. Remove setting of
1347 register_convert_to_raw, register_convert_to_virtual,
1348 register_convertible.
1349 (sh_sh4_register_convertible): Delete. No longer needed. All is
1350 taken care by architecture specific functions
1351 register_read/register_write.
1352 (sh_sh4_register_convert_to_virtual): Make static.
1353 (sh_sh4_register_convert_to_raw): Ditto.
1354
069e84fd
AC
13552002-01-22 Andrew Cagney <ac131313@redhat.com>
1356
1357 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
1358 (floatformat_is_nan, floatformat_mantissa): Ditto.
1359
1360 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
1361 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
1362 builtin_type_ieee_double_little,
1363 builtin_type_ieee_double_littlebyte_bigword,
1364 builtin_type_m68881_ext, builtin_type_i960_ext,
1365 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
1366 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
1367 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
1368 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
1369
211a4f69
CV
13702002-01-22 Corinna Vinschen <vinschen@redhat.com>
1371
1372 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
1373 parameter. Set frameless flag if it exists and depended of
1374 whether the scanned function is frameless or not.
1375 (xstormy16_skip_prologue): If function is frameless, return
1376 result of xstormy16_scan_prologue().
1377 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
1378 call.
1379
f81353e4
EZ
13802002-01-21 Elena Zannoni <ezannoni@redhat.com>
1381
1382 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
1383 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1384 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
1385 sh_sh4_register_byte, sh_sh4_register_raw_size,
1386 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
1387 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
1388 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
1389 sh_store_pseudo_register, sh_do_pseudo_register): Call
1390 gdbarch_tdep() just once, assign result to variable and use that,
1391 instead of calling the function several times.
1392
63c73a17
MK
13932002-01-20 Mark Kettenis <kettenis@gnu.org>
1394
1395 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
1396 macros instead of LAST_FPU_CTRL_REGNUM.
1397 (store_register): Likewise.
1398
39ad761d
JB
13992002-01-21 Jim Blandy <jimb@redhat.com>
1400
1401 * infcmd.c (run_command): Check that the `exec' target layer's BFD
1402 is up-to-date before running the program, not just when a program
1403 exits.
1404
3d74b771
FF
14052002-01-21 Fred Fish <fnf@redhat.com>
1406
1407 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
1408 when we have found all instructions we are looking for.
1409
966fbf70
RE
14102002-01-21 Richard Earnshaw <rearnsha@arm.com>
1411
1412 * arm-tdep.c (arm_register_name): New function.
1413 (arm_registers_names): Make static.
1414 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
1415 (arm_register_name): Declare.
1416 (REGISTER_NAME): Use it.
1417
c3b4394c
RE
14182002-01-21 Richard Earnshaw <rearnsha@arm.com>
1419 Kevin Buettner <kevinb@redhat.com>
1420
1421 Convert arm targets to new FRAME interface.
1422 * arm-tdep.c (struct frame_extra_info): Remove fsr.
1423 (arm_frame_find_save_regs): Delete.
1424 (arm_frame_init_saved_regs): New.
1425 (arm_init_extra_frame_info): Alloacte saved_regs as required.
1426 Allocate extra_info as required. Convert all uses of fsr.regs
1427 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
1428 to use extra_info.
1429 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
1430 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
1431 (check_prologue_cache, save_prologue_cache): Likewise.
1432 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
1433 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
1434 (FRAME_FIND_SAVED_REGS): Delete.
1435 (arm_frame_find_saved_regs): Delete prototype.
1436 (arm_frame_init_saved_regs): New prototype.
1437 (FRAME_INIT_SAVED_REGS): Define.
1438
61d99182
AC
14392002-01-20 Andrew Cagney <ac131313@redhat.com>
1440
1441 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
1442
6aaea291
AC
14432002-01-20 Andrew Cagney <ac131313@redhat.com>
1444
1445 From Jeff Law <law@redhat.com>:
1446 * infttrace.c: Include <sys/pstat.h>.
1447 (child_pid_to_exec_file): Revamp. Use pstat call to get the
1448 exec file if the ttrace equivalent fails.
1449
15f698d2
AC
14502002-01-20 Andrew Cagney <ac131313@redhat.com>
1451
1452 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
1453 (closeLogFile): Ditto.
1454
f86ddd7c
MC
14552002-01-20 Michael Chastain <mec@shout.net>
1456
1457 * top.c (print_gdb_version): Bump copyright year to 2002.
1458
904507ce
AC
14592002-01-20 Andrew Cagney <ac131313@redhat.com>
1460
1461 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
1462 Zannoni and Eli Zaretskii.
1463
d7f0b9ce
DJ
14642002-01-20 Daniel Jacobowitz <drow@mvista.com>
1465
1466 * buildsym.c: Update copyright years.
1467 * c-typeprint.c: Likewise.
1468 * dwarf2read.c: Likewise.
1469 * f-typeprint.c: Likewise.
1470 * gdbtypes.c: Likewise.
1471 * gdbtypes.h: Likewise.
1472 * hp-symtab-read.c: Likewise.
1473 * hpread.c: Likewise.
1474 * mdebugread.c: Likewise.
1475 * p-typeprint.c: Likewise.
1476
3fd3d7d2
AC
14772002-01-20 Andrew Cagney <ac131313@redhat.com>
1478
1479 * remote-sim.c (gdbsim_open): Simplify code testing the macro
1480 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
1481 byte-order selectable.
1482 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
1483 * arch-utils.c: Ditto.
1484 (set_endian): Ditto.
1485 (set_endian_from_file): Ditto.
1486 * gdbserver/low-sim.c (create_inferior): Ditto.
1487 * gdbarch.sh: Ditto.
1488 * gdbarch.h: Re-generate.
1489 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1490 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
1491 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
1492 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1493 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1494 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
1495 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
1496 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
1497 macro definition.
1498 * config/mips/tm-wince.h: Remove #undef of macro
1499 TARGET_BYTE_ORDER_SELECTABLE.
1500 * config/sh/tm-wince.h: Ditto.
1501
b02dede2
DJ
15022002-01-20 Daniel Jacobowitz <drow@mvista.com>
1503
1504 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
1505 member function fields. Add accessor macro
1506 TYPE_FN_FIELD_ARTIFICIAL.
1507 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
1508 * c-typeprint.c (c_type_print_base): Skip artificial member
1509 functions.
1510
c3643761
DJ
15112002-01-20 Daniel Jacobowitz <drow@mvista.com>
1512
1513 * f-typeprint.c: Delete unused function f_type_print_args.
1514 * p-typeprint.c: Delete unused function pascal_type_print_args.
1515
8176bb6d
DJ
15162002-01-20 Daniel Jacobowitz <drow@mvista.com>
1517
1518 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
1519 comment. Add ``artificial'' to ``union field_location''.
1520
1521 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
1522
1523 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
1524 * mdebugread.c (parse_symbol): Likewise.
1525 * stabsread.c (define_symbol): Likewise.
1526 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
1527 initializing TYPE_FIELD_BITPOS to n (obsolete).
1528 (hpread_doc_function_type): Likewise.
1529 * hpread.c (hpread_function_type): Likewise.
1530
7fd60527
AC
15312002-01-20 Andrew Cagney <ac131313@redhat.com>
1532
1533 * configure.in (host_makefile_frag): Only require a host makefile
1534 fragment when a native build.
1535 * configure: Re-generate.
1536
c2f05ac9
AC
15372002-01-20 Andrew Cagney <ac131313@redhat.com>
1538
1539 * doublest.h (floatformat_from_type): Declare.
1540 * doublest.c (floatformat_from_type): New function.
1541 (convert_typed_floating): Use.
1542
1543 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
1544 call to function floatformat_from_type.
1545
1546 * gdbarch.sh (IEEE_FLOAT): Delete.
1547 * gdbarch.h, gdbarch.c: Re-generate.
1548 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
1549 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
1550 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
1551 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
1552 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
1553 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
1554 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
1555 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
1556 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
1557 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
1558 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
1559 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
1560
1561 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
1562 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
1563 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1564 * sh-tdep.c (sh_gdbarch_init): Ditto.
1565 * mips-tdep.c (mips_gdbarch_init): Ditto.
1566 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1567 * cris-tdep.c (cris_gdbarch_init): Ditto.
1568
abf22e64
AJ
15692002-01-20 Jiri Smid <smid@suse.cz>
1570
1571 * configure.host, configure.tgt: Support x86-64.
1572 * NEWS: Note new target x86-64.
1573
b7c4cbf8
AJ
1574 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
1575 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
1576 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
1577 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
1578 x86-64-linux-nat.o): Fix dependencies.
1579
82600034
AC
15802002-01-19 Andrew Cagney <ac131313@redhat.com>
1581
1582 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
1583 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
1584 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
1585 * config/sparc/xm-sun4os4.h: Delete file.
1586 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 1587
bbe5c628
AC
15882002-01-19 Andrew Cagney <ac131313@redhat.com>
1589
1590 * config/sparc/sparclynx.mh (XM_FILE): Delete.
1591 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
1592 * config/m68k/m68klynx.mh (XM_FILE): Delete.
1593 * config/i386/i386lynx.mh (XM_FILE): Delete.
1594 * config/rs6000/xm-rs6000ly.h: Delete file.
1595 * config/sparc/xm-sparclynx.h: Delete file.
1596 * config/m68k/xm-m68klynx.h: Delete file.
1597 * config/i386/xm-i386lynx.h: Delete file.
1598 * config/xm-lynx.h: Delete file.
1599 * config/djgpp/fnchange.lst: Update.
1600
f8453e34
JT
16012002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1602
1603 * alpha-tdep.c (alpha_register_byte): New function.
1604 (alpha_register_raw_size): Ditto.
1605 (alpha_register_virtual_size): Ditto.
1606 (alpha_skip_prologue_internal): Renamed from
1607 alpha_skip_prologue.
1608 (alpha_skip_prologue): New version that calls
1609 alpha_skip_prologue_internal.
1610 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
1611 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
1612 second argument from alpha_skip_prologue.
1613 (REGISTER_BYTE): Use alpha_register_byte.
1614 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
1615 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
1616 (FRAMELESS_FUNCTION_INVOCATION): Use
1617 generic_frameless_function_invocation_not.
1618 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
1619 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
1620
52d9e613
AC
16212002-01-19 Andrew Cagney <ac131313@redhat.com>
1622
1623 * config/mips/xm-news-mips.h: Delete file.
1624 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
1625
1626 * config/m88k/xm-m88k.h: Delete file.
1627 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
1628 * config/m88k/xm-delta88v4.h: Ditto.
1629 * config/m88k/xm-delta88.h: Ditto.
1630
1631 * config/alpha/xm-fbsd.h: Delete file.
1632 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
1633
1634 * config/sparc/xm-sparc.h: Delete file.
1635 * Makefile.in (xm-sun4os4.h): Delete dependency.
1636 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
1637 * config/sparc/xm-sun4os4.h: Ditto.
1638 * config/sparc/xm-linux.h: Ditto.
1639
1640 * config/i386/xm-windows.h: Delete file.
1641
2d1b2124
AC
16422002-01-19 Andrew Cagney <ac131313@redhat.com>
1643
1644 * utils.c: Include <sys/param.h> for MAXPATHLEN.
1645 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
1646
ee1f65f0
JT
16472002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1648
1649 * alpha-tdep.c (alpha_call_dummy_words): New.
1650 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
1651 (CALL_DUMMY_P): Define.
1652 (CALL_DUMMY_WORDS): Define.
1653 (SIZEOF_CALL_DUMMY_WORDS): Define.
1654
98081e55
PB
16552002-01-19 Per Bothner <per@bothner.com>
1656
1657 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
1658 isn't NULL, which can happen with some gcj-3.x-produced code.
1659
0d056799
JT
16602002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1661
1662 * alpha-tdep.c (alpha_register_virtual_type): New function.
1663 (alpha_init_frame_pc_first): Ditto.
1664 (alpha_fix_call_dummy): Ditto.
1665 (alpha_store_struct_return): Ditto.
1666 (alpha_extract_struct_value_address): Ditto.
1667 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
1668 alpha_register_virtual_type.
1669 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
1670 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
1671 alpha_extract_struct_value_address.
1672 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
1673 (INIT_FRAME_PC): Use init_frame_pc_noop.
1674 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
1675
4604bcad
MK
16762002-01-19 Mark Kettenis <kettenis@gnu.org>
1677
1678 * i386gnu-nat.c: Include "i386-tdep.h".
1679 (fetch_fpregs): Simplify code dealing with uninitialized floating
1680 point states such that it doesn't require FP7_REGNUM.
1681
140f9984
JT
16822002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1683
abf22e64
AJ
1684 * alpha-tdep.c (frame_extra_info): New.
1685 (alpha_find_saved_regs): Make static. Use
140f9984
JT
1686 frame->extra_info.
1687 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
1688 (alpha_frame_saved_pc): Use frame->extra_info.
1689 (temp_saved_regs): Don't declare as struct frame_saved_regs.
1690 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
1691 (init_extra_frame_info): Rename to...
1692 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 1693 (alpha_print_extra_frame_info): New function.
140f9984
JT
1694 (alpha_frame_locals_address): Ditto.
1695 (alpha_frame_args_address): Ditto.
abf22e64 1696 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
1697 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
1698 alpha_frame_args_address.
abf22e64 1699 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 1700 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
1701 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
1702 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
1703 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
1704 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
1705
d734c450
JT
17062002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1707
1708 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
1709 (alpha_cannot_fetch_register): Ditto.
1710 (alpha_cannot_store_register): Ditto.
1711 (alpha_register_convertible): Ditto.
1712 (alpha_use_struct_convention): Ditto.
1713 * config/alpha/tm-alpha.h: Update copyright years.
1714 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
1715 (INNER_THAN): Use core_addr_lessthan.
1716 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
1717 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
1718 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
1719 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
1720 (FRAME_CHAIN): Remove unnecessary cast.
1721
b4ceaee6
AC
17222002-01-18 Andrew Cagney <ac131313@redhat.com>
1723
1724 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1725 obsolete.
1726
0a65a603
AC
17272002-01-18 Andrew Cagney <ac131313@redhat.com>
1728
1729 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1730 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1731 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1732 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1733 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1734 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1735 * x86-64-linux-nat.c: Ditto.
1736
636a6dfc
JT
17372002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1738
abf22e64 1739 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
1740 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1741 (REGISTER_NAME): Define.
1742
acceddb6
JT
17432002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1744
1745 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1746
ec32e4be
JT
17472002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1748
1749 * alpha-tdep.c: Update copyright years.
1750 (alpha_next_pc): New function.
1751 (alpha_software_single_step): Ditto.
1752 * config/alpha/tm-alpha.h: Add prototype for
1753 alpha_software_single_step.
1754
e771a871
JT
17552002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1756
1757 * alphabsd-nat.c: Update copyright years.
1758 (fill_gregset): Use regcache_collect.
1759 (fill_fpregset): Likewise.
1760 (fetch_inferior_registers): Only fetch integer registers
1761 if requested to do so.
1762 (store_inferior_registers): Only store integer registers
1763 if requested to do so.
1764
7708fa01
AC
17652002-01-17 Andrew Cagney <ac131313@redhat.com>
1766
1767 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1768 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1769 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1770 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1771 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1772 * config/arm/linux.mh (XDEPFILES): Delete.
1773 * config/arm/nbsd.mh (XDEPFILES): Delete.
1774 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1775 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1776 * config/i386/i386m3.mh (XDEPFILES): Delete.
1777 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1778 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1779 * config/i386/fbsd.mh (XDEPFILES): Delete.
1780 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1781 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1782 * config/i386/i386v4.mh (XDEPFILES): Delete.
1783 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1784 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1785 * config/i386/i386aix.mh (XDEPFILES): Delete.
1786 * config/i386/go32.mh (XDEPFILES): Delete.
1787 * config/i386/cygwin.mh (XDEPFILES): Delete.
1788 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1789 * config/i386/i386mach.mh (XDEPFILES): Delete.
1790 * config/i386/i386v32.mh (XDEPFILES): Delete.
1791 * config/i386/linux.mh (XDEPFILES): Delete.
1792 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1793 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1794 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1795 * config/i386/i386sco.mh (XDEPFILES): Delete.
1796 * config/i386/i386v.mh (XDEPFILES): Delete.
1797 * config/i386/nbsd.mh (XDEPFILES): Delete.
1798 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1799 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1800 * config/i386/symmetry.mh (XDEPFILES): Delete.
1801 * config/i386/obsd.mh (XDEPFILES): Delete.
1802 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1803 * config/ia64/linux.mh (XDEPFILES): Delete.
1804 * config/ia64/aix.mh (XDEPFILES): Delete.
1805 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1806 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1807 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1808 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1809 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1810 * config/m68k/linux.mh (XDEPFILES): Delete.
1811 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1812 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1813 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1814 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1815 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1816 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1817 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1818 * config/m88k/delta88.mh (XDEPFILES): Delete.
1819 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1820 * config/m88k/m88k.mh (XDEPFILES): Delete.
1821 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1822 * config/mips/linux.mh (XDEPFILES): Delete.
1823 * config/mips/irix6.mh (XDEPFILES): Delete.
1824 * config/mips/irix5.mh (XDEPFILES): Delete.
1825 * config/mips/irix4.mh (XDEPFILES): Delete.
1826 * config/mips/irix3.mh (XDEPFILES): Delete.
1827 * config/mips/decstation.mh (XDEPFILES): Delete.
1828 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1829 (NATDEPFILES): Move core-aout.o to here.
1830 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1831 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1832 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1833 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1834 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1835 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1836 * config/pa/hpux11.mh (XDEPFILES): Delete.
1837 * config/powerpc/aix.mh (XDEPFILES): Delete.
1838 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1839 * config/powerpc/linux.mh (XDEPFILES): Delete.
1840 * config/romp/rtbsd.mh: Rename XDEPFILES.
1841 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1842 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1843 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1844 * config/s390/s390.mh (XDEPFILES): Delete.
1845 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1846 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1847 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1848 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1849 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1850 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1851 * config/sparc/linux.mh (XDEPFILES): Delete.
1852 * config/vax/vaxult.mh (XDEPFILES): Delete.
1853 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1854 * Makefile.in (DEPFILES): Remove XDEPFILES.
1855
375fc983
AC
18562002-01-17 Andrew Cagney <ac131313@redhat.com>
1857
1858 * utils.c (internal_verror): Fix comments, default is yes not no.
1859 Update queries to match. Default to quit and dump core.
1860
8926118c
AC
18612002-01-17 Andrew Cagney <ac131313@redhat.com>
1862
1863 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1864 copyright.
1865 * defs.h, event-top.c, gdbcmd.h: Ditto.
1866 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1867 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1868 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1869 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1870 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1871 * mi/mi-main.c:Ditto.
1872
1873 * stack.c, symfile.c: Update copyright.
1874
45b7b345
DJ
18752002-01-17 Daniel Jacobowitz <drow@mvista.com>
1876
db728ff7
DJ
1877 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1878 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1879 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1880 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 1881
db728ff7
DJ
18822002-01-17 Daniel Jacobowitz <drow@mvista.com>
1883
1884 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1885 * gdbserver/low-lynx.c (myattach): Likewise.
1886 * gdbserver/low-nbsd.c (myattach): Likewise.
1887 * gdbserver/low-sim.c (myattach): Likewise.
1888 * gdbserver/low-sparc.c (myattach): Likewise.
1889 * gdbserver/low-sun3.c (myattach): Likewise.
1890
1891 * gdbserver/low-linux.c (myattach): New function.
45b7b345 1892
db728ff7 1893 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
1894 (main): Handle "--attach".
1895
8de3c354
AC
18962002-01-16 Andrew Cagney <ac131313@redhat.com>
1897
1898 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1899 maintainer.
1900
b0129042
DJ
19012002-01-15 Daniel Jacobowitz <drow@mvista.com>
1902
1903 * c-typeprint.c (is_type_conversion_operator): Add additional
1904 check for non-conversion operators.
1905
ba8679fb 19062002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
1907
1908 * linux-proc.c: Add "info proc" command, a la procfs.c.
1909 (read_mapping): New function, abstract and re-use code.
1910 (linux_find_memory_regions): Use new func read_mapping.
1911 (linux_info_proc_cmd): New function, implement "info proc".
1912 (_initialize_linux_proc): Add new command "info proc".
1913
e4f9b4d5
MS
19142002-01-15 Michael Snyder <msnyder@redhat.com>
1915
1916 * symfile.c (generic_load): Use bfd_map_over_sections method
1917 instead of manipulating bfd structure members directly.
1918 (add_section_size_callback): New function, bfd sections callback
1919 used by generic_load.
1920 (load_sections_callback): New function, bfd sections callback
1921 used by generic_load.
1922
08cf96df
EZ
19232002-01-15 Elena Zannoni <ezannoni@redhat.com>
1924
abf22e64 1925 [Based on work by Jim Blandy]
08cf96df
EZ
1926 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1927 (builtin_type_vec128): Export.
1928 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1929 types.
1930 (builtin_type_vec128): New builtin type for 128 bit vector
1931 registers.
1932 (build_gdbtypes): Initialize builtin_type_v16qi and
1933 builtin_type_v8hi. Create the vec128 register builtin type
1934 structure.
1935 (build_builtin_type_vec128): New function.
abf22e64 1936 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
1937 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1938 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1939 AltiVec register to new builtin type.
1940
d7242108
DJ
19412001-01-15 Daniel Jacobowitz <drow@mvista.com>
1942
1943 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1944 to make_cv_type.
1945
4ee3352d
AC
19462002-01-14 Andrew Cagney <ac131313@redhat.com>
1947
1948 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1949 CLEAN_UP_REGISTER_VALUE.
1950 * regcache.c (supply_register): Update only call.
1951
f015b2e7
AC
19522002-01-14 Andrew Cagney <ac131313@redhat.com>
1953
1954 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1955 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1956 a29k-*-vxworks* targets as obsolete.
1957
356ae49d
MS
19582002-01-14 Michael Snyder <msnyder@redhat.com>
1959
1960 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1961 until we can resolve portability issues.
1962 * gregset.h: Remove references to fpxregs.
1963 * gcore.c (gcore_command): Initialize note_sec to NULL.
1964
ade8f45e
AC
19652002-01-13 Andrew Cagney <ac131313@redhat.com>
1966
1967 * signals.c (target_signal_to_name): Rewrite. Only use
1968 signals[].name when in bounds and non-NULL.
abf22e64 1969
89c49e7a
AC
19702002-01-13 Andrew Cagney <ac131313@redhat.com>
1971
1972 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1973 * signals.c (target_signal_to_name): Verify that SIG is within the
1974 bounds of the signals array.
1975
4daa9f9f
AC
19762002-01-13 Andrew Cagney <ac131313@redhat.com>
1977
1978 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1979
ba4bbdcb
KS
19802002-01-13 Keith Seitz <keiths@redhat.com>
1981
1982 * stack.c (print_frame_info_base): Print the frame's pc
1983 only if when print_frame_info_listing_hook is not defined.
1984
575bbeb6
KS
19852002-01-13 Keith Seitz <keiths@redhat.com>
1986
1987 * varobj.c (varobj_set_value): Make sure that there were no
1988 errors evaluating the object before attempting to set its
1989 value.
1990 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1991 so this offset adjustment is no longer necessary.
1992 (create_child): Don't set the error flag if the child is
1993 a CPLUS_FAKE_CHILD.
1994 (value_of_child): If value_fetch_lazy fails, return NULL
1995 so that callers will be notified that an error occurred.
1996 (c_value_of_variable): Delay check of variable's validity
1997 until later. We actually want all structs and unions to have
1998 the value "{...}".
1999 Do not return "???" for variables which could not be evaluated.
2000 This error condition must be returned to the caller so that it
2001 can get the error condition from gdb.
2002 (cplus_name_of_child): Adjust index for vptr before figuring
2003 out the name of the child.
2004 (cplus_value_of_child): If a child's (real) parent is not valid,
2005 don't even bother trying to give a value for it. Just return
2006 an error. Change all instances in this function.
2007 (cplus_type_of_child): If our parent is one of the "fake"
2008 parents, we need to get at the type of the real parent, and
2009 derive the child's true type using this information.
2010
b76898ab
AC
20112002-01-13 Andrew Cagney <ac131313@redhat.com>
2012
2013 From 2002-01-09 John Marshall <johnm@falch.net>:
2014 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2015 sources.redhat.com, and tweak some related URLs which had
2016 suffered from linkrot.
2017
b6649e88
AC
20182002-01-13 Andrew Cagney <ac131313@redhat.com>
2019
2020 From Jeff law:
2021 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2022 structures passed in registers.
2023
82cc5033
EZ
20242002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2025
2026 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2027 white space which prevented compilation. Reported by DSK
2028 <dsk@student.unsw.edu.au>.
2029
ba5f2f8a
MS
20302002-01-11 Michael Snyder <msnyder@redhat.com>
2031
fbd35540
MS
2032 * symfile.c (build_section_addr_info_from_section_tab):
2033 Use bfd access method instead of manipulating bfd directly.
2034 (syms_from_objfile): Ditto.
2035 (simple_overlay_update_1): Ditto.
2036 (simple_overlay_update): Ditto.
2037 (generic_load): Ditto.
2038 (overlay_unmapped_address): FIXME comment, bfd access methods.
2039 (sections_overlap): FIXME comment, bfd access methods.
2040 (pc_in_mapped_range): FIXME comment, bfd access methods.
2041 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2042 (section_is_mapped): FIXME comment, bfd access methods.
2043 (section_is_overlay): FIXME comment, bfd access methods.
2044
ba5f2f8a
MS
2045 * symfile.c (generic_load): Whitespace and long line cleanups.
2046 Remove duplicate variable, change several local variables to
2047 more appropriate data types.
2048 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2049
17df2af6
AC
20502002-01-12 Andrew Cagney <ac131313@redhat.com>
2051
2052 From Peter Schauer:
2053 * language.c (longest_local_hex_string_custom): Use phex_nz to
2054 convert NUM to a hex string.
2055
ec920329
EZ
20562002-01-12 Elena Zannoni <ezannoni@redhat.com>
2057
2058 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2059 the function.
538a76d6 2060 Update Copyright year.
ec920329 2061
3abd2e01
AC
20622002-01-12 Andrew Cagney <ac131313@redhat.com>
2063
2064 * language.c (longest_raw_hex_string): Delete unused function.
2065
b21b22e0
PS
20662002-01-11 Petr Sorfa <petrs@caldera.com>
2067
2068 * MAINTAINERS (write-after-approval): Add myself.
2069 * dwarf2read.c (read_tag_string_type): Handling of
2070 DW_AT_byte_size.
2071 (read_tag_string_type): FORTRAN fix to prevent propagation of
2072 first string size.
2073 (set_cu_language): Handling of DW_LANG_Fortran95
2074
747fe712
RE
20752002-01-11 Richard Earnshaw <rearnsha@arm.com>
2076
2077 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2078 GETPID(inferior_ptid).
2079 (store_inferior_registers): Likewise.
2080
f1bea926
JM
20812002-01-10 Jason Merrill <jason@redhat.com>
2082
2083 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2084 Fix DW_OP_minus.
2085
ae940673
AC
20862002-01-10 Andrew Cagney <ac131313@redhat.com>
2087
2088 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2089 and bfd/elf32-sh-nbsd.c.
2090
00546b04
MS
20912002-01-10 Michael Snyder <msnyder@redhat.com>
2092
352ed7b4
MS
2093 * NEWS: Mention --pid and corefile/proc-id behavior change.
2094
c18be923
MS
2095 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2096 * gcore.c: Include cli/cli-decode.h instead of command.h.
2097
00546b04
MS
2098 * main.c (captured_main): Add new command line option "--pid".
2099 If the second command line argument (following the symbol-file)
2100 begins with a digit, try to attach to it before trying to open
2101 it as a corefile.
2102 (print_gdb_help): Document the "--pid" argument.
2103
db60ec62
EZ
21042002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2105
2106 * completer.c (command_completer): New function.
2107
2108 * completer.h <command_completer>: Add prototype.
2109
2110 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2111 completer for the "help" command.
2112
39c22d1a
JM
21132002-01-09 Jason Merrill <jason@redhat.com>
2114
2115 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2116
c564377f
MS
21172002-01-09 Michael Snyder <msnyder@redhat.com>
2118
975aec09
MS
2119 * i386-linux-nat.c (fill_fpxregset): Make global.
2120 (store_fpxregset): Ditto.
2121
db4a10fa
MS
2122 * gregset.h (gdb_fpxregset_t): Define.
2123 (supply_fpxregset): Prototype.
2124 (fill_fpxregset): Prototype.
2125
c564377f
MS
2126 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2127
c3d45d70
RE
21282002-01-09 Richard Earnshaw <rearnsha@arm.com>
2129
2130 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2131 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2132 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2133
fcc87af1
AC
21342002-01-09 Andrew Cagney <ac131313@redhat.com>
2135
2136 * MAINTAINERS: Update target maintainer rules so that any
2137 Maintainer can approve a tested patch for a maintenance-only
2138 target.
2139
dd96c05b
RE
21402002-01-09 Richard Earnshaw <rearnsha@arm.com>
2141
d4297db9 2142 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 2143
d4297db9 2144 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
2145 IN_SIGTRAMP.
2146
145fdc6e
MS
21472002-01-08 Michael Snyder <msnyder@redhat.com>
2148
2149 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2150 real name of the executable, rather than the /proc name.
2151
be4d1333
MS
21522002-01-03 Michael Snyder <msnyder@redhat.com>
2153
2154 Implement a "generate-core-file" command in gdb, save target state.
2155 * gcore.c: New file. Implement new command 'generate-core-file'.
2156 Save a corefile image of the current state of the inferior.
2157 * linux-proc.c: Add linux-specific code for saving corefiles.
2158 * target.h (struct target_ops): Add new target vectors for saving
2159 corefiles; to_find_memory_regions and to_make_corefile_notes.
2160 (target_find_memory_regions): New macro.
2161 (target_make_corefile_notes): New macro.
2162 * target.c (update_current_target): Inherit new target methods.
2163 (dummy_find_memory_regions): New place-holder method.
2164 (dummy_make_corefile_notes): New place-holder method.
2165 (init_dummy_target): Initialize new dummy target vectors.
2166 * exec.c (exec_set_find_memory_regions): New function.
2167 Allow the exec_ops vector for memory regions to be taken over.
2168 (exec_make_note_section): New function, target vector method.
2169 * defs.h (exec_set_find_memory_regions): Export prototype.
2170 * procfs.c (proc_find_memory_regions): New function, corefile method.
2171 (procfs_make_note_section): New function, corefile method.
2172 (init_procfs_ops): Set new target vector pointers.
2173 (find_memory_regions_callback): New function.
2174 (procfs_do_thread_registers): New function.
2175 (procfs_corefile_thread_callback): New function.
2176 * sol-thread.c (sol_find_memory_regions): New function.
2177 (sol_make_note_section): New function.
2178 (init_sol_thread_ops): Initialize new target vectors.
2179 * inftarg.c (inftarg_set_find_memory_regions): New function.
2180 Allow to_find_memory_regions vector to be taken over.
2181 (inftarg_set_make_corefile_notes): New function.
2182 Allow to_make_corefile_notes vector to be taken over.
2183 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
2184 interface layer if not target_has_execution (may be a corefile).
2185 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
2186 * config/sparc/sun4sol2.mh: Ditto.
2187 * config/alpha/alpha-linux.mh: Ditto.
2188 * config/arm/linux.mh: Ditto.
2189 * config/i386/x86-64linux.mh: Ditto.
2190 * config/ia64/linux.mh: Ditto.
2191 * config/m68k/linux.mh: Ditto.
2192 * config/mips/linux.mh: Ditto.
2193 * config/powerpc/linux.mh: Ditto.
2194 * config/sparc/linux.mh: Ditto.
2195
c6b92abd
MS
21962002-01-07 Michael Snyder <msnyder@redhat.com>
2197
2198 * arm-linux-nat.c: Remove references to regcache.c internal data
2199 (registers[] and register_valid[]).
2200
4b09dc8c
MS
22012002-01-07 Michael Snyder <msnyder@redhat.com>
2202
abf22e64
AJ
2203 * linux-proc.c: New file. Implement child_pid_to_exec_file,
2204 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
2205 symbol file and shlibs.
2206 * Makefile.in: Add rule for linux-proc.o.
2207 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
2208 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
2209 * config/arm/linux.mh: Ditto.
2210 * config/i386/linux.mh: Ditto.
2211 * config/i386/x86-64linux.mh: Ditto.
2212 * config/ia64/linux.mh: Ditto.
2213 * config/m68k/linux.mh: Ditto.
2214 * config/mips/linux.mh: Ditto.
2215 * config/powerpc/linux.mh: Ditto.
2216 * config/sparc/linux.mh: Ditto.
2217
c25b74ac
PM
22182002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
2219
2220 * win32-nat.c: Add i386-tdep.h dependency.
2221
94cd915f
MS
22222002-01-07 Michael Snyder <msnyder@redhat.com>
2223
c7cccb76
MS
2224 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
2225 instead of bfd_get_arch_size. Don't bail out just because
2226 there's no exec_bfd.
abf22e64 2227
34c0bd93
MS
2228 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
2229 * p-valprint.c (pascal_object_print_value): Ditto.
2230 * somread.c (som_symtab_read): Ditto.
2231 * symfile.c (simple_free_overlay_region_table): Ditto.
2232 * valops.c (value_assign): Ditto.
2233
21c1c920
MS
2234 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
2235 use tilde_expand and strerror for opening save-tracepoints file.
2236
5bbd998e
MS
2237 * thread-db.c (thread_db_new_objfile): Indendation fix.
2238
94cd915f
MS
2239 * infptrace.c (GDB_MAX_ALLOCA): New define.
2240 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 2241 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
2242 can be overridden with whatever value is appropriate to the host).
2243 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
2244 alloca to allocate potentially large buffer.
2245 * rs6000-nat.c (child_xfer_memory): Ditto.
2246 * symm-nat.c (child_xfer_memory): Ditto.
2247 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
2248
494e8a93
JSC
22492002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
2250
2251 From Nick Clifton <nickc@redhat.com>
2252 * d10v-tdep.c: Set STACK_START to 0x200bffe.
2253
d0e1d48e
MS
22542002-01-07 Michael Snyder <msnyder@redhat.com>
2255
abf22e64 2256 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
2257 Don't use exec_bfd if it's NULL.
2258
290b2c7a
MK
22592002-01-06 Mark Kettenis <kettenis@gnu.org>
2260
abf22e64 2261 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 2262
aef21287
AC
22632002-01-06 Andrew Cagney <ac131313@redhat.com>
2264
2265 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
2266 * gnu-nat.c: Ditto.
2267
30efa627
AC
22682002-01-06 Andrew Cagney <ac131313@redhat.com>
2269
2270 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
2271 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
2272 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
2273 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
2274 z8k-coff have not been multi-arched. Update z8k-coff build
2275 status.
2276
9b4ff276
AC
22772002-01-06 Andrew Cagney <ac131313@redhat.com>
2278
2279 * MAINTAINERS: Mark a29k target as obsolete.
2280 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
2281 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
2282 comments.
2283 * NEWS: Note that a29k targets are obsolete.
2284 * a29k-tdep.c: Mark as obsolete.
2285 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2286 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2287 a29k-*-vxworks* targets as obsolete.
2288 * remote-adapt.c: Obsolete.
2289 * remote-eb.c: Obsolete.
2290 * remote-mm.c: Obsolete.
2291 * remote-udi.c: Obsolete.
2292 * config/a29k/a29k-udi.mt: Obsolete.
2293 * config/a29k/a29k.mt: Obsolete.
2294 * config/a29k/tm-a29k.h: Obsolete.
2295 * config/a29k/tm-vx29k.h: Obsolete.
2296 * config/a29k/vx29k.mt: Obsolete.
2297
a9011d31
AC
22982002-01-05 Andrew Cagney <ac131313@redhat.com>
2299
2300 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
2301 with BFD_ENDIAN_BIG.
2302
9299404e
AC
23032002-01-05 Andrew Cagney <ac131313@redhat.com>
2304
2305 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
2306 * configure, config.in: Re-generate.
2307 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
2308 * defs.h: Do not include <endian.h>.
2309
7e89e357
JT
23102002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
2311
2312 * acconfig.h (HAVE_PT_GETXMMREGS): New.
2313 * config.in: Regenerate.
2314 * configure.in: Update copyright years.
2315 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
2316 * configure: Regenerate.
2317 * i386bsd-nat.c: Update copyright years.
2318 (fill_gregset): Use regcache_collect.
2319 (fetch_inferior_registers): Only fetch integer registers
2320 if requested to do so. Add support for XMM registers
2321 using PT_GETXMMREGS.
2322 (store_inferior_registers): Only store integer registers
2323 if requested to do so. Add support for XMM registers
2324 using PT_SETXMMREGS.
2325 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
2326 (store_inferior_registers): Remove.
2327 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
2328 (fetch_elfcore_registers): New function.
2329 (i386nbsd_elfcore_fns): New.
2330 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
2331 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
2332 i386bsd-nat.o.
2333 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
2334 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
2335 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
2336 * config/i386/tm-nbsd.h: Update copyright years.
2337 (HAVE_SSE_REGS): Define.
2338 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
2339 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
2340 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
2341 (SIGCONTEXT_PC_OFFSET): Remove.
2342 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
2343
a752853e
AC
23442002-01-05 Andrew Cagney <ac131313@redhat.com>
2345
2346 * configure.tgt: Remove powerpc-*-macos* target.
2347 * config/m68k/xm-mpw.h: Delete file.
2348 * config/xm-mpw.h: Delete file.
2349 * ser-mac.c: Delete file.
2350 * mpw-make.sed: Delete file.
2351 * mpw-config.in: Delete file.
2352 * mac-xdep.c: Delete file.
2353 * mac-gdb.r: Delete file.
2354 * mac-defs.h: Delete file.
2355 * mac-nat.c: Delete file.
2356 * config/powerpc/macos.mh: Delete file.
2357 * config/powerpc/macos.mt: Delete file.
2358 * config/powerpc/nm-macos.h: Delete file.
2359 * config/powerpc/tm-macos.h: Delete file.
2360 * source.c (openp, open_source_file): Remove obsolete code.
2361 * top.c (gdb_readline): Ditto.
2362 * utils.c (query): Ditto.
2363 * event-top.c (display_gdb_prompt): Ditto.
2364 * Makefile.in (ser-mac.o): Delete obsolete target.
2365 * NEWS: Update.
2366
d7449b42
AC
23672002-01-04 Andrew Cagney <ac131313@redhat.com>
2368
2369 * defs.h (BIG_ENDIAN): Delete macro definition.
2370 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
2371 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
2372 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
2373 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2374 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
2375 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
2376 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
2377 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
2378 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
2379 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
2380 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
2381 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
2382 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2383 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
2384 * gdbarch.c: Re-generate.
2385
356374e8
DJ
23862002-01-04 Daniel Jacobowitz <drow@mvista.com>
2387
2388 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
2389 for core files.
2390
a2b8f8f8
JT
23912002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2392
2393 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
2394
12466af9
AC
23952002-01-04 Andrew Cagney <ac131313@redhat.com>
2396
2397 * value.h (value_ptr): Delete typedef.
2398
3549ab40
JT
23992002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2400
2401 * i386nbsd-nat.c: Update copyright years.
2402 Include i386-tdep.h.
2403
fedbd091
EZ
24042002-01-04 Elena Zannoni <ezannoni@redhat.com>
2405
2406 * stabsread.c: Update copyright years.
2407
2408 From Debashis Mahata <debashis.mahata@wipro.com>:
2409 (read_struct_fields): Deal with Sun C compiler erroneous stab
2410 output for structs and unions.
fec8b34f 2411 Fix PR gdb/269.
fedbd091 2412
eb43544b
DJ
24132002-01-04 Daniel Jacobowitz <drow@mvista.com>
2414
2415 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
2416 prototype.
2417
1514d34e
DJ
24182002-01-04 Daniel Jacobowitz <drow@mvista.com>
2419
2420 * cp-abi.c: Fix whitespace.
2421 (baseclass_offset): New wrapper function.
2422 * cp-abi.h (baseclass_offset): Add prototype.
2423 (struct cp_abi_ops): Add baseclass_offset pointer.
2424
2425 * valops.c (vb_match): Move to...
2426 * gnu-v2-abi.c (vb_match): here.
2427 * valops.c (baseclass_offset): Move to...
2428 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
2429
2430 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
2431
2432 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
2433 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
2434 * hpacc-abi.c (init_hpacc_ops): Likewise.
2435
7f8c9282
DJ
24362002-01-04 Daniel Jacobowitz <drow@mvista.com>
2437
2438 * valops.c (find_overload_match): Accept obj as a
2439 reference parameter. Update it before returning.
2440 * value.h (find_overload_match): Update prototype.
2441 * eval.c (evaluate_subexp_standard): Pass object to
2442 find_overload_match by reference.
2443
f23631e4
AC
24442002-01-03 Andrew Cagney <ac131313@redhat.com>
2445
2446 * valarith.c: Replace value_ptr with struct value pointer. Remove
2447 register attribute from value declarations.
2448 * valops.c: Ditto.
2449 * value.h: Ditto.
2450 * scm-lang.c (scm_lookup_name): Ditto.
2451
79e10fab 24522002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 2453
79e10fab
AC
2454 Abstract the functionality of iterating over mapped memory
2455 regions into a general purpose iterator function.
abf22e64 2456 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
2457 iterator for memory sections.
2458 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
2459 (solib_mappings_callback): New function, callback for above.
2460 (info_proc_mappings): Reimpliment using iterate_over_mappings.
2461 (info_mappings_callback): New function, callback for above.
2462
2463 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
2464
c5ad026a
MK
24652002-01-01 Mark Kettenis <kettenis@gnu.org>
2466
d2a7c97a
MK
2467 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
2468 * i386-tdep.c: Include "elf-bfd.h".
2469 (process_note_abi_tag_sections): New function.
2470 (i386_gdbarch_init): Add code to recognize various OS/ABI
2471 combinations.
2472
c5ad026a
MK
2473 * maint.c (_initialize_maint_cmds): Add missing \ in
2474 string-literal.
2475
a1a5b71e 2476For older changes see ChangeLog-2001
c906108c
SS
2477\f
2478Local Variables:
2479mode: change-log
2480left-margin: 8
2481fill-column: 74
2482version-control: never
2483End:
This page took 0.336291 seconds and 4 git commands to generate.