]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
0e98d0a7
DJ
12002-03-27 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdbserver/server.c (main): Call target_signal_to_host_p
4 and target_signal_to_host on signals received from the remote.
5 * gdbserver/remote-utils.c (prepare_resume_reply): Call
6 target_signal_from_host on signals sent to the remote.
7 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
8 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
9
3130066b
DJ
102002-03-27 Daniel Jacobowitz <drow@mvista.com>
11
12 * signals/signals.c: Include "server.h" in gdbserver build.
13 (target_signal_from_name): Don't use STREQ.
14 (_initialize_signals): Likewise. Don't include function in
15 gdbserver build.
16
9aedf4f4
DJ
172002-03-27 Daniel Jacobowitz <drow@mvista.com>
18
19 * signals.c: Moved to...
20 * signals/signals.c: Here.
21 * Makefile (signals.o): Update.
22
3fa41cdb
JL
232002-03-26 Jeff Law (law@redhat.com)
24
25 * somread.c (som_symtab_read): Remove some commented out code and
26 updated related comments. Do not set the minimal symbol table to
27 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
28 in a dynamic executable.
29 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
30 where we are unable to find the minimal symbol for the given
31 PC value.
32
ee677e8d
MS
332002-03-25 Jeff Law (law@redhat.com)
34
35 * linux-proc.c (read_mapping): Scan up to end of line for filename.
36
e76e1718
ML
372002-03-25 Michal Ludvig <mludvig@suse.cz>
38
39 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
40
18a642a1
AC
412002-03-23 Andrew Cagney <ac131313@redhat.com>
42
43 * command.h: Update copyright.
44 (struct cmd_list_element): Replace definition with opaque
45 declaration.
46 (enum cmd_types): Document that it will eventually be moved to
47 cli/cli-decode.h
48 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
49 (MALLOCED_REPLACEMENT): Delete macro.
50 * Makefile.in (cli_decode_h): Add $(command_h).
51 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
52 * top.c: Include "cli/cli-decode.h".
53 * completer.c: Include "cli/cli-decode.h".
54 * maint.c: Include "cli/cli-decode.h".
55 * cli/cli-decode.h: Include "command.h".
56 (enum command_class): Delete.
57 (enum cmd_types): Comment out.
58 (enum cmd_auto_boolean): Delete.
59 (enum var_types): Delete.
60
b2875cc0
AC
612002-03-23 Andrew Cagney <ac131313@redhat.com>
62
63 * cli/cli-decode.c: Include "gdb_assert.h".
64 (add_set_or_show_cmd): New static function.
65 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
66 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
67 all fields, such as func, from the set command.
68
3b45974e
AC
692002-03-23 Andrew Cagney <ac131313@redhat.com>
70
71 * MAINTAINERS (sh-elf): Change warning flag to -w.
72
823ca731
AC
732002-03-23 Andrew Cagney <cagney@redhat.com>
74
75 * defs.h (error): Add printf format attribute.
76 * thread-db.c (thread_from_lwp): Fix error format string.
77 * stack.c (parse_frame_specification): Ditto.
78 * cli/cli-decode.c (undef_cmd_error): Ditto.
79 * scm-lang.c (scm_lookup_name): Ditto.
80 * tracepoint.c (trace_error): Ditto.
81 * remote-utils.c (usage): Ditto.
82 * remote.c (compare_sections_command): Ditto.
83 Fix PR gdb/328.
84
0e101458
AC
852002-03-22 Andrew Cagney <ac131313@redhat.com>
86
87 * gdbtypes.c (append_composite_type_field): New function.
88 (init_composite_type): New function.
89 * gdbtypes.h (append_composite_type_field): Declare.
90 (init_composite_type): Ditto.
91
8e0662df
EZ
922002-03-22 Elena Zannoni <ezannoni@redhat.com>
93
94 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
95 function.
96 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
97 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
98 structure returning convention for SYSV ABI case, but not
99 for GNU/Linux, FreeBSD, or NetBSD.
100
3121eff0
DJ
1012002-03-22 Daniel Jacobowitz <drow@mvista.com>
102
103 * symtab.h (lookup_block_symbol): Add mangled_name argument
104 to prototype.
105
106 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
107 with new mangled_name argument.
108 * linespec.c (decode_line_1): Likewise.
109 * valops (value_of_this): Likewise.
110 * symtab.c (lookup_transparent_type): Likewise.
111 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
112 (lookup_symbol): If we are given a mangled name, pass it down
113 to lookup_symbol_aux.
114 (lookup_block_symbol): If we are given a mangled name to check
115 against, only return symbols which match it.
116
349b409f
CF
1172002-03-22 Christopher Faylor <cgf@redhat.com>
118
119 * win32-nat.c (child_create_inferior): Check for proper shell to use
120 here, in case the user changes it on the fly.
121 (_initialize_inftarg): Remove shell path considerations.
122
2a873819
EZ
1232002-03-21 Elena Zannoni <ezannoni@redhat.com>
124
125 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
126 for gdbarch_max_register_raw_size and max_register_virtual_size.
127 Adjust copyright year.
128
a1b9830c
DJ
1292002-03-21 Daniel Jacobowitz <drow@mvista.com>
130
131 * dbxread.c (process_one_symbol): Extend the first N_SLINE
132 in a function to cover the entire beginning of the function
133 as well if it does not already.
134
8b5790f2
TR
1352002-03-21 Tom Rix <trix@redhat.com>
136
137 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
138 (rs6000_ptrace64): Renamed from ptrace64.
139
bdbe5747
MH
1402002-03-20 Martin M. Hunt <hunt@redhat.com>
141
142 * gdbserver/remote-utils.c (remote_open): Don't call
143 getprotobyname, we're all using TCP here so just use
144 IPPROTO_TCP.
145 * gdbserver/gdbreplay.c (remote_open): Ditto.
146
1472002-03-20 Martin M. Hunt <hunt@redhat.com>
148
149 * regcache.c (_initialize_regcache): No need to call
150 build_regcache() at this time; it gets called whenever
151 the gdbarch changes.
152
7781cd62
DB
1532002-03-20 David O'Brien <obrien@FreeBSD.org>
154
155 * sparc-nat.c: Include sys/param.h where possible.
156
f65ca430
DJ
1572002-03-20 Daniel Jacobowitz <drow@mvista.com>
158
159 Fix PR gdb/422.
160 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
161 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
162 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
163 complex types.
164 * stabsread.c (rs6000_builtin_type): Likewise.
165 (read_sun_floating_type): Likewise.
166
0c867556
PS
1672002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
168
169 * stabsread.c (read_member_functions): Remove skip code for duplicate
170 constructor/destructor methods. Use standard parsing for these
171 methods and just do not chain them to the list of methods after
172 parsing.
173
12b9c64f
AO
1742002-03-19 Alexandre Oliva <aoliva@redhat.com>
175
176 * coffread.c: Remove redundant static declarations. Replace
177 occurrences of `PTR' with `void *'.
178 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
179 * top.h (quit_cover): Likewise.
180 * defs.h (catch_errors): Likewise.
181
349c5d5f
AC
1822002-03-18 Andrew Cagney <ac131313@redhat.com>
183
184 * defs.h (XMALLOC): Define.
185 * gdb-events.sh (XMALLOC): Delete macro.
186 * gdb-events.c, gdb-events.h: Regenerate.
187 * gdbarch.sh (XMALLOC): Delete macro.
188 * gdbarch.c: Regenerate.
189 * serial.c (XMALLOC): Delete macro.
190 * ui-file.c (XMALLOC): Ditto.
191 * ser-unix.h (XMALLOC): Ditto.
192 * sh-tdep.c (XMALLOC): Ditto.
193 * ui-out.c (XMALLOC): Ditto.
194 * utils.c (XMALLOC): Ditto.
195 * i386-tdep.c (XMALLOC): Ditto.
196 * gdb-events.c (XMALLOC): Ditto.
197 * d10v-tdep.c (XMALLOC): Ditto.
198 * cli-out.c (XMALLOC): Ditto.
199
200 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
201 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
202 * ui-file.c, ui-out.c: Ditto.
203
7d0766f3
AC
2042002-03-18 Andrew Cagney <ac131313@redhat.com>
205
206 * command.h (struct cmd_list_element): Add field context.
207 (set_cmd_context, get_cmd_context): Declare.
208 * cli/cli-decode.h: Ditto.
209 * cli/cli-decode.c (get_cmd_context): New function.
210 (set_cmd_context): New function.
211 (add_cmd): Initialize context.
212 Part of fixing PR gdb/145 and PR gdb/146.
213
5913bcb0
AC
2142002-03-17 Andrew Cagney <ac131313@redhat.com>
215
1868c04e
AC
216 * cli/cli-decode.c (cmd_type): New function.
217 * command.h (cmd_type): Declare.
218 * infrun.c (set_schedlock_func): Call function cmd_type.
219 * kod.c (kod_set_os): Call cmd_type.
220 * cris-tdep.c (cris_version_update): Use function cmd_type.
221 (cris_mode_update, cris_abi_update): Ditto.
222
5913bcb0
AC
223 * command.h: (execute_cmd_post_hook): Declare.
224 (execute_cmd_pre_hook): Declare.
225 * cli/cli-script.c (clear_hook_in_cleanup): New function.
226 (execute_cmd_post_hook, execute_cmd_pre_hook): New
227 functions. Execute pre/post hook while ensuring that afterwords
228 hook_in is cleared.
229 * top.c (execute_command): Use execute_cmd_post_hook, and
230 execute_cmd_pre_hook to execute pre/post commands.
231 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
232 hook_stop_stub.
233 (hook_stop_stub): Call execute_cmd_pre_hook.
234
b51450c9
AC
2352002-03-17 Andrew Cagney <ac131313@redhat.com>
236
237 * kod.c (kod_set_os): Revert previous change. Is called by ``info
238 set'' and this leads to a core dump. Move xstrdup of
239 operating_system to after check that it is not NULL.
240
f66c9f11
AC
2412002-03-17 Andrew Cagney <ac131313@redhat.com>
242
8e694ecf
AC
243 * kod.c (kod_set_os): Remove unnecessary check that
244 ``command->type'' is set_cmd.
245
f66c9f11
AC
246 * valprint.c (set_input_radix): Use input_radix.
247 (set_output_radix): Use output_radix.
248 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
249 isn't reverted.
250
9d01611c
AC
2512002-03-16 Andrew Cagney <ac131313@redhat.com>
252
253 * value.h (struct value): Delete field ``substring_addr''. Change
254 aligner fields to force_doublest_align, force_longest_align,
ee2d3b3a
AC
255 force_core_addr_align and force_pointer_aligh.
256
257 * value.h (struct value): Fix typo in above change.
9d01611c 258
4156bb53
PS
2592002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
260
261 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
262 to fix internal_error from ``maintenance print architecture''.
263
0e5e3ea6
PS
2642002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
265
266 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
267 for gcc versions after gcc-2.8.1.
268
9b013045
PS
2692002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
270
271 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
272 for method resolution. Restore adjustment of ``this'' pointer after
273 calling value_struct_elt, which was accidentally removed during the
274 HP merge.
275
376c9600
AC
2762002-03-15 Andrew Cagney <ac131313@redhat.com>
277
278 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
279 value_of_register.
280 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
281 get_saved_register.
282 * value.h (value_of_register): Update.
283
a4db0f07
RH
2842002-03-14 Richard Henderson <rth@redhat.com>
285
286 * configure.in: Detect declaration for canonicalize_file_name.
287 * utils.c (canonicalize_file_name): Declare, if needed.
288 (gdb_realpath): Prefer realpath if available and usable.
289 * config.in, configure: Rebuild.
290
96383835
RH
2912002-03-14 Richard Henderson <rth@redhat.com>
292
293 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
294 a constant array bound.
295
296 * MAINTAINERS: Add myself to write-after-approval.
297
75245b24
MS
2982002-03-14 Michael Snyder <msnyder@redhat.com>
299
300 * symfile.c (syms_from_objfile): Return immediately if no syms.
301 (symbol_file_add): Return immediately if no syms.
302 (find_sym_fns): Return immediately if no syms.
303
e641a1ca
ML
3042002-03-13 Michal Ludvig <mludvig@suse.cz>
305
306 * gdbserver/remote-util.c (remote_open): Print remote-side's
307 IP address when remote debugging over the network.
308
df08bfec
DB
3092002-03-12 David O'Brien <obrien@FreeBSD.org>
310
311 * config/sparc/fbsd.mh: Fix copyright.
312 * config/sparc/fbsd.mt: Likewise.
313
9a57864f
RE
3142002-03-11 Richard Earnshaw <rearnsha@arm.com>
315
316 * MAINTAINERS: Fix typo in name of gdb warnings option.
317 (x86-64): Fix formating so that this can be parsed by awk.
318
dd7bf85e
DJ
3192002-03-10 Daniel Jacobowitz <drow@mvista.com>
320
321 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
322 * defs.h: Include "gdb/signals.h".
323 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
324
33a0a2ac
ML
3252002-03-10 Michal Ludvig <mludvig@suse.cz>
326
327 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
328 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
329 from x86-64-tdep.h
330
dd824b04
DJ
3312002-03-10 Daniel Jacobowitz <drow@mvista.com>
332 Don Howard <dhoward@redhat.com>
333
334 * mips-tdep.c (ST0_FR): Define.
335 (mips2_fp_compat): New function, temporarily disabled.
336 (mips_read_fp_register_single): New function.
337 (mips_read_fp_register_double): New function.
338 (mips_print_register): Use them.
339 (do_fp_register_row): Likewise.
340
6a41ff59
AC
3412002-03-09 Andrew Cagney <ac131313@redhat.com>
342
343 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
344 approval''.
345
4ea09c10
PS
3462002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
347
348 * stabsread.c (read_member_functions): Fix is_stub test for
349 static member functions, improve comment.
350
6ccc741d
RE
3512002-03-07 Richard Earnshaw <rearnsha@arm.com>
352
353 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
354 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
355 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
356 commands that set boolean values.
357 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
358 (arm_rdi_resume): Always initialize PC.
359 (arm_rdi_open): Don't use rslt as a boolean.
360 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
361 (arm_rdi_fetch_registers, arm_rdi_store_registers)
362 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
363 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
364
438013df
AO
3652002-03-06 Alexandre Oliva <aoliva@redhat.com>
366
367 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
368 * configure: Rebuilt.
369
70ed8774
SC
3702002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
371
372 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
373 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
374
5ba2abeb
AC
3752002-03-06 Andrew Cagney <ac131313@redhat.com>
376
377 * cli/cli-decode.c (set_cmd_completer): New function.
378 * command.h (set_cmd_completer): Declare.
379 * cli/cli-decode.h (set_cmd_completer): Ditto.
380
381 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
382 * cli/cli-cmds.c (init_cli_cmds): Ditto.
383 * win32-nat.c (_initialize_inftarg): Ditto.
384 * remote-rdi.c (_initialize_remote_rdi): Ditto.
385 * proc-api.c (_initialize_proc_api): Ditto.
386 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
387 * source.c (_initialize_source): Ditto.
388 * exec.c (_initialize_exec): Ditto.
389 * solib.c (_initialize_solib): Ditto.
390 * top.c (init_main): Ditto.
391 * tracepoint.c (_initialize_tracepoint): Ditto.
392 * symfile.c (_initialize_symfile): Ditto.
393 * printcmd.c (_initialize_printcmd): Ditto.
394 * infcmd.c (_initialize_infcmd): Ditto.
395 * corefile.c (_initialize_core): Ditto.
396
f779ca99
AC
3972002-03-05 Andrew Cagney <ac131313@redhat.com>
398
399 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
400
01a3934b
AC
4012002-03-05 Andrew Cagney <ac131313@redhat.com>
402
403 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
404
37057839
AC
4052002-03-05 Andrew Cagney <ac131313@redhat.com>
406
407 * NEWS: Update headings, 5.2 has branched.
408
c6ecbae5
DJ
4092002-03-04 Daniel Jacobowitz <drow@mvista.com>
410
411 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
412 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
413 (register_addr, REGISTER_RAW_SIZE): Likewise.
414 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
415 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
416
e9f30c21
ML
4172002-03-03 Michal Ludvig <mludvig@suse.cz>
418
419 * MAINTAINERS (x86-64): Add myself.
420 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
421 changed value_ptr -> struct value *
422
54394ac3
DB
4232002-03-01 David O'Brien <obrien@FreeBSD.org>
424
425 * configure.host (sparc64-*-freebsd): Add.
426 * configure.tgt: Likewise.
427 * config/sparc/fbsd.mh: New file.
428 * config/sparc/fbsd.mt: Likewise.
429 * config/sparc/nm-fbsd.h: Likewise.
430 * config/sparc/tm-fbsd.h: Likewise.
431
bfe95955
DJ
4322002-03-01 Daniel Jacobowitz <drow@mvista.com>
433
434 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
435 regformats/reg-s390x.dat.
436
f33c6cbf
AC
4372002-03-01 Andrew Cagney <ac131313@redhat.com>
438
439 * utils.c: Add FIXME explaining true/false problem.
440
5ecaa7dd
AC
4412002-02-28 Andrew Cagney <ac131313@redhat.com>
442
443 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
444
2a251cc2
MC
4452002-02-28 Michael Chastain <mec@shout.net>
446
447 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
448
6a8031a3 4492002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
450
451 * gdbserver/linux-s390-low.c: New file.
452 * regformats/reg-s390.dat: New file.
453 * regformats/reg-s390x.dat: New file.
454 * gdbserver/configure.srv: Add S/390.
455 * gdbserver/Makefile.in: Add S/390.
456 * configure.tgt: Enable gdbserver for S/390.
457
ac469903
EZ
4582002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
459
460 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
461 first line of the doc string for "info dos", except at the end of
462 the sentence, since the short help stops at the first period.
463
985cb1a3
JM
4642002-02-28 Jason Merrill <jason@redhat.com>
465
466 * dwarf2read.c (dwarf_cfi_name): Add new codes.
467
c570663e
FF
4682002-02-27 Fred Fish <fnf@redhat.com>
469
470 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
471 comment (dumy -> dummy).
472
43630227
PS
4732002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
474
475 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
476
b84911e8
RB
4772002-02-27 Rodney Brown <rbrown64@csc.com.au>
478
479 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
480
58caa3dc
DJ
4812002-02-27 Daniel Jacobowitz <drow@mvista.com>
482
483 * gdbserver/acconfig.h: New file.
484 * gdbserver/i387-fp.c: New file.
485 * gdbserver/i387-fp.h: New file.
486 * gdbserver/linux-x86-64.c: New file.
487 * regformats/reg-x86-64.dat: New file.
488 * configure.tgt: Add x86_64-*-linux* gdbserver support.
489 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
490 * gdbserver/configure.in: Add support for regsets.
491 * gdbserver/config.in: Regenerate.
492 * gdbserver/configure: Regenerate.
493 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
494 * gdbserver/linux-low.h: New file.
495 * gdbserver/linux-low.c: Include "linux-low.h". Add support
496 for regsets.
497 * gdbserver/linux-arm-low.c: Include "linux-low.h".
498 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
499 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
500 * gdbserver/linux-mips-low.c: Include "linux-low.h".
501 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
502 * gdbserver/linux-sh-low.c: Include "linux-low.h".
503 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
504 "i387-fp.h". Add PTRACE_GETREGS and friends.
505 * gdbserver/regcache.c (supply_register): New function.
506 (supply_register_by_name): New function.
507 (collect_register): New function.
508 (collect_register_by_name): New function.
509
93652174
DJ
5102002-02-27 Daniel Jacobowitz <drow@mvista.com>
511
512 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
513 (config.status): Add configure.srv dependency.
514 (server_h): Add config.h dependency.
515
a02e4a61
DJ
5162002-02-27 Daniel Jacobowitz <drow@mvista.com>
517
518 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
519 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
520 * gdbserver/configure.srv: Change i386-*-linux* to use
521 reg-i386-linux.o.
522
ce0eebec
AC
5232002-02-26 Andrew Cagney <ac131313@redhat.com>
524
525 * x86-64-tdep.c: Re-indent. Update copyright date.
526
82dbc5f7
AC
5272002-02-26 Andrew Cagney <ac131313@redhat.com>
528
529 From Michal Ludvig <mludvig@suse.cz>:
530 * x86-64-tdep.c (value.h): Delete.
531 (gdb_assert.h): Include.
532 (x86_64_register_convert_to_virtual,
533 x86_64_register_convert_to_raw ): Add check which lets only
534 floating-point values to be converted.
535 (value_push): Delete.
536 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
537 (i386_gdbarch_init): Number of register_bytes fixed.
538
e4621584
AC
5392002-02-26 Andrew Cagney <ac131313@redhat.com>
540
541 * MAINTAINERS: Add x86-64 target.
542
81a9a963
AC
5432002-02-26 Andrew Cagney <ac131313@redhat.com>
544
545 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
546 * osfsolib.c (solib_map_sections): Ditto.
547 * irix5-nat.c (solib_map_sections): Ditto.
548 * corelow.c (gdb_check_format): Ditto.
549 * symfile.c (symfile_bfd_open): Ditto.
550 * solib.c (solib_map_sections): Ditto.
551 Fix PR gdb/354.
552
0f017ab9
AC
5532002-02-26 Andrew Cagney <ac131313@redhat.com>
554
555 * remote.c (_initialize_remote): By default, disable ``e'' and
556 ``E'' step out-of-range packets.
557
75738c29
AS
5582002-02-26 Andreas Schwab <schwab@suse.de>
559
560 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
561 m68k_linux_frame_saved_pc.
562 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
563 in_sigtramp.
564 (SIGCONTEXT_PC_OFFSET): Remove.
565 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
566 m68k_linux_sigtramp_saved_pc): New functions.
567 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
568 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
569 (UCONTEXT_PC_OFFSET): Define.
570 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
571 non-RT and RT signal trampolines.
572
7e8ed687
RE
5732002-02-26 Richard Earnshaw <rearnsha@arm.com>
574
575 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
576 (TARGET_NBPG, STACK_END_ADDR): Delete
577 (VARIABLES_INSIDE_BLOCK): Delete.
578
6972bc8b
AC
5792002-02-25 Andrew Cagney <ac131313@redhat.com>
580
581 * utils.c (perror_with_name): Make string parameter constant.
582 (print_sys_errmsg): Ditto.
583 (query): Ditto.
584 * defs.h (perror_with_name): Update.
585 (print_sys_errmsg): Update.
586 (query): Update.
587
aa32f823
DJ
5882002-02-25 Daniel Jacobowitz <drow@mvista.com>
589
590 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
591 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
592
19caaa45
PS
5932002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
594
595 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
596 if it already matches the current architecture from the exec file.
597 Include arch-utils.h for gdbarch_info_init prototype.
598 * Makefile.in (rs6000-nat.o): Update dependencies.
599
d951901f
EZ
6002002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
601
602 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
603 list of exported variables.
604
7ea81414
DJ
6052002-02-24 Daniel Jacobowitz <drow@mvista.com>
606
607 * gdbserver/configure.srv: New file.
608 * gdbserver/configure.in: Use configure.srv instead
609 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
610 from it.
611 * gdbserver/configure: Regenerated.
612 * gdbserver/terminal.h: New file.
613 * gdbserver/Makefile.in: Update for configure changes. Remove
614 more unneeded include paths.
615
080fe24b
AC
6162002-02-24 Andrew Cagney <ac131313@redhat.com>
617
618 From wiz at danbala:
619 * config/sparc/tm-sp64.h: Fix grammar and typos.
620 Fix PR gdb/287.
621
8605d56e
AC
6222002-02-24 Andrew Cagney <ac131313@redhat.com>
623
624 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
625 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
626 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
627 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
628 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
629 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
630 * s390-tdep.c: Ditto.
92362027
AC
631 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
632 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
633 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
634 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
635 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
636 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
637 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
638 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
639 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
640 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e
AC
641 Fix PR gdb/378.
642
8ed32cc0
AC
6432002-02-23 Andrew Cagney <ac131313@redhat.com>
644
a3007b6f
AC
645 * lin-thread.c: Delete file.
646 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
647 to gdb_proc_service.h.
648 * configure: Re-generate.
649
50a9e2f1
AC
650 * ocd.c (ocd_open): Do not try to open the "ocd" device.
651 * serial.c (serial_open): Delete check for "ocd".
652 Fix PR gdb/349.
653
8b6e7932
AC
654 * Makefile.in (linux-thread.o): Delete target.
655 * linux-thread.c: Delete file.
656
d155c46b
AC
657 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
658 renamed SH files to be consistent.
659
8ed32cc0
AC
660 * symtab.c (sort_search_symbols): Use xfree.
661
0e18d038
RE
6622002-02-23 Richard Earnshaw <rearnsha@arm.com>
663
664 * arm-linux-tdep.c (arm_linux_init_abi): Register
665 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
666 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
667 definition with undef, since we don't want the sysvr4 definition.
668 (SKIP_TRAMPOLINE_CODE): Likewise.
669
27aac7ff
AC
6702002-02-23 Andrew Cagney <ac131313@redhat.com>
671
672 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
673
674 * configure.in: (AC_CHECK_FUNCS) Added test for
675 canonicalize_file_name Regenerated.
676 * config.in, configure: Regenerated.
677 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
678 defined use canonicalize_file_name.
679
65a6e0ee
MC
6802002-02-23 Michael Chastain <mec@shout.net>
681
682 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
683
47b95330
AC
6842002-02-23 Andrew Cagney <ac131313@redhat.com>
685
686 * README: Remove references to cygnus.com.
687 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
688 dot com'' form. Remove references to cygnus.com and sourceware.
689
696f451b
AC
6902002-02-23 Andrew Cagney <ac131313@redhat.com>
691
692 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
693 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
694 1003.1-2001 no longer allows "head -1".
695 * gdb/Makefile.in (version.c): Likewise.
696 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
697 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
698 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
699
bbaca940
AC
7002002-02-23 Andrew Cagney <ac131313@redhat.com>
701
702 * cli/cli-decode.c (cmd_cfunc_eq): New function.
703 * command.h (cmd_cfunc_eq): Declare.
704 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
705
706 * cli/cli-cmds.h (is_complete_command): Change parameter to a
707 ``struct cmd_list_element *''.
708 * cli/cli-cmds.c (is_complete_command): Update. Use
709 cmd_cfunc_eq.
710 * top.c (execute_command): Pass the command to
711 is_complete_command.
712 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
713
b8b8b047
AC
7142002-02-23 Andrew Cagney <ac131313@redhat.com>
715
716 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
717 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
718 architecture defines.
719 * s390-tdep.c (s390_gdbarch_init): Likewise.
720
19d3fc80
RE
7212002-02-23 Richard Earnshaw <rearnsha@arm.com>
722
723 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
724 (arm_linux_push_arguments): Likewise.
725 (arm_linux_init_abi): Register them. Also register linux-specific
726 call_dummy_words.
727 (find_minsym_and_objfile): Use strcmp, not STREQ.
728 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
729 (arm_linux_call_dummy_words): Delete declaration.
730 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
731 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
732 declarations.
733 (LOWEST_PC): Delete.
734
3ab13650
PS
7352002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
736
737 * maint.c (print_section_info): Do not prepend `0x' to filepos
738 output, it will be handled by local_hex_string_custom.
739
19d3fc80 7402002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
741
742 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
743 (store_newfpe_double, store_newfpe_extended, store_fpregister)
744 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
745
d85a5daf
JB
7462002-02-22 Jim Blandy <jimb@redhat.com>
747
748 Indicate that the bcache functions don't change the strings
749 they're passed.
750 * bcache.h (bcache, hash): Add `const' keywords to declarations.
751 * bcache.c (bcache, hash): Add `const' keywords to definitions.
752
eeb25b8a
PM
7532002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
754
755 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
756
6badb179
CF
7572002-02-21 Christopher Faylor <cgf@redhat.com>
758
759 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
760 find the complete path to a loaded DLL.
761
e8717518
FF
7622002-02-21 Fred Fish <fnf@redhat.com>
763
764 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
765 that marks the end of the range of a function, enter a line number
766 entry that has a line number of zero and a PC offset that matches
767 the end of the function. This starts a range of PC's for which no
768 line number information is known.
769 * symtab.c (find_pc_sect_line): If our best fit is in a range of
770 PC's for which no line number info is found (line number is zero)
771 then we didn't find any valid line information.
772 * symtab.h: Document use of zero line number entry.
773
9abe5450
EZ
7742002-02-21 Elena Zannoni <ezannoni@redhat.com>
775
776 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
777 (have_ptrace_getvrregs): Define for run time checks.
778 (gdb_vrregset_t): New type for Altivec register handling.
779 (fetch_register, store_register): Fetch/store altivec register
780 when needed.
781 (fetch_altivec_register, store_altivec_register): New functions.
782 (supply_vrregset, fill_vrregset): New functions.
783 (fetch_altivec_registers, store_altivec_registers): New functions.
784 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
785 registers as well.
786
aaa38bb5
AJ
7872002-02-21 Jiri Smid <smid@suse.cz>
788
789 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
790
b34db576
RE
7912002-02-21 Richard Earnshaw <rearnsha@arm.com>
792
793 * Makefile.in (armnbsd-nat.o): Update dependencies.
794 * armnbsd-nat.c (supply_gregset): New function. Common code to
795 supply the integer register set.
796 (supply_fparegset): New function. Similar for FPA registers.
797 (fetch_regs, fetch_fp_regs): Use them.
798 (fetch_core_registers): Likewise.
799 (fetch_elfcore_registers): New function.
800 (arm_netbsd_elfcore_fns): New core-file type specification.
801 (_initialize_arm_netbsd_nat): Register it.
802
3e56fc4b
RE
8032002-02-21 Richard Earnshaw <rearnsha@arm.com>
804
805 * armnbsd-nat.c: Include gdbcore.h.
806 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
807 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
808 'void' to declaration, to shut up ARI.
809 (fetch_core_registers): Make static. Rewrite using supply_register.
810 (arm_netbsd_core_fns): New core-file type specification.
811 (_initialize_arm_netbsd_nat): New function.
812
097f6b0b
CF
8132002-02-21 Christopher Faylor <cgf@redhat.com>
814
815 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
816 value.
817
c914e0cc
CF
8182002-02-20 Christopher Faylor <cgf@redhat.com>
819
820 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
821 fails.
822
385fa495
DJ
8232002-02-20 Daniel Jacobowitz <drow@mvista.com>
824
825 * jv-exp.y (parse_number): Change type of implicit longs
826 to builtin_type_uint64.
827
e5f1222d
DJ
8282002-02-20 Daniel Jacobowitz <drow@mvista.com>
829
830 * gdbserver/linux-low.c (mywait): Change argument to waitpid
831 to be an integer instead of a `union wait'.
832
75c9abc6
DJ
8332002-02-20 Daniel Jacobowitz <drow@mvista.com>
834
835 * mips-linux-nat.c: Call the operating system GNU/Linux.
836 * mips-linux-tdep.c: Likewise.
837 * mips-tdep.c: Likewise.
838
551792a5
DJ
8392002-02-20 Daniel Jacobowitz <drow@mvista.com>
840
841 Fix PR gdb/265.
842 * jv-exp.y (parse_number): Handle 64-bit integers.
843
ee6e2b82
DJ
8442002-02-20 Daniel Jacobowitz <drow@mvista.com>
845
846 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
847 AC_STDC_HEADERS to AC_HEADER_STDC.
848 * gdbserver/configure: Regenerated.
849
a48442a0
RE
8502002-02-20 Richard Earnshaw <rearnsha@arm.com>
851
852 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
853 is defined.
854 * sparc-tdep.c (get_longjmp_target): Likewise.
855
fe419ffc
RE
8562002-02-20 Richard Earnshaw <rearnsha@arm.com>
857
858 * News: Add news about ARM and Multi-arch. Mention the new target
859 arm*-*-netbsd*.
860
5832ed7e
JB
8612002-02-19 Jim Blandy <jimb@redhat.com>
862
863 * stabsread.c (error_type_complaint): Improve error message.
864
84563040
DJ
8652002-02-19 Daniel Jacobowitz <drow@mvista.com>
866
867 * gdbserver/README: Update documentation.
868 * gdbserver/configure.in: Update configury to match documentation.
869 * gdbserver/Makefile.in: Likewise.
870 * gdbserver/configure: Regenerated.
871 * gdbserver/aclocal.m4: New file, generated by aclocal.
872 * gdbserver/config.in: New file, generated by autoheader.
873
375fd65b
RE
8742002-02-19 Richard Earnshaw <rearnsha@arm.com>
875
876 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
877 armnbsd-nat.c.
878
08216dd7
RE
8792002-02-19 Richard Earnshaw <rearnsha@arm.com>
880
881 * arm-tdep.h (enum arm_float_model): New enum.
882 (struct gdbarch_tdep): Add fp_model.
883 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
884 up floating-point conversions until we know the floating-point model
885 in use by the inferior. Don't complain about being unable to
886 determine the ABI of the inferior when we don't have one.
887 (arm_extract_return_value): Support different floating-point models.
888 (arm_store_return_value): Likewise.
aaa38bb5 889 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
890 ARM_FLOAT_SOFT.
891 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
892
65d6d66a
PS
8932002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
894
895 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
896 of ``current_gdbarch''.
897
47221191
RE
8982002-02-19 Richard Earnshaw <rearnsha@arm.com>
899
900 * armnbsd-nat.c : ANSIfy all function declarations.
901 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
902 (fetch_inferior_registers): Re-implement in terms of above.
903 (store_register, store_regs, store_fp_register, store_fp_regs): New.
904 (store_inferior_registers): Re-implement in terms of above.
905
fdf39c9a
RE
9062002-02-19 Richard Earnshaw <rearnsha@arm.com>
907
aaa38bb5 908 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
909 kernel.
910 * arm-linux-tdep.c: Likewise.
911 * config/arm/tm-linux.h: Likewise.
912
93247f88
RE
9132002-02-19 Richard Earnshaw <rearnsha@arm.com>
914
915 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
916 * config/arm/nbsd.mt (TM_FILE): Delete.
917 * config/arm/tm-nbsd.h: Delete.
918
d7b486e7
RE
9192002-02-19 Richard Earnshaw <rearnsha@arm.com>
920
921 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
922 Initialize CALL_DUMMY_LENGTH.
923
41d39a95
RE
9242002-02-19 Richard Earnshaw <rearnsha@arm.com>
925
926 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
927 function.
928 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 929 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
930 defines one thing and that is incorrect for this port.
931 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
932
e1195560
PM
9332002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
934
935 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
936
c1748f97
PM
9372002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
938
939 * win32-nat.c (display_selector): New function. Displays information
940 about the information returned by GetThreadSelectorEntry API function.
941 (display_selectors): New function. Displays the infomation of
942 the selector given as argument, or of CS, DS ans FS selectors
943 if no argument is given.
944 ( _initialize_inftarg): Add "w32" as info prefix command.
945 Add "info w32 selector" as command calling display_selectors.
946
e41e6bbf
PM
9472002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
948
949 * i386-tdep.c (get_longjmp_target): Fix compilation failure
950 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
951 if not defined.
952
0d3a9f48
RE
9532002-02-18 Richard Earnshaw <rearnsha@arm.com>
954
955 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
956
3fb4b924
RE
9572002-02-18 Richard Earnshaw <rearnsha@arm.com>
958
959 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
960 (arm_fix_call_dummy): Call it.
961 (arm_call_dummy_breakpoint_offset): Delete.
962 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
963 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
964
7f55af32
AC
9652002-02-18 Andrew Cagney <ac131313@redhat.com>
966
967 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
968 Default to func_frame_chain_valid.
969 * gdbarch.h, gdbarch.c: Re-generate.
970 * frame.h (FRAME_CHAIN_VALID): Delete definition.
971
05f13b9c
EZ
9722002-02-18 Elena Zannoni <ezannoni@redhat.com>
973
974 * ppc-linux-nat.c: Update copyright.
975 (fetch_register, store_register): Add tid parameter, don't compute
976 tid here.
977 (fetch_ppc_registers, store_ppc_registers): Add tid
978 parameter. Pass it along to callees.
979 (fetch_inferior_registers, store_inferior_registers): Compute tid
980 here, and pass it to calleed functions.
981 (fill_gregset, supply_fpregset): Clean up formatting.
982
d7afb4c9
RE
9832002-02-18 Richard Earnshaw <rearnsha@arm.com>
984
985 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
986 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
987
9df628e0
RE
9882002-02-18 Richard Earnshaw <rearnsha@arm.com>
989
990 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
991 * gdbarch.c gdbarch.h: Regenerate.
992 * breakpoint.c (create_longjmp_breakpoint): Always compile this
993 function.
994 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
995 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
996 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
997
998 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
999 * arm-tdep.c (arm_get_longjmp_target): New function.
1000 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
1001 this to a positive value register arm_get_longjmp_target as the
1002 longjmp handler.
1003 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
1004 (arm_linux_init_abi): Set up longjmp description in tdep.
1005 * armnbsd-nat.c (get_longjmp_target): Delete.
1006 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
1007 description in tdep.
1008 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
1009 (get_longjmp_target): Delete declaration.
1010 (GET_LONGJMP_TARGET): Delete.
1011 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
1012 (GET_LONGJMP_TARGET): Delete.
1013
57bc8964
KB
10142002-02-17 Kevin Buettner <kevinb@redhat.com>
1015
1016 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1017 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
1018 of ``current_gdbarch''.
1019
83d31a92
TT
10202002-02-17 Tom Tromey <tromey@redhat.com>
1021
1022 * cli/cli-cmds.c (compare_strings): New function.
1023 (complete_command): Only print each unique item once.
1024 * completer.h (complete_line): Declare.
1025 * completer.c (complete_line): New function.
1026 (line_completion_function): Use it.
1027
17ef5d92
AC
10282002-02-16 Andrew Cagney <ac131313@redhat.com>
1029
1030 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
1031 * gdbarch.h, gdbarch.c: Re-generate.
1032
491b8946
DJ
10332002-02-16 Daniel Jacobowitz <drow@mvista.com>
1034
1035 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
1036
10372002-02-16 Daniel Jacobowitz <drow@mvista.com>
1038
1039 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1040 * valops.c (value_arg_coerce): Don't take the address of a reference
1041 to convert an argument to a reference.
1042
dfe7f3ac
CF
10432002-02-15 Christopher Faylor <cgf@redhat.com>
1044
1045 * win32-nat.c (get_image_name): New function.
1046 (handle_load_dll): Use get_image_name function.
1047 (get_child_debug_event): Avoid registering debug events until possibly
1048 execed process is started.
1049 (child_create_inferior): Allow invocation via shell so that command
1050 line redirection, etc. works ok.
1051 (_initialize_inftarg): Add new command: "set shell" to control whether
1052 a shell is used to start a process.
1053
1d33e73a
DJ
10542002-02-15 Daniel Jacobowitz <drow@mvista.com>
1055
1056 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
1057 instead of find_register_by_number.
1058 (cannot_store_register): Likewise.
1059
48cd0caa
PM
10602002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1061
aaa38bb5 1062 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
1063 fprintf_unfiltered (gdb_stderr, ...).
1064
8656e7d8
DJ
10652002-02-15 Daniel Jacobowitz <drow@mvista.com>
1066
1067 * gdbserver/gdbserver.1: Document --attach.
1068
66e810cd
RE
10692002-02-15 Richard Earnshaw <rearnsha@arm.com>
1070
1071 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
1072 descriptions.
1073 * arm-tdep.c (arm_default_arm_le_breakpoint)
1074 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
1075 (arm_default_thumb_be_breakpoint): New. Initialize them from
1076 traditional breakpoint defines.
1077 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
1078 (arm_gdbarch_init): Initialize new breakpoint variables.
1079 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
1080 (arm_linux_init_abi): Initialize linux-specific breakpoint.
1081 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
1082 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
1083 code out to ...
1084 (arm_netbsd_init_abi_common): ... here; new function.
1085 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
1086 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
1087 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
1088 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
1089
97e03143
RE
10902002-02-15 Richard Earnshaw <rearnsha@arm.com>
1091
1092 * arm-tdep.h (enum arm_abi): New enum.
1093 (struct gdbarch_tdep): New structure.
1094 (LOWEST_PC): Provide a default.
1095 (arm_gdbarch_register_os_abi): Declare new function.
1096 * arm-tdep.c (arm_abi_names): New array.
1097 (process_note_abi_tag_sections): New function.
1098 (get_elfosabi): New function.
1099 (arm_gdbarch_register_os_abi): New function.
1100 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
1101 support for that ABI has been built in, then call the appropriate
1102 configuration routine. Use gdbarch_num_regs() to get the number
1103 of registers.
1104 (arm_dump_tdep): New function.
1105 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
1106 place-holder functions.
1107 (_initialize_arm_tdep): Register them.
1108 * config/arm/tm-arm.h (LOWEST_PC): Delete.
1109
1110 * armnbsd-tdep.c: New file.
1111 * Makefile.in (armnbsd-tdep.o): Add dependencies.
1112 * config/arm/nbsd.mt (TDEPFILES): Add it.
1113 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
1114
1115 * armnbsd-nat.c: Include regcache.h.
1116 * Makefile.in (armnbsd-nat.o): Update dependency list.
1117
1118 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
1119
ad68be46
DJ
11202002-02-14 Daniel Jacobowitz <drow@mvista.com>
1121
1122 * gdbserver/Makefile.in: Fix typos in target rules.
1123
003d6d1d
DJ
11242002-02-14 Daniel Jacobowitz <drow@mvista.com>
1125
aaa38bb5 1126 Fix part of PR gdb/267.
003d6d1d
DJ
1127 * linespec.c (find_methods): Handle constructors specially for now.
1128
6b230f1b
CV
11292002-02-14 Corinna Vinschen <vinschen@redhat.com>
1130
1131 * arm-tdep.c (arm_push_arguments): Eliminate special float type
1132 handling.
1133 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
1134 standard_coerce_float_to_double().
1135
1ea98d12
CF
11362002-02-14 Christopher Faylor <cgf@redhat.com>
1137
1138 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
1139 GDBINIT_FILENAME.
1140
dd47e6fd
EZ
11412002-02-14 Elena Zannoni <ezannoni@redhat.com>
1142
1143 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
1144 find_variant_by_name, because it confuses the multiarch
1145 framework. Return NULL if there isn't an architecture with the
1146 user supplied name, instead of forcing a different one without
1147 recording the change with the multiarch machinery.
1148 (find_variant_by_name): Delete.
1149
d7e39b9e
PS
11502002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1151
1152 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
1153 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
1154
76e42a4f
MH
11552002-02-13 Martin M. Hunt <hunt@redhat.com>
1156
aaa38bb5 1157 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
1158 print_frame_info_listing_hook, set current_source_symtab.
1159
0a30fbc4
DJ
11602002-02-14 Daniel Jacobowitz <drow@mvista.com>
1161
1162 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
1163 and remove unused $(INCLUDE_DIR).
1164 Add regcache.c to OBS.
1165 Add generated register protocol files to clean target.
1166 Update dependencies for new objects, obsolete old target code.
1167
1168 * gdbserver/linux-low.c: Remove all platform-specific code to
1169 new files. Remove various dead code. Update to use regcache
1170 functionality.
1171 * gdbserver/remote-utils.c (fromhex): Add return statement
1172 to quiet warning.
1173 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
1174 constant.
1175 (input_interrupt): Add integer parameter to match prototype
1176 of a signal handler.
1177 (outreg): Use register_data ().
1178 (prepare_resume_reply): Use gdbserver_expedite_regs.
1179 * gdbserver/server.c (main): Dynamically allocate own_buf because
1180 PBUFSIZ is no longer constant. Use registers_to_string () and
1181 registers_from_string ().
1182 * gdbserver/server.h: No longer include "defs.h". Add prototypes
1183 for error (), fatal (), and warning (). Update definition of
1184 PBUFSIZ to use regcache functionality. Add include guard.
1185 * gdbserver/utils.c (fatal): Add missing ``const''.
1186 (warning): New function.
1187
1188 * regformats/regdat.sh: Include "regcache.h" in generated files.
1189 Provide init_registers () function.
1190 * regformats/regdef.h: Add prototype for set_register_cache ().
1191 Add include guard.
1192
1193 * gdbserver/linux-arm-low.c: New file.
1194 * gdbserver/linux-i386-low.c: New file.
1195 * gdbserver/linux-ia64-low.c: New file.
1196 * gdbserver/linux-m68k-low.c: New file.
1197 * gdbserver/linux-mips-low.c: New file.
1198 * gdbserver/linux-ppc-low.c: New file.
1199 * gdbserver/linux-sh-low.c: New file.
1200
1201 * gdbserver/regcache.c: New file.
1202 * gdbserver/regcache.h: New file.
1203
1204 * gdbserver/low-linux.c: Removed obsolete file.
1205
4cc841d0
DJ
12062002-02-14 Daniel Jacobowitz <drow@mvista.com>
1207
1208 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
1209 * config/i386/linux.mt: Likewise.
1210 * config/ia64/linux.mt: Likewise.
1211 * config/m68k/linux.mh: Likewise.
1212 * config/powerpc/linux.mh: Likewise.
1213 * config/mips/linux.mt: Likewise.
1214
1215 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
1216
1217 * config/i386/i386lynx.mh: Mark gdbserver variables
1218 as (currently) obsolete for this target.
1219 * config/i386/nbsd.mt: Likewise.
1220 * config/i386/nbsdelf.mt: Likewise.
1221 * config/m32r/m32r.mt: Likewise.
1222 * config/m68k/m68klynx.mh: Likewise.
1223 * config/m68k/nbsd.mt: Likewise.
1224 * config/m68k/sun3os4.mh: Likewise.
1225 * config/mips/vr5000.mt: Likewise.
1226 * config/ns32k/nbsd.mt: Likewise.
1227 * config/pa/hppabsd.mh: Likewise.
1228 * config/pa/hppaosf.mh: Likewise.
1229 * config/powerpc/nbsd.mt: Likewise.
1230 * config/rs6000/rs6000lynx.mh: Likewise.
1231 * config/s390/s390.mt: Likewise.
1232 * config/s390/s390x.mt: Likewise.
1233 * config/sparc/sparclynx.mh: Likewise.
1234 * config/sparc/sun4os4.mh: Likewise.
1235 * config/i386/x86-64linux.mt: Likewise.
1236 * config/sparc/linux.mh: Likewise.
1237
a85f51e7
DJ
12382002-02-14 Daniel Jacobowitz <drow@mvista.com>
1239
1240 * configure.tgt: Configure gdbserver only for known working
1241 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
1242 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
1243 SUBDIRS if it is configured. Update comment for ${nativefile}.
1244 * configure: Regenerated.
1245
65554fef
MS
12462002-02-13 Michael Snyder <msnyder@redhat.com>
1247
6dbdc4a3
MS
1248 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
1249 (default_gcore_mach): Just return 0, work around a problem in bfd.
1250 (default_gcore_target): OK to return NULL if exec_bfd is null.
1251 (make_mem_sec): Use a cast, avoid a warning.
1252
1253 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 1254 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
1255 sizeof (host pointer) != sizeof (target pointer)).
1256 (procfs_make_note_section): Avoid overflow in psargs string.
1257
aaa38bb5 1258 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
1259 implementation return an error.
1260
12612002-02-13 Rodney Brown <rbrown64@csc.com.au>
1262
1263 * procfs.c (procfs_make_note_section): Provide a default definition
1264 (for alpha-dec-osf4.0f). Fix typos.
1265
1e4d76e7
EZ
12662002-02-13 Elena Zannoni <ezannoni@redhat.com>
1267
1268 * linux-proc.c: Add include of regcache.h.
1269 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
1270
b6d1a1d5
AC
12712002-02-13 Andrew Cagney <ac131313@redhat.com>
1272
1273 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
1274 * memattr.c (create_mem_region): Disallow useless empty region.
1275 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 1276 non-overlapping.
b6d1a1d5 1277
6c6ea35e
MC
12782002-02-13 Michael Chastain <mec@shout.net>
1279
1280 * defs.h: Kill CONST_PTR.
1281 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
1282 * c-lang.c (c_builtin_types): Likewise.
1283 * ch-lang.c (ch_builtin_types): Likewise.
1284 * f-lang.c (f_builtin_types): Likewise.
1285 * language.c (unknown_builtin_types): Likewise.
1286 * m2-lang.c (m2_builtin_types): Likewise.
1287 * p-lang.c (pascal_builtin_types): Likewise.
1288 * scm-lang.c (c_builtin_types): Likewise.
1289
3e0b0f48
KS
12902002-02-13 Keith Seitz <keiths@redhat.com>
1291
1292 * arm-tdep.h (arm_get_next_pc): Add declaration.
1293
67255d04
RE
12942002-02-13 Richard Earnshaw <rearnsha@arm.com>
1295
1296 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
1297 with other related struct-returning functions.
1298 (arm_extract_struct_value_address): New function.
1299 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
1300 initialize float_format, double_format and long_double_format as
1301 appropriate to the endianness of the target.
1302 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
1303 (arm_use_struct_convention): Delete declaration.
1304 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
1305
079777f6
KS
13062002-02-13 Keith Seitz <keiths@redhat.com>
1307
1308 * defs.h (core_addr_to_string_nz): New function.
1309
34588f23
MK
13102002-02-13 Mark Kettenis <kettenis@gnu.org>
1311
1312 Apply missing bits of 2002-01-15 patch.
1313 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
1314 (fill_fpregset): Use i387_fill_fsave.
1315
49b563f9
KS
13162002-02-12 Keith Seitz <keiths@redhat.com>
1317
49b563f9
KS
1318 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
1319 (core_addr_to_string_nz): New function.
1320
aeb98c60
RE
13212002-02-11 Richard Earnshaw <rearnsha@arm.com>
1322
1323 * arm-linux-nat.c: Really include arm-tdep.h.
1324 * config/arm/tm-linux.h (struct type, struct value): Declare.
1325
65554fef
MS
13262002-02-11 Michael Snyder <msnyder@redhat.com>
1327
1328 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
1329 (gcore section): Ifdef for Solaris and Unixware only.
1330 (procfs_do_thread_registers): Unixware needs one lwpstatus
1331 per thread (not one prstatus or pstatus).
1332 (procfs_make_note_section): Iterate only over kernel threads (lwps),
1333 not over all gdb threads. For unixware, call elfcore_write_pstatus
1334 once before iterating over threads.
1335
34e8f22d
RE
13362002-02-11 Richard Earnshaw <rearnsha@arm.com>
1337
1338 * arm-tdep.h: New file.
1339 * arm-tdep.c: Include arm-tdep.h.
1340 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1341 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1342 (arm_print_float_info, arm_register_type, convert_to_extended)
1343 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1344 (arm_extract_return_value, arm_register_name): Make static.
1345 (arm_software_single_step): Similarly. Fix types in declaration.
1346 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
1347 (arm_store_return_value, arm_store_struct_return): New functions.
1348 (arm_gdbarch_init): Register the above functions. Also register
1349 call_dummy_start_offset, sizeof_call_dummy_words,
1350 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
1351 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 1352 max_register_virtual_size, register_size. Set up
34e8f22d
RE
1353 prologue_cache.saved_regs here, rather than ...
1354 (_initialize_arm_tdep): ... here.
1355 * config/arm/tm-arm.h (struct type, struct value): Delete forward
1356 declarations.
1357 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
1358 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
1359 (arm_print_float_info, arm_register_type, convert_to_extended)
1360 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
1361 (arm_extract_return_value, arm_register_name): Delete declarations.
1362 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
1363 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
1364 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
1365 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
1366 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
1367 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
1368 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
1369 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
1370 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
1371 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
1372 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
1373 (arm_get_next_pc): No-longer static -- these are needed by the RDI
1374 interface.
1375 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
1376 * remote-rdi.c remote-rdp.c: Likewise.
1377 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
1378 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
1379 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
1380 definition.
1381
1382 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
1383 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
1384 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
1385 from non-ARM_ prefixed definitions.
1386 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
1387 all uses of above.
1388 * remote-rdi.c remote-rdp.c: Likewise.
1389 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
1390
148754e5
RE
13912002-02-11 Richard Earnshaw <rearnsha@arm.com>
1392
1393 * arm-tdep.c (arm_frameless_function_invocation)
1394 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1395 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1396 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1397 (arm_pop_frame, arm_get_next_pc): Make static.
1398 (arm_gdbarch_init): Register above in gdbarch structure.
1399 (arm_read_fp): Renamed from arm_target_read_fp.
1400 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
1401 * config/arm/tm-arm.h (arm_frameless_function_invocation)
1402 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
1403 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
1404 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
1405 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
1406 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
1407 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
1408 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
1409 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
1410 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 1411
434d2d4f
DJ
14122002-02-10 Daniel Jacobowitz <drow@mvista.com>
1413
1414 * symtab.c (compare_search_syms): New function.
1415 (sort_search_symbols): New function.
1416 (search_symbols): Sort symbols after searching rather than
1417 before.
1418
55241689
AC
14192002-02-10 Andrew Cagney <ac131313@redhat.com>
1420
1421 * NEWS: Linux -> GNU/Linux.
1422
028c194b
AC
14232002-02-10 Andrew Cagney <ac131313@redhat.com>
1424
1425 * gdbarch.sh: For for level one methods, disallow a definition
1426 when partially multi-arched. Add comments explaining rationale.
1427 * gdbarch.h: Re-generate.
1428
6acf50cd
AC
14292002-02-10 Andrew Cagney <ac131313@redhat.com>
1430
1431 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
1432 multi-arch partial.
aaa38bb5 1433
50248794
AC
14342002-02-10 Andrew Cagney <ac131313@redhat.com>
1435
1436 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
1437 field. Use diff -u.
1438 * gdbarch.c: Re-generate.
1439
c30e0066
AC
14402002-02-10 Andrew Cagney <ac131313@redhat.com>
1441
9b56c5f3 1442 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
1443 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
1444 partial.
1445
6e6d6484
AC
14462002-02-10 Andrew Cagney <ac131313@redhat.com>
1447
1448 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
1449 multi-arch partial.
1450 (PUSH_ARGUMENTS): Switch to using predefault.
1451 * gdbarch.c: Regenerate.
1452
c203844d
AC
14532002-02-10 Andrew Cagney <ac131313@redhat.com>
1454
1455 * valops.c (PUSH_ARGUMENTS): Delete definition.
1456 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
1457 partial. Default to default_push_arguments.
1458 * gdbarch.h, gdbarch.c: Regenerate.
1459
b5a2688f
AC
14602002-02-09 Andrew Cagney <ac131313@redhat.com>
1461
1462 * defs.h (throw_exception): Rename return_to_top_level. Update
1463 comments.
1464 * utils.c (error_stream, internal_verror, quit): Ditto.
1465 * top.c (throw_exception, catcher): Ditto.
1466 * sparclet-rom.c (sparclet_load): Ditto.
1467 * remote.c (interrupt_query, minitelnet): Ditto.
1468 * remote-sds.c (interrupt_query): Ditto.
1469 * remote-mips.c (mips_error, mips_kill): Ditto.
1470 * ocd.c (interrupt_query): Ditto.
1471 * monitor.c (monitor_interrupt_query): Ditto.
1472 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
1473 * target.h: Update comment.
aaa38bb5 1474
b5a2688f 1475 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 1476
2fa5c1e0
AC
14772002-02-09 Andrew Cagney <ac131313@redhat.com>
1478
1479 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
1480 default_double_format.
1481 * gdbarch.h, gdbarch.c: Re-generate.
1482 * findvar.c (floatformat_unknown): Delete variable definition.
1483 * doublest.h (floatformat_unknown): Delete variable declaration.
1484
da966255
JB
14852002-02-09 Jim Blandy <jimb@redhat.com>
1486
1487 * stabsread.c (read_type): Add code to parse Sun's syntax for
1488 prototyped function types.
1489
123a4891
AC
14902002-02-09 Andrew Cagney <ac131313@redhat.com>
1491
1492 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
1493 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
1494
fb39c8f3
PS
14952002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1496
1497 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
1498 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
1499 now _initialize_xcoffsolib gets called again and overrides the
1500 commands from solib.c in a native configuration.
1501
0b87a11d
MK
15022002-02-09 Mark Kettenis <kettenis@gnu.org>
1503
1504 * doublest.c (store_typed_floating): Don't try to return a value.
1505 Fixes PR gdb/290.
1506
bdc2fc72
JB
15072002-02-08 Jim Blandy <jimb@redhat.com>
1508
1509 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
1510 is prototyped and has no arguments, print its argument list as
1511 `(void)'.
1512
da69bbcf
CD
15132002-02-08 Chris Demetriou <cgd@broadcom.com>
1514
1515 * MAINTAINERS (write-after-approval): Add myself.
1516 (paper-trail): I've escaped!
aaa38bb5 1517
b69571f5
CF
15182002-02-08 Christopher Faylor <cgf@redhat.com>
1519
1520 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
1521 changes.
1522 (_initialize_check_for_gdb_ini): Ditto.
1523
f6871398
MH
15242002-02-08 Martin M. Hunt <hunt@redhat.com>
1525
1526 * win32-nat.c (cygwin_pid_to_str): Fix typo.
1527 xaprintf -> xasprintf.
1528
4e52d31c
PM
15292002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
1530
1531 * win32-nat.c: Remove use of printf and sprintf functions.
1532
39bbf761
RE
15332002-02-08 Richard Earnshaw <rearnsha@arm.com>
1534
1535 * arm-tdep.c (arm_frame_chain_valid): Make static.
1536 (arm_push_arguments): Likewise.
1537 (arm_gdbarch_init): New function.
1538 (_initialize_arm_tdep): Call it.
1539 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
1540 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
1541 (FRAME_CHAIN_VALID): Delete.
1542 (arm_frame_chain_valid): Delete declaration.
1543 (PUSH_ARGUMENTS): Delete.
1544 (arm_push_arguments): Delete declaration.
1545 (CALL_DUMMY_P): Delete.
1546
9c9532c9
CV
15472002-02-08 Andrew Cagney <ac131313@redhat.com>
1548 Corinna Vinschen <vinschen@redhat.com>
1549
1550 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
1551 on builtin float types.
1552
4e8f7a8b
DJ
15532002-02-08 Daniel Jacobowitz <drow@mvista.com>
1554
1555 * utils.c: Include <curses.h> before "bfd.h".
1556 * tui/tui-hooks.c: Likewise.
1557 * tui/tui.c: Likewise.
1558 * tui/tuiCommand.c: Likewise.
1559 * tui/tuiData.c: Likewise.
1560 * tui/tuiDataWin.c: Likewise.
1561 * tui/tuiDisassem.c: Likewise.
1562 * tui/tuiGeneralWin.c: Likewise.
1563 * tui/tuiIO.c: Likewise.
1564 * tui/tuiLayout.c: Likewise.
1565 * tui/tuiRegs.c: Likewise.
1566 * tui/tuiSource.c: Likewise.
1567 * tui/tuiSourceWin.c: Likewise.
1568 * tui/tuiStack.c: Likewise.
1569 * tui/tuiWin.c: Likewise.
1570
cd4bffcf
EZ
15712002-02-07 Elena Zannoni <ezannoni@redhat.com>
1572
1573 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
1574 to include space for pseudoregs as well. Update loops accordingly.
1575 (sh_fp_frame_init_saved_regs): Ditto.
1576 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
1577
26806ce2
AC
15782002-02-07 Andrew Cagney <ac131313@redhat.com>
1579
1580 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
1581 Add Richard Earnshaw to Arm maintainers.
1582
97fdab62
AC
15832002-02-07 Andrew Cagney <ac131313@redhat.com>
1584
a6b98203
AC
1585 * defs.h (warning_begin): Delete declaration.
1586
97fdab62
AC
1587 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
1588 Delete macro.
1589
78b29b40
MS
15902002-02-07 Michael Snyder <msnyder@redhat.com>
1591
aaa38bb5 1592 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
1593 Logic bug, remove misplaced else.
1594
d8849953
KD
15952002-02-07 Klee Dienes <klee@apple.com>
1596
1597 * fork-inferior.c (fork_inferior): Add '!' to the list of
1598 characters that need to be quoted when building a string for the
1599 shell. Quote '!' specifically with a backslash, since CSH chokes
1600 when trying to evaluate "str!str".
aaa38bb5 1601
095778a0
NC
16022002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
1603
1604 * rdi-share/host.h: Only provide a typedef for bool if it is not
1605 defined.
1606
1900040c
MS
16072002-02-04 Michael Snyder <msnyder@redhat.com>
1608
1609 * breakpoint.h (enum bptype): Add new overlay event bp type.
1610 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 1611
1900040c
MS
1612 * breakpoint.c (create_internal_breakpoint): New function.
1613 (internal_breakpoint_number): Moved into create_internal_breakpoint.
1614 (create_longjmp_breakpoint): Use create_internal_breakpoint.
1615 (create_thread_event_breakpoint): Ditto.
1616 (create_solib_event_breakpoint): Ditto.
1617 (create_overlay_event_breakpoint): New function.
1618 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
1619 (update_breakpoints_after_exec): Delete and re-initialize
1620 overlay event breakpoints after an exec. Add FIXME comment
1621 about longjmp breakpoint.
1622 (print_it_typical): Ignore overlay event breakpoints.
1623 (print_one_breakpoint): Ditto.
1624 (mention): Ditto.
1625 (bpstat_what): Do not stop for overlay event breakpoints.
1626 (delete_breakpoint): Don't delete overlay event breakpoints.
1627 (breakpoint_re_set_one): Delete the overlay event breakpoint.
1628 (breakpoint_re_set): Re-create overlay event breakpoint.
1629
1630 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
1631 (overlay_manual_command): Disable overlay breakpoints.
1632 (overlay_off_command): Disable overlay breakpoints.
1633
082fc60d
RE
16342002-02-06 Richard Earnshaw <rearnsha@arm.com>
1635
1636 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
1637 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
1638 to here from config/tm-arm.h.
1639 (coff_sym_is_thumb): Make static.
1640 (arm_elf_make_msymbol_special): New function.
1641 (arm_coff_make_msymbol_special): New function.
1642 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
1643 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
1644 (coff_sym_is_thumb): Delete declaration.
1645 (arm_elf_make_msymbol_special): Declare.
1646 (arm_coff_make_msymbol_special): Declare.
1647 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
1648 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
1649
039c5766
RE
16502002-02-06 Richard Earnshaw <rearnsha@arm.com>
1651
1652 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
1653
16542002-02-06 Richard Earnshaw <rearnsha@arm.com>
1655
1656 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
1657 * gdbarch.c gdbarch.h: Regenerate.
1658 * arch-utils.c (default_print_float_info): New function.
1659 * arch-utils.h (default_print_float_info): Prototype it.
1660 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
1661 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
1662 (PRINT_FLOAT_INFO): Document it.
1663
1664 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
1665 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
1666 (PRINT_FLOAT_INFO): Define.
1667
58fa08f0
PM
16682002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
1669
aaa38bb5 1670 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
1671 Add typecast to sprintf argument to suppress a warning.
1672
7393af7c
PM
16732002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
1674
58fa08f0 1675 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
1676 to allow easier handling of pass state.
1677 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
1678 that gives exception name and address.
1679 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 1680 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 1681 exceptions added.
aaa38bb5
AJ
1682 (child_continue): Correctly report continue_status.
1683 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 1684 TARGET_SIGNAL_0 (new default value).
aaa38bb5 1685 (child_resume): consider sig argument passed to decide if
7393af7c
PM
1686 the exception should be passed to debuggee or not.
1687
6af4589c
MS
16882002-02-05 Michael Snyder <msnyder@redhat.com>
1689
1690 * regcache.c (fetch_register): Call target_fetch_register
1691 only if we don't call FETCH_PSEUDO_REGISTER.
1692 (store_register): Call target_store_register only if we
1693 don't call STORE_PSEUDO_REGISTER.
1694
a2cf933a
EZ
16952002-02-05 Elena Zannoni <ezannoni@redhat.com>
1696
1697 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
1698 ELF_MAKE_MSYMBOL_SPECIAL.
1699 * gdbarch.c, gdbarch.h: Regenerate.
1700 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 1701 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
1702 * elfread.c (elf_symtab_read): Compile use of
1703 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
1704 multiarched.
1705 * coffread.c (coff_symtab_read): Ditto, for
1706 COFF_MAKE_MSYMBOL_SPECIAL.
1707
6bb7be43
JB
17082002-02-05 Jim Blandy <jimb@redhat.com>
1709
1710 * solib-svr4.c (svr4_truncate_ptr): New function.
1711 (svr4_relocate_section_addresses): Do the address arithmetic with
1712 the appropriate truncation for target addresses, even when
1713 CORE_ADDR is larger than a target address.
1714
e18651ec
DJ
17152002-02-05 Daniel Jacobowitz <drow@mvista.com>
1716
1717 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
1718 to (int *).
1719
6b2725be
DJ
17202002-02-05 Daniel Jacobowitz <drow@mvista.com>
1721
1722 * gdbserver/linux-low.c (kill_inferior): Remove commented out
1723 code.
1724
fca9e603
DJ
17252002-02-05 Daniel Jacobowitz <drow@mvista.com>
1726
1727 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
1728
6c537a52
DJ
17292002-02-05 Daniel Jacobowitz <drow@mvista.com>
1730
1731 * gdbserver/linux-low.c: Remove unused include files.
1732
d844cde6
DJ
17332002-02-05 Daniel Jacobowitz <drow@mvista.com>
1734
1735 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
1736 (read_inferior_memory): Use it.
1737 (write_inferior_memory): Likewise.
1738
d07c63e7
DJ
17392002-02-05 Daniel Jacobowitz <drow@mvista.com>
1740
1741 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
1742 grubbing through sys_errlist.
1743
da6d8c04
DJ
17442002-02-05 Daniel Jacobowitz <drow@mvista.com>
1745
1746 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
1747
5b421780
PM
17482002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1749 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
1750
9f60d481
AC
17512002-02-04 Andrew Cagney <ac131313@redhat.com>
1752
1753 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
1754 (do_sfunc, set_cmd_sfunc): New functions.
1755
1756 * command.h (struct cmd_list_element): Add field func.
1757 * cli/cli-decode.h (struct cmd_list_element): Ditto.
1758 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
1759 * cli/cli-decode.h: Ditto.
1760
1761 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
1762 (help_all, help_cmd_list): Ditto.
1763 (find_cmd, complete_on_cmdlist): Ditto.
1764 * top.c (execute_command): Ditto.
1765
1766 * cli/cli-setshow.c (do_setshow_command): Call func instead of
1767 function.sfunc.
1768
1769 * infcmd.c (notice_args_read): Fix function signature.
1770
1771 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
1772 * cli/cli-decode.c (add_set_cmd): Ditto.
1773 * utils.c (initialize_utils): Ditto.
1774 * maint.c (_initialize_maint_cmds): Ditto.
1775 * infrun.c (_initialize_infrun): Ditto.
1776 * demangle.c (_initialize_demangler): Ditto.
1777 * remote.c (add_packet_config_cmd): Ditto.
1778 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1779 * cris-tdep.c (_initialize_cris_tdep): Ditto.
1780 * proc-api.c (_initialize_proc_api): Ditto.
1781 * kod.c (_initialize_kod): Ditto.
1782 * valprint.c (_initialize_valprint): Ditto.
1783 * top.c (init_main): Ditto.
1784 * infcmd.c (_initialize_infcmd): Ditto.
1785 * corefile.c (_initialize_core): Ditto.
1786 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1787 * arch-utils.c (initialize_current_architecture): Ditto.
1788 (_initialize_gdbarch_utils): Ditto.
1789 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1790
1791 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
1792 * wince.c (_initialize_inftarg): Ditto.
1793 * symfile.c (_initialize_symfile): Ditto.
1794 * mips-tdep.c (_initialize_mips_tdep): Ditto.
1795 * language.c (_initialize_language): Ditto.
1796 * arc-tdep.c (_initialize_arc_tdep): Ditto.
1797
f9ba0717
MS
17982002-02-04 Michael Snyder <msnyder@redhat.com>
1799
1800 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
1801
0c74b2a7
DJ
18022002-02-04 Daniel Jacobowitz <drow@mvista.com>
1803
1804 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
1805 Add rules for building the register data files.
1806
c638789f
DJ
18072002-02-04 Daniel Jacobowitz <drow@mvista.com>
1808
1809 * regformats/regdat.sh: Add braces to the definition of
1810 expedite_regs_${arch}.
1811
db253027
DJ
18122002-02-04 Daniel Jacobowitz <drow@mvista.com>
1813
1814 * regformats/regdef.h (struct reg): Add comment describing the
1815 requirements for offset and size fields.
1816
206be19c
AS
18172002-02-04 Andreas Schwab <schwab@suse.de>
1818
1819 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
1820 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
1821
181c1381
RE
18222002-02-04 Richard Earnshaw <rearnsha@arm.com>
1823
1824 * gdbarch.sh (copyright): Update years in generated header.
1825 (SMASH_TEXT_ADDRESS): Add rule.
db253027 1826 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
1827 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
1828 * dbxread.c: Likewise.
1829 * dwarfread.c: Likewise.
1830 * elfread.c: Likewise.
1831 * somread.c: Likewise.
1832
1833 * arm-tdep.c (arm_smash_text_address): New function.
1834 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
1835
fa4ba8da
PM
18362002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
1837
1838 Add support for hardware watchpoints on win32 native.
aaa38bb5 1839 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 1840 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 1841 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
1842 of debug registers.
1843 (debug_registers_changed): New variable. Reflects when debug registers
1844 are changed and need to be written to inferior.
aaa38bb5 1845 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
1846 was set, used when new threads are created.
1847 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
1848 i386-nat code.
1849 (thread_rec): Set dr array if id is the thread of current_event .
1850 (child_continue, child_resume): Change the debug registers for all
1851 threads if debug_registers_changed.
1852 (child_add_thread): Change the debug registers if debug_registers_used.
1853 * config/i386/cygwin.mh: Add use of i386-nat.o file.
1854 Link nm.h to new nm-cygwin.h file.
1855 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
1856 of hardware registers.
1857
a73c86fb
AC
18582002-02-03 Andrew Cagney <ac131313@redhat.com>
1859
1860 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
1861 Restore behavour broken by 2002-01-20 Andrew Cagney
1862 <ac131313@redhat.com> IEEE_FLOAT removal.
1863
acf5ed49
DJ
18642002-02-03 Daniel Jacobowitz <drow@mvista.com>
1865
1866 * c-valprint.c (c_val_print): Pass a proper valaddr to
1867 cp_print_class_method.
1868 * valops.c (search_struct_method): If there is only one method
1869 and args is NULL, return that method.
1870
493d28d5
DJ
18712002-02-03 Daniel Jacobowitz <drow@mvista.com>
1872
1873 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
1874 accessing tag_name directly.
1875
7495dfdb
DJ
18762002-02-03 Daniel Jacobowitz <drow@mvista.com>
1877
1878 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
1879 of accessing tag_name directly.
1880
dd6bda65
DJ
18812002-02-03 Daniel Jacobowitz <drow@mvista.com>
1882
1883 PR gdb/280
1884 * gdbtypes.c (replace_type): New function.
1885 * gdbtypes.h (replace_type): Add prototype.
1886 * stabsread.c (read_type): Use replace_type.
1887
88fe217c
RE
18882002-02-03 Richard Earnshaw <rearnsha@arm.com>
1889
1890 * Makefile.in (memattr.o): Add missing dependencies rule.
1891
e5d66720
PS
18922002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1893
1894 * breakpoint.c (break_at_finish_command): Really export.
1895 (break_at_finish_at_depth_command): Ditto.
1896 (tbreak_at_finish_command): Ditto.
1897 * hppa-tdep.c: Include completer.h.
1898 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
1899 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
1900
fffee0be
AC
19012002-02-01 Andrew Cagney <ac131313@redhat.com>
1902
1903 * utils.c (do_write): New function.
1904 (error_stream): Rewrite combining the code from error_begin and
1905 verror.
1906 (verror): Rewrite using error_stream.
1907 (error_begin): Delete function.
1908
255e7dbf
AC
19092002-02-01 Andrew Cagney <ac131313@redhat.com>
1910
1911 * utils.c (error_begin): Make static.
1912 * defs.h (error_begin): Delete declaration.
1913
1914 * linespec.c (cplusplus_error): Replace cplusplus_hint.
1915 (decode_line_1): Use cplusplus_error instead of error_begin,
1916 cplusplus_hint and return_to_top_level.
1917 * coffread.c (coff_symfile_read): Use error instead of error_begin
1918 and return_to_top_level.
1919 * infrun.c (default_skip_permanent_breakpoint): Ditto.
1920
ddfe3c15
AC
19212002-02-01 Andrew Cagney <ac131313@redhat.com>
1922
1923 * language.h (type_error, range_error): Make string parameter
1924 constant.
1925 * language.c (warning_pre_print): Delete extern declaration.
1926 * dwarfread.c (warning_pre_print): Ditto.
1927 * language.c (type_error, range_error): Rewrite to use verror and
1928 vwarning instead of warning_begin.
1929
03ac34d5
MS
19302002-02-01 Michael Snyder <msnyder@redhat.com>
1931
261c4ca2
MS
1932 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
1933 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 1934
e00d1dc8
AC
19352002-02-01 Andrew Cagney <ac131313@redhat.com>
1936
1937 * command.h (NO_FUNCTION): Delete macro.
1938 * cli/cli-decode.h (NO_FUNCTION): Ditto.
1939 * top.c (execute_command): Replace NO_FUNCTION with NULL.
1940 * tracepoint.c (_initialize_tracepoint): Ditto.
1941 * cli/cli-decode.c (add_set_cmd): Ditto.
1942 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 1943
76b79d6e
DJ
19442002-02-01 Daniel Jacobowitz <drow@mvista.com>
1945
1946 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
1947 Update ``this'' pointer when calling virtual functions.
1948
799f9e91
MS
19492002-02-01 Michael Snyder <msnyder@redhat.com>
1950
c7bd442c 1951 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
1952 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
1953
3cf384d4
DJ
19542002-02-01 Daniel Jacobowitz <drow@mvista.com>
1955
1956 * regformats/reg-arm.dat: New file.
1957 * regformats/reg-i386.dat: New file.
1958 * regformats/reg-ia64.dat: New file.
1959 * regformats/reg-m68k.dat: New file.
1960 * regformats/reg-mips.dat: New file.
1961 * regformats/reg-ppc.dat: New file.
1962 * regformats/reg-sh.dat: New file.
1963 * regformats/regdef.h: New file.
1964 * regformats/regdat.sh: New file.
1965
0defa245
RE
19662002-02-01 Richard Earnshaw <reanrsha@arm.com>
1967
1968 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
1969 (arm_frame_args_address, arm_frame_locals_address): New functions.
1970 (arm_frame_num_args): New function.
1971 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
1972 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
1973 (FRMA_NUM_ARGS): Call arm_frame_num_args.
1974
405f26e6
MS
19752002-01-31 Michael Snyder <msnyder@redhat.com>
1976
502fd408
MS
1977 * breakpoint.c (break_at_finish_command): Export.
1978 (break_at_finish_at_depth_command): Export.
1979 (tbreak_at_finish_command): Export.
1980 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
1981 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
1982 "tbreak" commands, which are HPPA specific.
1983
7d35e135
MS
1984 * printcmd.c (disassemble_command): Remove an ancient
1985 artifact of an old merge.
1986
aaa38bb5 1987 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
1988 Define enum constant values for overlay mode.
1989 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
1990 (overlay_is_mapped, overlay_auto_command,
1991 overlay_manual_command): Ditto.
d874f1e2 1992
aaa38bb5
AJ
1993 * breakpoint.c (insert_breakpoints, remove_breakpoint,
1994 breakpoint_here_p, breakpoint_inserted_here_p,
1995 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
1996 describe_other_breakpoints, check_duplicates, clear_command):
1997 Coding standard fixes.
1998
8add0441 1999 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 2000 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
2001 code: check bfd SEC_READONLY flag for section.
2002
e351066e
AC
20032002-01-31 Andrew Cagney <ac131313@redhat.com>
2004
7d35e135 2005 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 2006
8a48e967
DJ
20072002-01-30 Daniel Jacobowitz <drow@mvista.com>
2008
2009 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
2010 data symbols, since we search based on textlow and texthigh.
2011 (find_pc_sect_symtab): Likewise.
2012
f5a96129
AC
20132002-01-30 Andrew Cagney <ac131313@redhat.com>
2014
2015 * defs.h (vwarning): Declare.
f5a96129
AC
2016 * utils.c (vwarning): New function.
2017 (warning): Call vwarning.
2018 (warning_begin): Delete function.
2019
2020 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
2021 the warning message.
2022 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
2023 warning_begin.
2024
cefd4ef5
MS
20252002-01-30 Michael Snyder <msnyder@redhat.com>
2026
1a703748
MS
2027 * NEWS: Mention "set trust-readonly-sections" command.
2028 Mention generate-core-file command.
cefd4ef5 2029
3a11626d
MS
20302002-01-15 Michael Snyder <msnyder@redhat.com>
2031
2032 * target.c: New command, "set trust-readonly-sections on".
2033 (do_xfer_memory): Honor the suggestion to trust readonly sections
2034 by reading them from the object file instead of from the target.
2035 (initialize_targets): Register command "set trust-readonly-sections".
2036
d1c7e53b
AC
20372002-01-29 Andrew Cagney <ac131313@redhat.com>
2038
2039 * parse.c (target_map_name_to_register): Simplify, search regs and
2040 pseudo-regs using a single loop.
2041
e2c9a72c
AC
20422002-01-30 Andrew Cagney <ac131313@redhat.com>
2043
2044 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
2045
69824b4e
MK
20462002-01-15 Rodney Brown <rbrown64@csc.com.au>
2047
2048 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
2049 * config/i386/i386v42mp.mh: Add i387-nat.o .
2050 * i386v4-nat.c: Include i387-nat.h.
2051 (supply_fpregset): Use i387_supply_fsave.
2052 (fill_fpregset): Use i387_fill_fsave.
2053
6eb69eab
RE
20542002-01-30 Richard Earnshaw <rearnsha@arm.com>
2055
2056 * arm-tdep.c (arm_call_dummy_words): Define.
2057 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
2058 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
2059 (CALL_DUMMY_WORDS): Define.
2060 (arm_call_dummy_words): Declare.
2061 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
2062 (arm_linux_call_dummy_words): Declare.
2063
9852326a
AS
20642002-01-30 Andreas Schwab <schwab@suse.de>
2065
2066 * m68klinux-nat.c: Fix last change to use regcache_collect
2067 instead of referencing registers[] directly.
2068
977a3030
AC
20692002-01-29 Andrew Cagney <ac131313@redhat.com>
2070
2071 * parse.c (target_map_name_to_register): Delete code wrapped in
2072 #ifdef REGISTER_NAME_ALIAS_HOOK.
2073
2076c72b
MS
20742002-01-28 Michael Snyder <msnyder@redhat.com>
2075
2076 * regcache.c (legacy_read_register_gen): Need to be able to
2077 read pseudo-register as well as real register.
2078 (legacy_write_register_gen): Ditto.
2079
8fcc723b
AC
20802002-01-28 Andrew Cagney <ac131313@redhat.com>
2081
2082 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2083 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
2084 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
2085 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
2086 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
2087 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
2088 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
2089 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
2090 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
2091 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2092 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
2093 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
2094 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
2095 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
2096 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
2097 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
2098 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
2099 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
2100 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
2101 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
2102
afe64c1a
AC
21032002-01-28 Andrew Cagney <ac131313@redhat.com>
2104
2105 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
2106 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
2107 (initialize_current_architecture): Update target_byte_order using
2108 information from BFD.
aaa38bb5 2109 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
2110 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
2111
75bc7ddf
AC
21122002-01-28 Andrew Cagney <ac131313@redhat.com>
2113
2114 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
2115 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
2116
2117 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
2118 #ifdef INVALID_FLOAT.
2119 * infcmd.c (do_registers_info): Ditto.
2120 * values.c (unpack_double): Ditto. Add comment.
2121
2122 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
2123 already commented out.
2124
0280a90a
AS
21252002-01-26 Andreas Schwab <schwab@suse.de>
2126
2127 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2128 * m68klinux-nat.c: Update ptrace interface for fetching/storing
2129 registers and add support for PTRACE_GETREGS.
2130
7072a954
AC
21312002-01-24 Andrew Cagney <ac131313@redhat.com>
2132
2133 GDB 5.1.1 released from 5.1 branch.
2134 * NEWS: Add 5.1.1 news.
2135 * README: Sync with 5.1 branch.
2136
86f902e0
FF
21372002-01-23 Fred Fish <fnf@redhat.com>
2138
2139 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
2140 stabstring on initial malloc. Reallocing will copy it for us,
2141 if necessary.
2142
8af51c36
EZ
21432002-01-23 Elena Zannoni <ezannoni@redhat.com>
2144
aaa38bb5 2145 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
2146 (HFILES_NO_SRCDIR): Remove hpread.h.
2147 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
2148 (hpread.o): Update dependencies.
2149 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
2150
2151 * hp-psymtab-read.c: Remove file.
2152 * hp-symtab-read.c: Remove file.
2153 * hpread.h: Remove file.
2154
2155 * hpread.c: Merge all contents of hp-psymtab-read.c,
2156 hp-symtab-read.c and hpread.h into this file, as it was prior to
2157 January 1999.
2158
2159 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 2160 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
2161 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
2162 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
2163
dc5cfeb6
EZ
21642002-01-23 Elena Zannoni <ezannoni@redhat.com>
2165
2166 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
2167 fill_gregset): Call gdbarch_tdep() just once, assign result to
2168 variable and use that, instead of calling the function several
2169 times.
2170
ea87b71b
AO
21712002-01-24 Alexandre Oliva <aoliva@redhat.com>
2172
2173 * configure.host: Accept sparcv9 as alias for sparc64.
2174 * configure.tgt: Likewise.
2175
13fc0c2f
KB
21762002-01-22 Kevin Buettner <kevinb@redhat.com>
2177
2178 * solib-aix5.c (build_so_list_from_mapfile)
2179 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
2180 arguments is not reversed.
2181 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
2182 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 2183
7bd872fe
EZ
21842002-01-22 Elena Zannoni <ezannoni@redhat.com>
2185
2186 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
2187 modified version of obsolete sh_fetch_pseudo_register.
2188 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
2189 (sh4_register_read): New function.
2190 (sh_pseudo_register_write): New function. Renamed and modified
2191 version of obsolete sh_store_pseudo_register.
2192 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
2193 (sh4_register_write): New function.
2194 (sh_gdbarch_init): Remove setting of gdbarch function
2195 fetch_pseudo_register and store_pseudo_register. Remove setting of
2196 register_convert_to_raw, register_convert_to_virtual,
2197 register_convertible.
2198 (sh_sh4_register_convertible): Delete. No longer needed. All is
2199 taken care by architecture specific functions
2200 register_read/register_write.
2201 (sh_sh4_register_convert_to_virtual): Make static.
2202 (sh_sh4_register_convert_to_raw): Ditto.
2203
069e84fd
AC
22042002-01-22 Andrew Cagney <ac131313@redhat.com>
2205
2206 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
2207 (floatformat_is_nan, floatformat_mantissa): Ditto.
2208
2209 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
2210 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
2211 builtin_type_ieee_double_little,
2212 builtin_type_ieee_double_littlebyte_bigword,
2213 builtin_type_m68881_ext, builtin_type_i960_ext,
2214 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
2215 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
2216 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
2217 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
2218
211a4f69
CV
22192002-01-22 Corinna Vinschen <vinschen@redhat.com>
2220
2221 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
2222 parameter. Set frameless flag if it exists and depended of
2223 whether the scanned function is frameless or not.
2224 (xstormy16_skip_prologue): If function is frameless, return
2225 result of xstormy16_scan_prologue().
2226 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
2227 call.
2228
f81353e4
EZ
22292002-01-21 Elena Zannoni <ezannoni@redhat.com>
2230
2231 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
2232 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2233 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
2234 sh_sh4_register_byte, sh_sh4_register_raw_size,
2235 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
2236 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
2237 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
2238 sh_store_pseudo_register, sh_do_pseudo_register): Call
2239 gdbarch_tdep() just once, assign result to variable and use that,
2240 instead of calling the function several times.
2241
63c73a17
MK
22422002-01-20 Mark Kettenis <kettenis@gnu.org>
2243
2244 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
2245 macros instead of LAST_FPU_CTRL_REGNUM.
2246 (store_register): Likewise.
2247
39ad761d
JB
22482002-01-21 Jim Blandy <jimb@redhat.com>
2249
2250 * infcmd.c (run_command): Check that the `exec' target layer's BFD
2251 is up-to-date before running the program, not just when a program
2252 exits.
2253
3d74b771
FF
22542002-01-21 Fred Fish <fnf@redhat.com>
2255
2256 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
2257 when we have found all instructions we are looking for.
2258
966fbf70
RE
22592002-01-21 Richard Earnshaw <rearnsha@arm.com>
2260
2261 * arm-tdep.c (arm_register_name): New function.
2262 (arm_registers_names): Make static.
2263 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
2264 (arm_register_name): Declare.
2265 (REGISTER_NAME): Use it.
2266
c3b4394c
RE
22672002-01-21 Richard Earnshaw <rearnsha@arm.com>
2268 Kevin Buettner <kevinb@redhat.com>
2269
2270 Convert arm targets to new FRAME interface.
2271 * arm-tdep.c (struct frame_extra_info): Remove fsr.
2272 (arm_frame_find_save_regs): Delete.
2273 (arm_frame_init_saved_regs): New.
2274 (arm_init_extra_frame_info): Alloacte saved_regs as required.
2275 Allocate extra_info as required. Convert all uses of fsr.regs
2276 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
2277 to use extra_info.
2278 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
2279 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
2280 (check_prologue_cache, save_prologue_cache): Likewise.
2281 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
2282 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
2283 (FRAME_FIND_SAVED_REGS): Delete.
2284 (arm_frame_find_saved_regs): Delete prototype.
2285 (arm_frame_init_saved_regs): New prototype.
2286 (FRAME_INIT_SAVED_REGS): Define.
2287
61d99182
AC
22882002-01-20 Andrew Cagney <ac131313@redhat.com>
2289
2290 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
2291
6aaea291
AC
22922002-01-20 Andrew Cagney <ac131313@redhat.com>
2293
2294 From Jeff Law <law@redhat.com>:
2295 * infttrace.c: Include <sys/pstat.h>.
2296 (child_pid_to_exec_file): Revamp. Use pstat call to get the
2297 exec file if the ttrace equivalent fails.
2298
15f698d2
AC
22992002-01-20 Andrew Cagney <ac131313@redhat.com>
2300
2301 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
2302 (closeLogFile): Ditto.
2303
f86ddd7c
MC
23042002-01-20 Michael Chastain <mec@shout.net>
2305
2306 * top.c (print_gdb_version): Bump copyright year to 2002.
2307
904507ce
AC
23082002-01-20 Andrew Cagney <ac131313@redhat.com>
2309
2310 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
2311 Zannoni and Eli Zaretskii.
2312
d7f0b9ce
DJ
23132002-01-20 Daniel Jacobowitz <drow@mvista.com>
2314
2315 * buildsym.c: Update copyright years.
2316 * c-typeprint.c: Likewise.
2317 * dwarf2read.c: Likewise.
2318 * f-typeprint.c: Likewise.
2319 * gdbtypes.c: Likewise.
2320 * gdbtypes.h: Likewise.
2321 * hp-symtab-read.c: Likewise.
2322 * hpread.c: Likewise.
2323 * mdebugread.c: Likewise.
2324 * p-typeprint.c: Likewise.
2325
3fd3d7d2
AC
23262002-01-20 Andrew Cagney <ac131313@redhat.com>
2327
2328 * remote-sim.c (gdbsim_open): Simplify code testing the macro
2329 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
2330 byte-order selectable.
2331 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
2332 * arch-utils.c: Ditto.
2333 (set_endian): Ditto.
2334 (set_endian_from_file): Ditto.
2335 * gdbserver/low-sim.c (create_inferior): Ditto.
2336 * gdbarch.sh: Ditto.
2337 * gdbarch.h: Re-generate.
aaa38bb5
AJ
2338 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2339 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
2340 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
2341 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2342 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2343 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
2344 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
2345 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
2346 macro definition.
2347 * config/mips/tm-wince.h: Remove #undef of macro
2348 TARGET_BYTE_ORDER_SELECTABLE.
2349 * config/sh/tm-wince.h: Ditto.
2350
b02dede2
DJ
23512002-01-20 Daniel Jacobowitz <drow@mvista.com>
2352
2353 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
2354 member function fields. Add accessor macro
2355 TYPE_FN_FIELD_ARTIFICIAL.
2356 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
2357 * c-typeprint.c (c_type_print_base): Skip artificial member
2358 functions.
2359
c3643761
DJ
23602002-01-20 Daniel Jacobowitz <drow@mvista.com>
2361
2362 * f-typeprint.c: Delete unused function f_type_print_args.
2363 * p-typeprint.c: Delete unused function pascal_type_print_args.
2364
8176bb6d
DJ
23652002-01-20 Daniel Jacobowitz <drow@mvista.com>
2366
2367 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
2368 comment. Add ``artificial'' to ``union field_location''.
2369
2370 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
2371
2372 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
2373 * mdebugread.c (parse_symbol): Likewise.
2374 * stabsread.c (define_symbol): Likewise.
2375 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
2376 initializing TYPE_FIELD_BITPOS to n (obsolete).
2377 (hpread_doc_function_type): Likewise.
2378 * hpread.c (hpread_function_type): Likewise.
2379
7fd60527
AC
23802002-01-20 Andrew Cagney <ac131313@redhat.com>
2381
2382 * configure.in (host_makefile_frag): Only require a host makefile
2383 fragment when a native build.
2384 * configure: Re-generate.
2385
c2f05ac9
AC
23862002-01-20 Andrew Cagney <ac131313@redhat.com>
2387
2388 * doublest.h (floatformat_from_type): Declare.
2389 * doublest.c (floatformat_from_type): New function.
2390 (convert_typed_floating): Use.
2391
2392 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
2393 call to function floatformat_from_type.
2394
2395 * gdbarch.sh (IEEE_FLOAT): Delete.
2396 * gdbarch.h, gdbarch.c: Re-generate.
2397 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
2398 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
2399 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
2400 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
2401 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
2402 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
2403 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
2404 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
2405 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
2406 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
2407 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
2408 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
2409
2410 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
2411 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
2412 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2413 * sh-tdep.c (sh_gdbarch_init): Ditto.
2414 * mips-tdep.c (mips_gdbarch_init): Ditto.
2415 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2416 * cris-tdep.c (cris_gdbarch_init): Ditto.
2417
abf22e64
AJ
24182002-01-20 Jiri Smid <smid@suse.cz>
2419
2420 * configure.host, configure.tgt: Support x86-64.
2421 * NEWS: Note new target x86-64.
2422
b7c4cbf8
AJ
2423 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
2424 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
2425 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
2426 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
2427 x86-64-linux-nat.o): Fix dependencies.
2428
82600034
AC
24292002-01-19 Andrew Cagney <ac131313@redhat.com>
2430
2431 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
2432 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
2433 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
2434 * config/sparc/xm-sun4os4.h: Delete file.
2435 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 2436
bbe5c628
AC
24372002-01-19 Andrew Cagney <ac131313@redhat.com>
2438
2439 * config/sparc/sparclynx.mh (XM_FILE): Delete.
2440 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
2441 * config/m68k/m68klynx.mh (XM_FILE): Delete.
2442 * config/i386/i386lynx.mh (XM_FILE): Delete.
2443 * config/rs6000/xm-rs6000ly.h: Delete file.
2444 * config/sparc/xm-sparclynx.h: Delete file.
2445 * config/m68k/xm-m68klynx.h: Delete file.
2446 * config/i386/xm-i386lynx.h: Delete file.
2447 * config/xm-lynx.h: Delete file.
2448 * config/djgpp/fnchange.lst: Update.
2449
f8453e34
JT
24502002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2451
2452 * alpha-tdep.c (alpha_register_byte): New function.
2453 (alpha_register_raw_size): Ditto.
2454 (alpha_register_virtual_size): Ditto.
2455 (alpha_skip_prologue_internal): Renamed from
2456 alpha_skip_prologue.
2457 (alpha_skip_prologue): New version that calls
2458 alpha_skip_prologue_internal.
2459 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
2460 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
2461 second argument from alpha_skip_prologue.
2462 (REGISTER_BYTE): Use alpha_register_byte.
2463 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
2464 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
2465 (FRAMELESS_FUNCTION_INVOCATION): Use
2466 generic_frameless_function_invocation_not.
2467 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
2468 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2469
52d9e613
AC
24702002-01-19 Andrew Cagney <ac131313@redhat.com>
2471
2472 * config/mips/xm-news-mips.h: Delete file.
2473 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
2474
2475 * config/m88k/xm-m88k.h: Delete file.
2476 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
2477 * config/m88k/xm-delta88v4.h: Ditto.
2478 * config/m88k/xm-delta88.h: Ditto.
2479
2480 * config/alpha/xm-fbsd.h: Delete file.
2481 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
2482
2483 * config/sparc/xm-sparc.h: Delete file.
2484 * Makefile.in (xm-sun4os4.h): Delete dependency.
2485 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
2486 * config/sparc/xm-sun4os4.h: Ditto.
2487 * config/sparc/xm-linux.h: Ditto.
2488
2489 * config/i386/xm-windows.h: Delete file.
2490
2d1b2124
AC
24912002-01-19 Andrew Cagney <ac131313@redhat.com>
2492
2493 * utils.c: Include <sys/param.h> for MAXPATHLEN.
2494 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
2495
ee1f65f0
JT
24962002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2497
2498 * alpha-tdep.c (alpha_call_dummy_words): New.
2499 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
2500 (CALL_DUMMY_P): Define.
2501 (CALL_DUMMY_WORDS): Define.
2502 (SIZEOF_CALL_DUMMY_WORDS): Define.
2503
98081e55
PB
25042002-01-19 Per Bothner <per@bothner.com>
2505
2506 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
2507 isn't NULL, which can happen with some gcj-3.x-produced code.
2508
0d056799
JT
25092002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
2510
2511 * alpha-tdep.c (alpha_register_virtual_type): New function.
2512 (alpha_init_frame_pc_first): Ditto.
2513 (alpha_fix_call_dummy): Ditto.
2514 (alpha_store_struct_return): Ditto.
2515 (alpha_extract_struct_value_address): Ditto.
2516 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
2517 alpha_register_virtual_type.
2518 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
2519 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
2520 alpha_extract_struct_value_address.
2521 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
2522 (INIT_FRAME_PC): Use init_frame_pc_noop.
2523 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2524
4604bcad
MK
25252002-01-19 Mark Kettenis <kettenis@gnu.org>
2526
2527 * i386gnu-nat.c: Include "i386-tdep.h".
2528 (fetch_fpregs): Simplify code dealing with uninitialized floating
2529 point states such that it doesn't require FP7_REGNUM.
2530
140f9984
JT
25312002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2532
abf22e64
AJ
2533 * alpha-tdep.c (frame_extra_info): New.
2534 (alpha_find_saved_regs): Make static. Use
140f9984
JT
2535 frame->extra_info.
2536 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
2537 (alpha_frame_saved_pc): Use frame->extra_info.
2538 (temp_saved_regs): Don't declare as struct frame_saved_regs.
2539 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
2540 (init_extra_frame_info): Rename to...
2541 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 2542 (alpha_print_extra_frame_info): New function.
140f9984
JT
2543 (alpha_frame_locals_address): Ditto.
2544 (alpha_frame_args_address): Ditto.
abf22e64 2545 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
2546 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
2547 alpha_frame_args_address.
abf22e64 2548 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 2549 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
2550 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
2551 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
2552 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
2553 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2554
d734c450
JT
25552002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2556
2557 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
2558 (alpha_cannot_fetch_register): Ditto.
2559 (alpha_cannot_store_register): Ditto.
2560 (alpha_register_convertible): Ditto.
2561 (alpha_use_struct_convention): Ditto.
2562 * config/alpha/tm-alpha.h: Update copyright years.
2563 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
2564 (INNER_THAN): Use core_addr_lessthan.
2565 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
2566 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
2567 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
2568 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
2569 (FRAME_CHAIN): Remove unnecessary cast.
2570
b4ceaee6
AC
25712002-01-18 Andrew Cagney <ac131313@redhat.com>
2572
2573 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
2574 obsolete.
2575
0a65a603
AC
25762002-01-18 Andrew Cagney <ac131313@redhat.com>
2577
2578 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
2579 * monitor.c, remote-array.c, remote-bug.c: Ditto.
2580 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
2581 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
2582 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
2583 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
2584 * x86-64-linux-nat.c: Ditto.
2585
636a6dfc
JT
25862002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2587
abf22e64 2588 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
2589 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
2590 (REGISTER_NAME): Define.
2591
acceddb6
JT
25922002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2593
2594 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
2595
ec32e4be
JT
25962002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2597
2598 * alpha-tdep.c: Update copyright years.
2599 (alpha_next_pc): New function.
2600 (alpha_software_single_step): Ditto.
2601 * config/alpha/tm-alpha.h: Add prototype for
2602 alpha_software_single_step.
2603
e771a871
JT
26042002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
2605
2606 * alphabsd-nat.c: Update copyright years.
2607 (fill_gregset): Use regcache_collect.
2608 (fill_fpregset): Likewise.
2609 (fetch_inferior_registers): Only fetch integer registers
2610 if requested to do so.
2611 (store_inferior_registers): Only store integer registers
2612 if requested to do so.
2613
7708fa01
AC
26142002-01-17 Andrew Cagney <ac131313@redhat.com>
2615
2616 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
2617 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
2618 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
2619 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
2620 * config/alpha/fbsd.mh (XDEPFILES): Delete.
2621 * config/arm/linux.mh (XDEPFILES): Delete.
2622 * config/arm/nbsd.mh (XDEPFILES): Delete.
2623 * config/i386/i386dgux.mh (XDEPFILES): Delete.
2624 * config/i386/i386sol2.mh (XDEPFILES): Delete.
2625 * config/i386/i386m3.mh (XDEPFILES): Delete.
2626 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
2627 * config/i386/i386gnu.mh (XDEPFILES): Delete.
2628 * config/i386/fbsd.mh (XDEPFILES): Delete.
2629 * config/i386/i386bsd.mh (XDEPFILES): Delete.
2630 * config/i386/i386sco5.mh (XDEPFILES): Delete.
2631 * config/i386/i386v4.mh (XDEPFILES): Delete.
2632 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
2633 * config/i386/i386sco4.mh (XDEPFILES): Delete.
2634 * config/i386/i386aix.mh (XDEPFILES): Delete.
2635 * config/i386/go32.mh (XDEPFILES): Delete.
2636 * config/i386/cygwin.mh (XDEPFILES): Delete.
2637 * config/i386/i386lynx.mh (XDEPFILES): Delete.
2638 * config/i386/i386mach.mh (XDEPFILES): Delete.
2639 * config/i386/i386v32.mh (XDEPFILES): Delete.
2640 * config/i386/linux.mh (XDEPFILES): Delete.
2641 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
2642 * config/i386/ncr3000.mh (XDEPFILES): Delete.
2643 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
2644 * config/i386/i386sco.mh (XDEPFILES): Delete.
2645 * config/i386/i386v.mh (XDEPFILES): Delete.
2646 * config/i386/nbsd.mh (XDEPFILES): Delete.
2647 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
2648 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
2649 * config/i386/symmetry.mh (XDEPFILES): Delete.
2650 * config/i386/obsd.mh (XDEPFILES): Delete.
2651 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
2652 * config/ia64/linux.mh (XDEPFILES): Delete.
2653 * config/ia64/aix.mh (XDEPFILES): Delete.
2654 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
2655 * config/m68k/dpx2.mh (XDEPFILES): Delete.
2656 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
2657 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
2658 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
2659 * config/m68k/linux.mh (XDEPFILES): Delete.
2660 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
2661 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
2662 * config/m68k/nbsd.mh (XDEPFILES): Delete.
2663 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
2664 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
2665 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
2666 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
2667 * config/m88k/delta88.mh (XDEPFILES): Delete.
2668 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
2669 * config/m88k/m88k.mh (XDEPFILES): Delete.
2670 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
2671 * config/mips/linux.mh (XDEPFILES): Delete.
2672 * config/mips/irix6.mh (XDEPFILES): Delete.
2673 * config/mips/irix5.mh (XDEPFILES): Delete.
2674 * config/mips/irix4.mh (XDEPFILES): Delete.
2675 * config/mips/irix3.mh (XDEPFILES): Delete.
2676 * config/mips/decstation.mh (XDEPFILES): Delete.
2677 * config/mips/mipsm3.mh (XDEPFILES): Delete.
2678 (NATDEPFILES): Move core-aout.o to here.
2679 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
2680 * config/pa/hpux1020.mh (XDEPFILES): Delete.
2681 * config/pa/hppabsd.mh (XDEPFILES): Delete.
2682 * config/pa/hppahpux.mh (XDEPFILES): Delete.
2683 * config/pa/hpux11w.mh (XDEPFILES): Delete.
2684 * config/pa/hppaosf.mh (XDEPFILES): Delete.
2685 * config/pa/hpux11.mh (XDEPFILES): Delete.
2686 * config/powerpc/aix.mh (XDEPFILES): Delete.
2687 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
2688 * config/powerpc/linux.mh (XDEPFILES): Delete.
2689 * config/romp/rtbsd.mh: Rename XDEPFILES.
2690 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
2691 * config/rs6000/aix4.mh (XDEPFILES): Delete.
2692 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
2693 * config/s390/s390.mh (XDEPFILES): Delete.
2694 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
2695 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
2696 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
2697 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
2698 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
2699 * config/sparc/nbsd.mh (XDEPFILES): Delete.
2700 * config/sparc/linux.mh (XDEPFILES): Delete.
2701 * config/vax/vaxult.mh (XDEPFILES): Delete.
2702 * config/vax/vaxult2.mh (XDEPFILES): Delete.
2703 * Makefile.in (DEPFILES): Remove XDEPFILES.
2704
375fc983
AC
27052002-01-17 Andrew Cagney <ac131313@redhat.com>
2706
2707 * utils.c (internal_verror): Fix comments, default is yes not no.
2708 Update queries to match. Default to quit and dump core.
2709
8926118c
AC
27102002-01-17 Andrew Cagney <ac131313@redhat.com>
2711
2712 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
2713 copyright.
2714 * defs.h, event-top.c, gdbcmd.h: Ditto.
2715 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
2716 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
2717 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
2718 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
2719 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
2720 * mi/mi-main.c:Ditto.
2721
2722 * stack.c, symfile.c: Update copyright.
2723
45b7b345
DJ
27242002-01-17 Daniel Jacobowitz <drow@mvista.com>
2725
db728ff7
DJ
2726 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
2727 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
2728 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
2729 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 2730
db728ff7
DJ
27312002-01-17 Daniel Jacobowitz <drow@mvista.com>
2732
2733 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
2734 * gdbserver/low-lynx.c (myattach): Likewise.
2735 * gdbserver/low-nbsd.c (myattach): Likewise.
2736 * gdbserver/low-sim.c (myattach): Likewise.
2737 * gdbserver/low-sparc.c (myattach): Likewise.
2738 * gdbserver/low-sun3.c (myattach): Likewise.
2739
2740 * gdbserver/low-linux.c (myattach): New function.
45b7b345 2741
db728ff7 2742 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
2743 (main): Handle "--attach".
2744
8de3c354
AC
27452002-01-16 Andrew Cagney <ac131313@redhat.com>
2746
2747 * MAINTAINERS (language support): Daniel Jacobwitz is C++
2748 maintainer.
2749
b0129042
DJ
27502002-01-15 Daniel Jacobowitz <drow@mvista.com>
2751
2752 * c-typeprint.c (is_type_conversion_operator): Add additional
2753 check for non-conversion operators.
2754
ba8679fb 27552002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
2756
2757 * linux-proc.c: Add "info proc" command, a la procfs.c.
2758 (read_mapping): New function, abstract and re-use code.
2759 (linux_find_memory_regions): Use new func read_mapping.
2760 (linux_info_proc_cmd): New function, implement "info proc".
2761 (_initialize_linux_proc): Add new command "info proc".
2762
e4f9b4d5
MS
27632002-01-15 Michael Snyder <msnyder@redhat.com>
2764
2765 * symfile.c (generic_load): Use bfd_map_over_sections method
2766 instead of manipulating bfd structure members directly.
2767 (add_section_size_callback): New function, bfd sections callback
2768 used by generic_load.
2769 (load_sections_callback): New function, bfd sections callback
2770 used by generic_load.
2771
08cf96df
EZ
27722002-01-15 Elena Zannoni <ezannoni@redhat.com>
2773
abf22e64 2774 [Based on work by Jim Blandy]
08cf96df
EZ
2775 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
2776 (builtin_type_vec128): Export.
2777 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
2778 types.
2779 (builtin_type_vec128): New builtin type for 128 bit vector
2780 registers.
2781 (build_gdbtypes): Initialize builtin_type_v16qi and
2782 builtin_type_v8hi. Create the vec128 register builtin type
2783 structure.
2784 (build_builtin_type_vec128): New function.
abf22e64 2785 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
2786 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
2787 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
2788 AltiVec register to new builtin type.
2789
d7242108
DJ
27902001-01-15 Daniel Jacobowitz <drow@mvista.com>
2791
2792 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
2793 to make_cv_type.
2794
4ee3352d
AC
27952002-01-14 Andrew Cagney <ac131313@redhat.com>
2796
2797 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
2798 CLEAN_UP_REGISTER_VALUE.
2799 * regcache.c (supply_register): Update only call.
2800
f015b2e7
AC
28012002-01-14 Andrew Cagney <ac131313@redhat.com>
2802
2803 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
2804 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
2805 a29k-*-vxworks* targets as obsolete.
2806
356ae49d
MS
28072002-01-14 Michael Snyder <msnyder@redhat.com>
2808
2809 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
2810 until we can resolve portability issues.
2811 * gregset.h: Remove references to fpxregs.
2812 * gcore.c (gcore_command): Initialize note_sec to NULL.
2813
ade8f45e
AC
28142002-01-13 Andrew Cagney <ac131313@redhat.com>
2815
2816 * signals.c (target_signal_to_name): Rewrite. Only use
2817 signals[].name when in bounds and non-NULL.
abf22e64 2818
89c49e7a
AC
28192002-01-13 Andrew Cagney <ac131313@redhat.com>
2820
2821 From Petr Ledvina <ledvinap@kae.zcu.cz>:
2822 * signals.c (target_signal_to_name): Verify that SIG is within the
2823 bounds of the signals array.
2824
4daa9f9f
AC
28252002-01-13 Andrew Cagney <ac131313@redhat.com>
2826
2827 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
2828
ba4bbdcb
KS
28292002-01-13 Keith Seitz <keiths@redhat.com>
2830
2831 * stack.c (print_frame_info_base): Print the frame's pc
2832 only if when print_frame_info_listing_hook is not defined.
2833
575bbeb6
KS
28342002-01-13 Keith Seitz <keiths@redhat.com>
2835
2836 * varobj.c (varobj_set_value): Make sure that there were no
2837 errors evaluating the object before attempting to set its
2838 value.
2839 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
2840 so this offset adjustment is no longer necessary.
2841 (create_child): Don't set the error flag if the child is
2842 a CPLUS_FAKE_CHILD.
2843 (value_of_child): If value_fetch_lazy fails, return NULL
2844 so that callers will be notified that an error occurred.
2845 (c_value_of_variable): Delay check of variable's validity
2846 until later. We actually want all structs and unions to have
2847 the value "{...}".
2848 Do not return "???" for variables which could not be evaluated.
2849 This error condition must be returned to the caller so that it
2850 can get the error condition from gdb.
2851 (cplus_name_of_child): Adjust index for vptr before figuring
2852 out the name of the child.
2853 (cplus_value_of_child): If a child's (real) parent is not valid,
2854 don't even bother trying to give a value for it. Just return
2855 an error. Change all instances in this function.
2856 (cplus_type_of_child): If our parent is one of the "fake"
2857 parents, we need to get at the type of the real parent, and
2858 derive the child's true type using this information.
2859
b76898ab
AC
28602002-01-13 Andrew Cagney <ac131313@redhat.com>
2861
2862 From 2002-01-09 John Marshall <johnm@falch.net>:
2863 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
2864 sources.redhat.com, and tweak some related URLs which had
2865 suffered from linkrot.
2866
b6649e88
AC
28672002-01-13 Andrew Cagney <ac131313@redhat.com>
2868
2869 From Jeff law:
2870 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
2871 structures passed in registers.
2872
82cc5033
EZ
28732002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
2874
2875 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
2876 white space which prevented compilation. Reported by DSK
2877 <dsk@student.unsw.edu.au>.
2878
ba5f2f8a
MS
28792002-01-11 Michael Snyder <msnyder@redhat.com>
2880
fbd35540
MS
2881 * symfile.c (build_section_addr_info_from_section_tab):
2882 Use bfd access method instead of manipulating bfd directly.
2883 (syms_from_objfile): Ditto.
2884 (simple_overlay_update_1): Ditto.
2885 (simple_overlay_update): Ditto.
2886 (generic_load): Ditto.
2887 (overlay_unmapped_address): FIXME comment, bfd access methods.
2888 (sections_overlap): FIXME comment, bfd access methods.
2889 (pc_in_mapped_range): FIXME comment, bfd access methods.
2890 (pc_in_unmapped_range): FIXME comment, bfd access methods.
2891 (section_is_mapped): FIXME comment, bfd access methods.
2892 (section_is_overlay): FIXME comment, bfd access methods.
2893
ba5f2f8a
MS
2894 * symfile.c (generic_load): Whitespace and long line cleanups.
2895 Remove duplicate variable, change several local variables to
2896 more appropriate data types.
2897 (print_transfer_performance): Use %lu instead of %ld for ulongs.
2898
17df2af6
AC
28992002-01-12 Andrew Cagney <ac131313@redhat.com>
2900
2901 From Peter Schauer:
2902 * language.c (longest_local_hex_string_custom): Use phex_nz to
2903 convert NUM to a hex string.
2904
ec920329
EZ
29052002-01-12 Elena Zannoni <ezannoni@redhat.com>
2906
2907 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
2908 the function.
538a76d6 2909 Update Copyright year.
ec920329 2910
3abd2e01
AC
29112002-01-12 Andrew Cagney <ac131313@redhat.com>
2912
2913 * language.c (longest_raw_hex_string): Delete unused function.
2914
b21b22e0
PS
29152002-01-11 Petr Sorfa <petrs@caldera.com>
2916
2917 * MAINTAINERS (write-after-approval): Add myself.
2918 * dwarf2read.c (read_tag_string_type): Handling of
2919 DW_AT_byte_size.
2920 (read_tag_string_type): FORTRAN fix to prevent propagation of
2921 first string size.
2922 (set_cu_language): Handling of DW_LANG_Fortran95
2923
747fe712
RE
29242002-01-11 Richard Earnshaw <rearnsha@arm.com>
2925
2926 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
2927 GETPID(inferior_ptid).
2928 (store_inferior_registers): Likewise.
2929
f1bea926
JM
29302002-01-10 Jason Merrill <jason@redhat.com>
2931
2932 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
2933 Fix DW_OP_minus.
2934
ae940673
AC
29352002-01-10 Andrew Cagney <ac131313@redhat.com>
2936
2937 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
2938 and bfd/elf32-sh-nbsd.c.
2939
00546b04
MS
29402002-01-10 Michael Snyder <msnyder@redhat.com>
2941
352ed7b4
MS
2942 * NEWS: Mention --pid and corefile/proc-id behavior change.
2943
c18be923
MS
2944 * Makefile.in: Add rules for gcore.o and linux-proc.o.
2945 * gcore.c: Include cli/cli-decode.h instead of command.h.
2946
00546b04
MS
2947 * main.c (captured_main): Add new command line option "--pid".
2948 If the second command line argument (following the symbol-file)
2949 begins with a digit, try to attach to it before trying to open
2950 it as a corefile.
2951 (print_gdb_help): Document the "--pid" argument.
2952
db60ec62
EZ
29532002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
2954
2955 * completer.c (command_completer): New function.
2956
2957 * completer.h <command_completer>: Add prototype.
2958
2959 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
2960 completer for the "help" command.
2961
39c22d1a
JM
29622002-01-09 Jason Merrill <jason@redhat.com>
2963
2964 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
2965
c564377f
MS
29662002-01-09 Michael Snyder <msnyder@redhat.com>
2967
975aec09
MS
2968 * i386-linux-nat.c (fill_fpxregset): Make global.
2969 (store_fpxregset): Ditto.
2970
db4a10fa
MS
2971 * gregset.h (gdb_fpxregset_t): Define.
2972 (supply_fpxregset): Prototype.
2973 (fill_fpxregset): Prototype.
2974
c564377f
MS
2975 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2976
c3d45d70
RE
29772002-01-09 Richard Earnshaw <rearnsha@arm.com>
2978
2979 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
2980 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
2981 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2982
fcc87af1
AC
29832002-01-09 Andrew Cagney <ac131313@redhat.com>
2984
2985 * MAINTAINERS: Update target maintainer rules so that any
2986 Maintainer can approve a tested patch for a maintenance-only
2987 target.
2988
dd96c05b
RE
29892002-01-09 Richard Earnshaw <rearnsha@arm.com>
2990
d4297db9 2991 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 2992
d4297db9 2993 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
2994 IN_SIGTRAMP.
2995
145fdc6e
MS
29962002-01-08 Michael Snyder <msnyder@redhat.com>
2997
2998 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
2999 real name of the executable, rather than the /proc name.
3000
be4d1333
MS
30012002-01-03 Michael Snyder <msnyder@redhat.com>
3002
3003 Implement a "generate-core-file" command in gdb, save target state.
3004 * gcore.c: New file. Implement new command 'generate-core-file'.
3005 Save a corefile image of the current state of the inferior.
3006 * linux-proc.c: Add linux-specific code for saving corefiles.
3007 * target.h (struct target_ops): Add new target vectors for saving
3008 corefiles; to_find_memory_regions and to_make_corefile_notes.
3009 (target_find_memory_regions): New macro.
3010 (target_make_corefile_notes): New macro.
3011 * target.c (update_current_target): Inherit new target methods.
3012 (dummy_find_memory_regions): New place-holder method.
3013 (dummy_make_corefile_notes): New place-holder method.
3014 (init_dummy_target): Initialize new dummy target vectors.
3015 * exec.c (exec_set_find_memory_regions): New function.
3016 Allow the exec_ops vector for memory regions to be taken over.
3017 (exec_make_note_section): New function, target vector method.
3018 * defs.h (exec_set_find_memory_regions): Export prototype.
3019 * procfs.c (proc_find_memory_regions): New function, corefile method.
3020 (procfs_make_note_section): New function, corefile method.
3021 (init_procfs_ops): Set new target vector pointers.
3022 (find_memory_regions_callback): New function.
3023 (procfs_do_thread_registers): New function.
3024 (procfs_corefile_thread_callback): New function.
3025 * sol-thread.c (sol_find_memory_regions): New function.
3026 (sol_make_note_section): New function.
3027 (init_sol_thread_ops): Initialize new target vectors.
3028 * inftarg.c (inftarg_set_find_memory_regions): New function.
3029 Allow to_find_memory_regions vector to be taken over.
3030 (inftarg_set_make_corefile_notes): New function.
3031 Allow to_make_corefile_notes vector to be taken over.
3032 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
3033 interface layer if not target_has_execution (may be a corefile).
3034 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
3035 * config/sparc/sun4sol2.mh: Ditto.
3036 * config/alpha/alpha-linux.mh: Ditto.
3037 * config/arm/linux.mh: Ditto.
3038 * config/i386/x86-64linux.mh: Ditto.
3039 * config/ia64/linux.mh: Ditto.
3040 * config/m68k/linux.mh: Ditto.
3041 * config/mips/linux.mh: Ditto.
3042 * config/powerpc/linux.mh: Ditto.
3043 * config/sparc/linux.mh: Ditto.
3044
c6b92abd
MS
30452002-01-07 Michael Snyder <msnyder@redhat.com>
3046
3047 * arm-linux-nat.c: Remove references to regcache.c internal data
3048 (registers[] and register_valid[]).
3049
4b09dc8c
MS
30502002-01-07 Michael Snyder <msnyder@redhat.com>
3051
abf22e64
AJ
3052 * linux-proc.c: New file. Implement child_pid_to_exec_file,
3053 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
3054 symbol file and shlibs.
3055 * Makefile.in: Add rule for linux-proc.o.
3056 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
3057 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
3058 * config/arm/linux.mh: Ditto.
3059 * config/i386/linux.mh: Ditto.
3060 * config/i386/x86-64linux.mh: Ditto.
3061 * config/ia64/linux.mh: Ditto.
3062 * config/m68k/linux.mh: Ditto.
3063 * config/mips/linux.mh: Ditto.
3064 * config/powerpc/linux.mh: Ditto.
3065 * config/sparc/linux.mh: Ditto.
3066
c25b74ac
PM
30672002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
3068
3069 * win32-nat.c: Add i386-tdep.h dependency.
3070
94cd915f
MS
30712002-01-07 Michael Snyder <msnyder@redhat.com>
3072
c7cccb76
MS
3073 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
3074 instead of bfd_get_arch_size. Don't bail out just because
3075 there's no exec_bfd.
abf22e64 3076
34c0bd93
MS
3077 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
3078 * p-valprint.c (pascal_object_print_value): Ditto.
3079 * somread.c (som_symtab_read): Ditto.
3080 * symfile.c (simple_free_overlay_region_table): Ditto.
3081 * valops.c (value_assign): Ditto.
3082
21c1c920
MS
3083 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
3084 use tilde_expand and strerror for opening save-tracepoints file.
3085
5bbd998e
MS
3086 * thread-db.c (thread_db_new_objfile): Indendation fix.
3087
94cd915f
MS
3088 * infptrace.c (GDB_MAX_ALLOCA): New define.
3089 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 3090 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
3091 can be overridden with whatever value is appropriate to the host).
3092 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
3093 alloca to allocate potentially large buffer.
3094 * rs6000-nat.c (child_xfer_memory): Ditto.
3095 * symm-nat.c (child_xfer_memory): Ditto.
3096 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
3097
494e8a93
JSC
30982002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
3099
3100 From Nick Clifton <nickc@redhat.com>
3101 * d10v-tdep.c: Set STACK_START to 0x200bffe.
3102
d0e1d48e
MS
31032002-01-07 Michael Snyder <msnyder@redhat.com>
3104
abf22e64 3105 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
3106 Don't use exec_bfd if it's NULL.
3107
290b2c7a
MK
31082002-01-06 Mark Kettenis <kettenis@gnu.org>
3109
abf22e64 3110 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 3111
aef21287
AC
31122002-01-06 Andrew Cagney <ac131313@redhat.com>
3113
3114 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
3115 * gnu-nat.c: Ditto.
3116
30efa627
AC
31172002-01-06 Andrew Cagney <ac131313@redhat.com>
3118
3119 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
3120 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
3121 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
3122 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
3123 z8k-coff have not been multi-arched. Update z8k-coff build
3124 status.
3125
9b4ff276
AC
31262002-01-06 Andrew Cagney <ac131313@redhat.com>
3127
3128 * MAINTAINERS: Mark a29k target as obsolete.
3129 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
3130 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
3131 comments.
3132 * NEWS: Note that a29k targets are obsolete.
3133 * a29k-tdep.c: Mark as obsolete.
3134 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3135 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3136 a29k-*-vxworks* targets as obsolete.
3137 * remote-adapt.c: Obsolete.
3138 * remote-eb.c: Obsolete.
3139 * remote-mm.c: Obsolete.
3140 * remote-udi.c: Obsolete.
3141 * config/a29k/a29k-udi.mt: Obsolete.
3142 * config/a29k/a29k.mt: Obsolete.
3143 * config/a29k/tm-a29k.h: Obsolete.
3144 * config/a29k/tm-vx29k.h: Obsolete.
3145 * config/a29k/vx29k.mt: Obsolete.
3146
a9011d31
AC
31472002-01-05 Andrew Cagney <ac131313@redhat.com>
3148
3149 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
3150 with BFD_ENDIAN_BIG.
3151
9299404e
AC
31522002-01-05 Andrew Cagney <ac131313@redhat.com>
3153
3154 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
3155 * configure, config.in: Re-generate.
3156 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
3157 * defs.h: Do not include <endian.h>.
3158
7e89e357
JT
31592002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
3160
3161 * acconfig.h (HAVE_PT_GETXMMREGS): New.
3162 * config.in: Regenerate.
3163 * configure.in: Update copyright years.
3164 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
3165 * configure: Regenerate.
3166 * i386bsd-nat.c: Update copyright years.
3167 (fill_gregset): Use regcache_collect.
3168 (fetch_inferior_registers): Only fetch integer registers
3169 if requested to do so. Add support for XMM registers
3170 using PT_GETXMMREGS.
3171 (store_inferior_registers): Only store integer registers
3172 if requested to do so. Add support for XMM registers
3173 using PT_SETXMMREGS.
3174 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
3175 (store_inferior_registers): Remove.
3176 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
3177 (fetch_elfcore_registers): New function.
3178 (i386nbsd_elfcore_fns): New.
3179 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
3180 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
3181 i386bsd-nat.o.
3182 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3183 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
3184 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
3185 * config/i386/tm-nbsd.h: Update copyright years.
3186 (HAVE_SSE_REGS): Define.
3187 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
3188 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
3189 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
3190 (SIGCONTEXT_PC_OFFSET): Remove.
3191 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
3192
a752853e
AC
31932002-01-05 Andrew Cagney <ac131313@redhat.com>
3194
3195 * configure.tgt: Remove powerpc-*-macos* target.
3196 * config/m68k/xm-mpw.h: Delete file.
3197 * config/xm-mpw.h: Delete file.
3198 * ser-mac.c: Delete file.
3199 * mpw-make.sed: Delete file.
3200 * mpw-config.in: Delete file.
3201 * mac-xdep.c: Delete file.
3202 * mac-gdb.r: Delete file.
3203 * mac-defs.h: Delete file.
3204 * mac-nat.c: Delete file.
3205 * config/powerpc/macos.mh: Delete file.
3206 * config/powerpc/macos.mt: Delete file.
3207 * config/powerpc/nm-macos.h: Delete file.
3208 * config/powerpc/tm-macos.h: Delete file.
3209 * source.c (openp, open_source_file): Remove obsolete code.
3210 * top.c (gdb_readline): Ditto.
3211 * utils.c (query): Ditto.
3212 * event-top.c (display_gdb_prompt): Ditto.
3213 * Makefile.in (ser-mac.o): Delete obsolete target.
3214 * NEWS: Update.
3215
d7449b42
AC
32162002-01-04 Andrew Cagney <ac131313@redhat.com>
3217
3218 * defs.h (BIG_ENDIAN): Delete macro definition.
3219 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
3220 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
3221 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
3222 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3223 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
3224 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
3225 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
3226 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
3227 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
3228 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
3229 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
3230 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
3231 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3232 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
3233 * gdbarch.c: Re-generate.
3234
356374e8
DJ
32352002-01-04 Daniel Jacobowitz <drow@mvista.com>
3236
3237 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
3238 for core files.
3239
a2b8f8f8
JT
32402002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3241
3242 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
3243
12466af9
AC
32442002-01-04 Andrew Cagney <ac131313@redhat.com>
3245
3246 * value.h (value_ptr): Delete typedef.
3247
3549ab40
JT
32482002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3249
3250 * i386nbsd-nat.c: Update copyright years.
3251 Include i386-tdep.h.
3252
fedbd091
EZ
32532002-01-04 Elena Zannoni <ezannoni@redhat.com>
3254
3255 * stabsread.c: Update copyright years.
3256
3257 From Debashis Mahata <debashis.mahata@wipro.com>:
3258 (read_struct_fields): Deal with Sun C compiler erroneous stab
3259 output for structs and unions.
fec8b34f 3260 Fix PR gdb/269.
fedbd091 3261
eb43544b
DJ
32622002-01-04 Daniel Jacobowitz <drow@mvista.com>
3263
3264 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
3265 prototype.
3266
1514d34e
DJ
32672002-01-04 Daniel Jacobowitz <drow@mvista.com>
3268
3269 * cp-abi.c: Fix whitespace.
3270 (baseclass_offset): New wrapper function.
3271 * cp-abi.h (baseclass_offset): Add prototype.
3272 (struct cp_abi_ops): Add baseclass_offset pointer.
3273
3274 * valops.c (vb_match): Move to...
3275 * gnu-v2-abi.c (vb_match): here.
3276 * valops.c (baseclass_offset): Move to...
3277 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
3278
3279 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
3280
3281 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
3282 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
3283 * hpacc-abi.c (init_hpacc_ops): Likewise.
3284
7f8c9282
DJ
32852002-01-04 Daniel Jacobowitz <drow@mvista.com>
3286
3287 * valops.c (find_overload_match): Accept obj as a
3288 reference parameter. Update it before returning.
3289 * value.h (find_overload_match): Update prototype.
3290 * eval.c (evaluate_subexp_standard): Pass object to
3291 find_overload_match by reference.
3292
f23631e4
AC
32932002-01-03 Andrew Cagney <ac131313@redhat.com>
3294
3295 * valarith.c: Replace value_ptr with struct value pointer. Remove
3296 register attribute from value declarations.
3297 * valops.c: Ditto.
3298 * value.h: Ditto.
3299 * scm-lang.c (scm_lookup_name): Ditto.
3300
79e10fab 33012002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 3302
79e10fab
AC
3303 Abstract the functionality of iterating over mapped memory
3304 regions into a general purpose iterator function.
abf22e64 3305 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
3306 iterator for memory sections.
3307 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
3308 (solib_mappings_callback): New function, callback for above.
3309 (info_proc_mappings): Reimpliment using iterate_over_mappings.
3310 (info_mappings_callback): New function, callback for above.
3311
3312 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
3313
c5ad026a
MK
33142002-01-01 Mark Kettenis <kettenis@gnu.org>
3315
d2a7c97a
MK
3316 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
3317 * i386-tdep.c: Include "elf-bfd.h".
3318 (process_note_abi_tag_sections): New function.
3319 (i386_gdbarch_init): Add code to recognize various OS/ABI
3320 combinations.
3321
c5ad026a
MK
3322 * maint.c (_initialize_maint_cmds): Add missing \ in
3323 string-literal.
3324
a1a5b71e 3325For older changes see ChangeLog-2001
c906108c
SS
3326\f
3327Local Variables:
3328mode: change-log
3329left-margin: 8
3330fill-column: 74
3331version-control: never
3332End: