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