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