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