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