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