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