* i386.c (md_assemble): Support 32bit address prefix.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
434d2d4f
DJ
12002-02-10 Daniel Jacobowitz <drow@mvista.com>
2
3 * symtab.c (compare_search_syms): New function.
4 (sort_search_symbols): New function.
5 (search_symbols): Sort symbols after searching rather than
6 before.
7
55241689
AC
82002-02-10 Andrew Cagney <ac131313@redhat.com>
9
10 * NEWS: Linux -> GNU/Linux.
11
028c194b
AC
122002-02-10 Andrew Cagney <ac131313@redhat.com>
13
14 * gdbarch.sh: For for level one methods, disallow a definition
15 when partially multi-arched. Add comments explaining rationale.
16 * gdbarch.h: Re-generate.
17
6acf50cd
AC
182002-02-10 Andrew Cagney <ac131313@redhat.com>
19
20 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
21 multi-arch partial.
22
50248794
AC
232002-02-10 Andrew Cagney <ac131313@redhat.com>
24
25 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
26 field. Use diff -u.
27 * gdbarch.c: Re-generate.
28
c30e0066
AC
292002-02-10 Andrew Cagney <ac131313@redhat.com>
30
9b56c5f3 31 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
32 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
33 partial.
34
6e6d6484
AC
352002-02-10 Andrew Cagney <ac131313@redhat.com>
36
37 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
38 multi-arch partial.
39 (PUSH_ARGUMENTS): Switch to using predefault.
40 * gdbarch.c: Regenerate.
41
c203844d
AC
422002-02-10 Andrew Cagney <ac131313@redhat.com>
43
44 * valops.c (PUSH_ARGUMENTS): Delete definition.
45 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
46 partial. Default to default_push_arguments.
47 * gdbarch.h, gdbarch.c: Regenerate.
48
b5a2688f
AC
492002-02-09 Andrew Cagney <ac131313@redhat.com>
50
51 * defs.h (throw_exception): Rename return_to_top_level. Update
52 comments.
53 * utils.c (error_stream, internal_verror, quit): Ditto.
54 * top.c (throw_exception, catcher): Ditto.
55 * sparclet-rom.c (sparclet_load): Ditto.
56 * remote.c (interrupt_query, minitelnet): Ditto.
57 * remote-sds.c (interrupt_query): Ditto.
58 * remote-mips.c (mips_error, mips_kill): Ditto.
59 * ocd.c (interrupt_query): Ditto.
60 * monitor.c (monitor_interrupt_query): Ditto.
61 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
62 * target.h: Update comment.
63
64 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
65
2fa5c1e0
AC
662002-02-09 Andrew Cagney <ac131313@redhat.com>
67
68 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
69 default_double_format.
70 * gdbarch.h, gdbarch.c: Re-generate.
71 * findvar.c (floatformat_unknown): Delete variable definition.
72 * doublest.h (floatformat_unknown): Delete variable declaration.
73
da966255
JB
742002-02-09 Jim Blandy <jimb@redhat.com>
75
76 * stabsread.c (read_type): Add code to parse Sun's syntax for
77 prototyped function types.
78
123a4891
AC
792002-02-09 Andrew Cagney <ac131313@redhat.com>
80
81 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
82 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
83
fb39c8f3
PS
842002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
85
86 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
87 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
88 now _initialize_xcoffsolib gets called again and overrides the
89 commands from solib.c in a native configuration.
90
0b87a11d
MK
912002-02-09 Mark Kettenis <kettenis@gnu.org>
92
93 * doublest.c (store_typed_floating): Don't try to return a value.
94 Fixes PR gdb/290.
95
bdc2fc72
JB
962002-02-08 Jim Blandy <jimb@redhat.com>
97
98 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
99 is prototyped and has no arguments, print its argument list as
100 `(void)'.
101
da69bbcf
CD
1022002-02-08 Chris Demetriou <cgd@broadcom.com>
103
104 * MAINTAINERS (write-after-approval): Add myself.
105 (paper-trail): I've escaped!
106
b69571f5
CF
1072002-02-08 Christopher Faylor <cgf@redhat.com>
108
109 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
110 changes.
111 (_initialize_check_for_gdb_ini): Ditto.
112
f6871398
MH
1132002-02-08 Martin M. Hunt <hunt@redhat.com>
114
115 * win32-nat.c (cygwin_pid_to_str): Fix typo.
116 xaprintf -> xasprintf.
117
4e52d31c
PM
1182002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
119
120 * win32-nat.c: Remove use of printf and sprintf functions.
121
39bbf761
RE
1222002-02-08 Richard Earnshaw <rearnsha@arm.com>
123
124 * arm-tdep.c (arm_frame_chain_valid): Make static.
125 (arm_push_arguments): Likewise.
126 (arm_gdbarch_init): New function.
127 (_initialize_arm_tdep): Call it.
128 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
129 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
130 (FRAME_CHAIN_VALID): Delete.
131 (arm_frame_chain_valid): Delete declaration.
132 (PUSH_ARGUMENTS): Delete.
133 (arm_push_arguments): Delete declaration.
134 (CALL_DUMMY_P): Delete.
135
9c9532c9
CV
1362002-02-08 Andrew Cagney <ac131313@redhat.com>
137 Corinna Vinschen <vinschen@redhat.com>
138
139 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
140 on builtin float types.
141
4e8f7a8b
DJ
1422002-02-08 Daniel Jacobowitz <drow@mvista.com>
143
144 * utils.c: Include <curses.h> before "bfd.h".
145 * tui/tui-hooks.c: Likewise.
146 * tui/tui.c: Likewise.
147 * tui/tuiCommand.c: Likewise.
148 * tui/tuiData.c: Likewise.
149 * tui/tuiDataWin.c: Likewise.
150 * tui/tuiDisassem.c: Likewise.
151 * tui/tuiGeneralWin.c: Likewise.
152 * tui/tuiIO.c: Likewise.
153 * tui/tuiLayout.c: Likewise.
154 * tui/tuiRegs.c: Likewise.
155 * tui/tuiSource.c: Likewise.
156 * tui/tuiSourceWin.c: Likewise.
157 * tui/tuiStack.c: Likewise.
158 * tui/tuiWin.c: Likewise.
159
cd4bffcf
EZ
1602002-02-07 Elena Zannoni <ezannoni@redhat.com>
161
162 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
163 to include space for pseudoregs as well. Update loops accordingly.
164 (sh_fp_frame_init_saved_regs): Ditto.
165 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
166
26806ce2
AC
1672002-02-07 Andrew Cagney <ac131313@redhat.com>
168
169 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
170 Add Richard Earnshaw to Arm maintainers.
171
97fdab62
AC
1722002-02-07 Andrew Cagney <ac131313@redhat.com>
173
a6b98203
AC
174 * defs.h (warning_begin): Delete declaration.
175
97fdab62
AC
176 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
177 Delete macro.
178
78b29b40
MS
1792002-02-07 Michael Snyder <msnyder@redhat.com>
180
181 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
182 Logic bug, remove misplaced else.
183
d8849953
KD
1842002-02-07 Klee Dienes <klee@apple.com>
185
186 * fork-inferior.c (fork_inferior): Add '!' to the list of
187 characters that need to be quoted when building a string for the
188 shell. Quote '!' specifically with a backslash, since CSH chokes
189 when trying to evaluate "str!str".
190
095778a0
NC
1912002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
192
193 * rdi-share/host.h: Only provide a typedef for bool if it is not
194 defined.
195
1900040c
MS
1962002-02-04 Michael Snyder <msnyder@redhat.com>
197
198 * breakpoint.h (enum bptype): Add new overlay event bp type.
199 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
200
201 * breakpoint.c (create_internal_breakpoint): New function.
202 (internal_breakpoint_number): Moved into create_internal_breakpoint.
203 (create_longjmp_breakpoint): Use create_internal_breakpoint.
204 (create_thread_event_breakpoint): Ditto.
205 (create_solib_event_breakpoint): Ditto.
206 (create_overlay_event_breakpoint): New function.
207 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
208 (update_breakpoints_after_exec): Delete and re-initialize
209 overlay event breakpoints after an exec. Add FIXME comment
210 about longjmp breakpoint.
211 (print_it_typical): Ignore overlay event breakpoints.
212 (print_one_breakpoint): Ditto.
213 (mention): Ditto.
214 (bpstat_what): Do not stop for overlay event breakpoints.
215 (delete_breakpoint): Don't delete overlay event breakpoints.
216 (breakpoint_re_set_one): Delete the overlay event breakpoint.
217 (breakpoint_re_set): Re-create overlay event breakpoint.
218
219 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
220 (overlay_manual_command): Disable overlay breakpoints.
221 (overlay_off_command): Disable overlay breakpoints.
222
082fc60d
RE
2232002-02-06 Richard Earnshaw <rearnsha@arm.com>
224
225 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
226 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
227 to here from config/tm-arm.h.
228 (coff_sym_is_thumb): Make static.
229 (arm_elf_make_msymbol_special): New function.
230 (arm_coff_make_msymbol_special): New function.
231 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
232 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
233 (coff_sym_is_thumb): Delete declaration.
234 (arm_elf_make_msymbol_special): Declare.
235 (arm_coff_make_msymbol_special): Declare.
236 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
237 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
238
039c5766
RE
2392002-02-06 Richard Earnshaw <rearnsha@arm.com>
240
241 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
242
2432002-02-06 Richard Earnshaw <rearnsha@arm.com>
244
245 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
246 * gdbarch.c gdbarch.h: Regenerate.
247 * arch-utils.c (default_print_float_info): New function.
248 * arch-utils.h (default_print_float_info): Prototype it.
249 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
250 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
251 (PRINT_FLOAT_INFO): Document it.
252
253 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
254 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
255 (PRINT_FLOAT_INFO): Define.
256
58fa08f0
PM
2572002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
258
259 * win32-nat.c (_initialize_check_for_gdb_ini):
260 Add typecast to sprintf argument to suppress a warning.
261
7393af7c
PM
2622002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
263
58fa08f0 264 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
265 to allow easier handling of pass state.
266 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
267 that gives exception name and address.
268 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
269 and set last_sig value to ourstatus->value.sig. Some missing
270 exceptions added.
271 (child_continue): Correctly report continue_status.
272 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
273 TARGET_SIGNAL_0 (new default value).
274 (child_resume): consider sig argument passed to decide if
275 the exception should be passed to debuggee or not.
276
6af4589c
MS
2772002-02-05 Michael Snyder <msnyder@redhat.com>
278
279 * regcache.c (fetch_register): Call target_fetch_register
280 only if we don't call FETCH_PSEUDO_REGISTER.
281 (store_register): Call target_store_register only if we
282 don't call STORE_PSEUDO_REGISTER.
283
a2cf933a
EZ
2842002-02-05 Elena Zannoni <ezannoni@redhat.com>
285
286 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
287 ELF_MAKE_MSYMBOL_SPECIAL.
288 * gdbarch.c, gdbarch.h: Regenerate.
289 * arch-utils.c (default_make_msymbol_special): New function.
290 * arch-utils.h (default_make_msymbol_special): Export.
291 * elfread.c (elf_symtab_read): Compile use of
292 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
293 multiarched.
294 * coffread.c (coff_symtab_read): Ditto, for
295 COFF_MAKE_MSYMBOL_SPECIAL.
296
6bb7be43
JB
2972002-02-05 Jim Blandy <jimb@redhat.com>
298
299 * solib-svr4.c (svr4_truncate_ptr): New function.
300 (svr4_relocate_section_addresses): Do the address arithmetic with
301 the appropriate truncation for target addresses, even when
302 CORE_ADDR is larger than a target address.
303
e18651ec
DJ
3042002-02-05 Daniel Jacobowitz <drow@mvista.com>
305
306 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
307 to (int *).
308
6b2725be
DJ
3092002-02-05 Daniel Jacobowitz <drow@mvista.com>
310
311 * gdbserver/linux-low.c (kill_inferior): Remove commented out
312 code.
313
fca9e603
DJ
3142002-02-05 Daniel Jacobowitz <drow@mvista.com>
315
316 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
317
6c537a52
DJ
3182002-02-05 Daniel Jacobowitz <drow@mvista.com>
319
320 * gdbserver/linux-low.c: Remove unused include files.
321
d844cde6
DJ
3222002-02-05 Daniel Jacobowitz <drow@mvista.com>
323
324 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
325 (read_inferior_memory): Use it.
326 (write_inferior_memory): Likewise.
327
d07c63e7
DJ
3282002-02-05 Daniel Jacobowitz <drow@mvista.com>
329
330 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
331 grubbing through sys_errlist.
332
da6d8c04
DJ
3332002-02-05 Daniel Jacobowitz <drow@mvista.com>
334
335 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
336
5b421780
PM
3372002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
338 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
339
9f60d481
AC
3402002-02-04 Andrew Cagney <ac131313@redhat.com>
341
342 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
343 (do_sfunc, set_cmd_sfunc): New functions.
344
345 * command.h (struct cmd_list_element): Add field func.
346 * cli/cli-decode.h (struct cmd_list_element): Ditto.
347 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
348 * cli/cli-decode.h: Ditto.
349
350 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
351 (help_all, help_cmd_list): Ditto.
352 (find_cmd, complete_on_cmdlist): Ditto.
353 * top.c (execute_command): Ditto.
354
355 * cli/cli-setshow.c (do_setshow_command): Call func instead of
356 function.sfunc.
357
358 * infcmd.c (notice_args_read): Fix function signature.
359
360 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
361 * cli/cli-decode.c (add_set_cmd): Ditto.
362 * utils.c (initialize_utils): Ditto.
363 * maint.c (_initialize_maint_cmds): Ditto.
364 * infrun.c (_initialize_infrun): Ditto.
365 * demangle.c (_initialize_demangler): Ditto.
366 * remote.c (add_packet_config_cmd): Ditto.
367 * mips-tdep.c (_initialize_mips_tdep): Ditto.
368 * cris-tdep.c (_initialize_cris_tdep): Ditto.
369 * proc-api.c (_initialize_proc_api): Ditto.
370 * kod.c (_initialize_kod): Ditto.
371 * valprint.c (_initialize_valprint): Ditto.
372 * top.c (init_main): Ditto.
373 * infcmd.c (_initialize_infcmd): Ditto.
374 * corefile.c (_initialize_core): Ditto.
375 * arm-tdep.c (_initialize_arm_tdep): Ditto.
376 * arch-utils.c (initialize_current_architecture): Ditto.
377 (_initialize_gdbarch_utils): Ditto.
378 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
379
380 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
381 * wince.c (_initialize_inftarg): Ditto.
382 * symfile.c (_initialize_symfile): Ditto.
383 * mips-tdep.c (_initialize_mips_tdep): Ditto.
384 * language.c (_initialize_language): Ditto.
385 * arc-tdep.c (_initialize_arc_tdep): Ditto.
386
f9ba0717
MS
3872002-02-04 Michael Snyder <msnyder@redhat.com>
388
389 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
390
0c74b2a7
DJ
3912002-02-04 Daniel Jacobowitz <drow@mvista.com>
392
393 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
394 Add rules for building the register data files.
395
c638789f
DJ
3962002-02-04 Daniel Jacobowitz <drow@mvista.com>
397
398 * regformats/regdat.sh: Add braces to the definition of
399 expedite_regs_${arch}.
400
db253027
DJ
4012002-02-04 Daniel Jacobowitz <drow@mvista.com>
402
403 * regformats/regdef.h (struct reg): Add comment describing the
404 requirements for offset and size fields.
405
206be19c
AS
4062002-02-04 Andreas Schwab <schwab@suse.de>
407
408 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
409 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
410
181c1381
RE
4112002-02-04 Richard Earnshaw <rearnsha@arm.com>
412
413 * gdbarch.sh (copyright): Update years in generated header.
414 (SMASH_TEXT_ADDRESS): Add rule.
db253027 415 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
416 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
417 * dbxread.c: Likewise.
418 * dwarfread.c: Likewise.
419 * elfread.c: Likewise.
420 * somread.c: Likewise.
421
422 * arm-tdep.c (arm_smash_text_address): New function.
423 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
424
fa4ba8da
PM
4252002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
426
427 Add support for hardware watchpoints on win32 native.
428 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
429 CONTEXT_DEBUG_REGISTERS.
430 (dr variable): New variable. Static array containing a local copy
431 of debug registers.
432 (debug_registers_changed): New variable. Reflects when debug registers
433 are changed and need to be written to inferior.
434 (debug_registers_used): New variable. Reflects when any debug register
435 was set, used when new threads are created.
436 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
437 i386-nat code.
438 (thread_rec): Set dr array if id is the thread of current_event .
439 (child_continue, child_resume): Change the debug registers for all
440 threads if debug_registers_changed.
441 (child_add_thread): Change the debug registers if debug_registers_used.
442 * config/i386/cygwin.mh: Add use of i386-nat.o file.
443 Link nm.h to new nm-cygwin.h file.
444 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
445 of hardware registers.
446
a73c86fb
AC
4472002-02-03 Andrew Cagney <ac131313@redhat.com>
448
449 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
450 Restore behavour broken by 2002-01-20 Andrew Cagney
451 <ac131313@redhat.com> IEEE_FLOAT removal.
452
acf5ed49
DJ
4532002-02-03 Daniel Jacobowitz <drow@mvista.com>
454
455 * c-valprint.c (c_val_print): Pass a proper valaddr to
456 cp_print_class_method.
457 * valops.c (search_struct_method): If there is only one method
458 and args is NULL, return that method.
459
493d28d5
DJ
4602002-02-03 Daniel Jacobowitz <drow@mvista.com>
461
462 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
463 accessing tag_name directly.
464
7495dfdb
DJ
4652002-02-03 Daniel Jacobowitz <drow@mvista.com>
466
467 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
468 of accessing tag_name directly.
469
dd6bda65
DJ
4702002-02-03 Daniel Jacobowitz <drow@mvista.com>
471
472 PR gdb/280
473 * gdbtypes.c (replace_type): New function.
474 * gdbtypes.h (replace_type): Add prototype.
475 * stabsread.c (read_type): Use replace_type.
476
88fe217c
RE
4772002-02-03 Richard Earnshaw <rearnsha@arm.com>
478
479 * Makefile.in (memattr.o): Add missing dependencies rule.
480
e5d66720
PS
4812002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
482
483 * breakpoint.c (break_at_finish_command): Really export.
484 (break_at_finish_at_depth_command): Ditto.
485 (tbreak_at_finish_command): Ditto.
486 * hppa-tdep.c: Include completer.h.
487 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
488 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
489
fffee0be
AC
4902002-02-01 Andrew Cagney <ac131313@redhat.com>
491
492 * utils.c (do_write): New function.
493 (error_stream): Rewrite combining the code from error_begin and
494 verror.
495 (verror): Rewrite using error_stream.
496 (error_begin): Delete function.
497
255e7dbf
AC
4982002-02-01 Andrew Cagney <ac131313@redhat.com>
499
500 * utils.c (error_begin): Make static.
501 * defs.h (error_begin): Delete declaration.
502
503 * linespec.c (cplusplus_error): Replace cplusplus_hint.
504 (decode_line_1): Use cplusplus_error instead of error_begin,
505 cplusplus_hint and return_to_top_level.
506 * coffread.c (coff_symfile_read): Use error instead of error_begin
507 and return_to_top_level.
508 * infrun.c (default_skip_permanent_breakpoint): Ditto.
509
ddfe3c15
AC
5102002-02-01 Andrew Cagney <ac131313@redhat.com>
511
512 * language.h (type_error, range_error): Make string parameter
513 constant.
514 * language.c (warning_pre_print): Delete extern declaration.
515 * dwarfread.c (warning_pre_print): Ditto.
516 * language.c (type_error, range_error): Rewrite to use verror and
517 vwarning instead of warning_begin.
518
03ac34d5
MS
5192002-02-01 Michael Snyder <msnyder@redhat.com>
520
261c4ca2
MS
521 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
522 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 523
e00d1dc8
AC
5242002-02-01 Andrew Cagney <ac131313@redhat.com>
525
526 * command.h (NO_FUNCTION): Delete macro.
527 * cli/cli-decode.h (NO_FUNCTION): Ditto.
528 * top.c (execute_command): Replace NO_FUNCTION with NULL.
529 * tracepoint.c (_initialize_tracepoint): Ditto.
530 * cli/cli-decode.c (add_set_cmd): Ditto.
531 * cli/cli-cmds.c (init_cli_cmds): Ditto.
532
76b79d6e
DJ
5332002-02-01 Daniel Jacobowitz <drow@mvista.com>
534
535 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
536 Update ``this'' pointer when calling virtual functions.
537
799f9e91
MS
5382002-02-01 Michael Snyder <msnyder@redhat.com>
539
c7bd442c 540 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
541 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
542
3cf384d4
DJ
5432002-02-01 Daniel Jacobowitz <drow@mvista.com>
544
545 * regformats/reg-arm.dat: New file.
546 * regformats/reg-i386.dat: New file.
547 * regformats/reg-ia64.dat: New file.
548 * regformats/reg-m68k.dat: New file.
549 * regformats/reg-mips.dat: New file.
550 * regformats/reg-ppc.dat: New file.
551 * regformats/reg-sh.dat: New file.
552 * regformats/regdef.h: New file.
553 * regformats/regdat.sh: New file.
554
0defa245
RE
5552002-02-01 Richard Earnshaw <reanrsha@arm.com>
556
557 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
558 (arm_frame_args_address, arm_frame_locals_address): New functions.
559 (arm_frame_num_args): New function.
560 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
561 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
562 (FRMA_NUM_ARGS): Call arm_frame_num_args.
563
405f26e6
MS
5642002-01-31 Michael Snyder <msnyder@redhat.com>
565
502fd408
MS
566 * breakpoint.c (break_at_finish_command): Export.
567 (break_at_finish_at_depth_command): Export.
568 (tbreak_at_finish_command): Export.
569 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
570 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
571 "tbreak" commands, which are HPPA specific.
572
7d35e135
MS
573 * printcmd.c (disassemble_command): Remove an ancient
574 artifact of an old merge.
575
d874f1e2
MS
576 * symfile.h (enum overlay_debugging_state):
577 Define enum constant values for overlay mode.
578 * symfile.c (overlay_debugging): Use enums instead of literals.
579 (overlay_is_mapped, overlay_auto_command,
580 overlay_manual_command): Ditto.
581
9f04af04
MS
582 * breakpoint.c (insert_breakpoints, remove_breakpoint,
583 breakpoint_here_p, breakpoint_inserted_here_p,
584 breakpoint_thread_match, bpstat_stop_status,
585 describe_other_breakpoints, check_duplicates, clear_command):
586 Coding standard fixes.
587
8add0441 588 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 589 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
590 code: check bfd SEC_READONLY flag for section.
591
e351066e
AC
5922002-01-31 Andrew Cagney <ac131313@redhat.com>
593
7d35e135 594 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 595
8a48e967
DJ
5962002-01-30 Daniel Jacobowitz <drow@mvista.com>
597
598 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
599 data symbols, since we search based on textlow and texthigh.
600 (find_pc_sect_symtab): Likewise.
601
f5a96129
AC
6022002-01-30 Andrew Cagney <ac131313@redhat.com>
603
604 * defs.h (vwarning): Declare.
f5a96129
AC
605 * utils.c (vwarning): New function.
606 (warning): Call vwarning.
607 (warning_begin): Delete function.
608
609 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
610 the warning message.
611 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
612 warning_begin.
613
cefd4ef5
MS
6142002-01-30 Michael Snyder <msnyder@redhat.com>
615
1a703748
MS
616 * NEWS: Mention "set trust-readonly-sections" command.
617 Mention generate-core-file command.
cefd4ef5 618
3a11626d
MS
6192002-01-15 Michael Snyder <msnyder@redhat.com>
620
621 * target.c: New command, "set trust-readonly-sections on".
622 (do_xfer_memory): Honor the suggestion to trust readonly sections
623 by reading them from the object file instead of from the target.
624 (initialize_targets): Register command "set trust-readonly-sections".
625
d1c7e53b
AC
6262002-01-29 Andrew Cagney <ac131313@redhat.com>
627
628 * parse.c (target_map_name_to_register): Simplify, search regs and
629 pseudo-regs using a single loop.
630
e2c9a72c
AC
6312002-01-30 Andrew Cagney <ac131313@redhat.com>
632
633 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
634
69824b4e
MK
6352002-01-15 Rodney Brown <rbrown64@csc.com.au>
636
637 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
638 * config/i386/i386v42mp.mh: Add i387-nat.o .
639 * i386v4-nat.c: Include i387-nat.h.
640 (supply_fpregset): Use i387_supply_fsave.
641 (fill_fpregset): Use i387_fill_fsave.
642
6eb69eab
RE
6432002-01-30 Richard Earnshaw <rearnsha@arm.com>
644
645 * arm-tdep.c (arm_call_dummy_words): Define.
646 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
647 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
648 (CALL_DUMMY_WORDS): Define.
649 (arm_call_dummy_words): Declare.
650 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
651 (arm_linux_call_dummy_words): Declare.
652
9852326a
AS
6532002-01-30 Andreas Schwab <schwab@suse.de>
654
655 * m68klinux-nat.c: Fix last change to use regcache_collect
656 instead of referencing registers[] directly.
657
977a3030
AC
6582002-01-29 Andrew Cagney <ac131313@redhat.com>
659
660 * parse.c (target_map_name_to_register): Delete code wrapped in
661 #ifdef REGISTER_NAME_ALIAS_HOOK.
662
2076c72b
MS
6632002-01-28 Michael Snyder <msnyder@redhat.com>
664
665 * regcache.c (legacy_read_register_gen): Need to be able to
666 read pseudo-register as well as real register.
667 (legacy_write_register_gen): Ditto.
668
8fcc723b
AC
6692002-01-28 Andrew Cagney <ac131313@redhat.com>
670
671 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
672 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
673 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
674 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
675 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
676 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
677 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
678 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
679 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
680 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
681 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
682 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
683 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
684 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
685 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
686 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
687 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
688 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
689 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
690 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
691
afe64c1a
AC
6922002-01-28 Andrew Cagney <ac131313@redhat.com>
693
694 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
695 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
696 (initialize_current_architecture): Update target_byte_order using
697 information from BFD.
afe64c1a
AC
698 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
699 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
700
75bc7ddf
AC
7012002-01-28 Andrew Cagney <ac131313@redhat.com>
702
703 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
704 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
705
706 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
707 #ifdef INVALID_FLOAT.
708 * infcmd.c (do_registers_info): Ditto.
709 * values.c (unpack_double): Ditto. Add comment.
710
711 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
712 already commented out.
713
0280a90a
AS
7142002-01-26 Andreas Schwab <schwab@suse.de>
715
716 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
717 * m68klinux-nat.c: Update ptrace interface for fetching/storing
718 registers and add support for PTRACE_GETREGS.
719
7072a954
AC
7202002-01-24 Andrew Cagney <ac131313@redhat.com>
721
722 GDB 5.1.1 released from 5.1 branch.
723 * NEWS: Add 5.1.1 news.
724 * README: Sync with 5.1 branch.
725
86f902e0
FF
7262002-01-23 Fred Fish <fnf@redhat.com>
727
728 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
729 stabstring on initial malloc. Reallocing will copy it for us,
730 if necessary.
731
8af51c36
EZ
7322002-01-23 Elena Zannoni <ezannoni@redhat.com>
733
734 * Makefile.in (hpread_h): Delete.
735 (HFILES_NO_SRCDIR): Remove hpread.h.
736 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
737 (hpread.o): Update dependencies.
738 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
739
740 * hp-psymtab-read.c: Remove file.
741 * hp-symtab-read.c: Remove file.
742 * hpread.h: Remove file.
743
744 * hpread.c: Merge all contents of hp-psymtab-read.c,
745 hp-symtab-read.c and hpread.h into this file, as it was prior to
746 January 1999.
747
748 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
749 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
750 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
751 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
752
dc5cfeb6
EZ
7532002-01-23 Elena Zannoni <ezannoni@redhat.com>
754
755 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
756 fill_gregset): Call gdbarch_tdep() just once, assign result to
757 variable and use that, instead of calling the function several
758 times.
759
ea87b71b
AO
7602002-01-24 Alexandre Oliva <aoliva@redhat.com>
761
762 * configure.host: Accept sparcv9 as alias for sparc64.
763 * configure.tgt: Likewise.
764
13fc0c2f
KB
7652002-01-22 Kevin Buettner <kevinb@redhat.com>
766
767 * solib-aix5.c (build_so_list_from_mapfile)
768 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
769 arguments is not reversed.
770 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
771 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
772
7bd872fe
EZ
7732002-01-22 Elena Zannoni <ezannoni@redhat.com>
774
775 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
776 modified version of obsolete sh_fetch_pseudo_register.
777 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
778 (sh4_register_read): New function.
779 (sh_pseudo_register_write): New function. Renamed and modified
780 version of obsolete sh_store_pseudo_register.
781 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
782 (sh4_register_write): New function.
783 (sh_gdbarch_init): Remove setting of gdbarch function
784 fetch_pseudo_register and store_pseudo_register. Remove setting of
785 register_convert_to_raw, register_convert_to_virtual,
786 register_convertible.
787 (sh_sh4_register_convertible): Delete. No longer needed. All is
788 taken care by architecture specific functions
789 register_read/register_write.
790 (sh_sh4_register_convert_to_virtual): Make static.
791 (sh_sh4_register_convert_to_raw): Ditto.
792
069e84fd
AC
7932002-01-22 Andrew Cagney <ac131313@redhat.com>
794
795 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
796 (floatformat_is_nan, floatformat_mantissa): Ditto.
797
798 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
799 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
800 builtin_type_ieee_double_little,
801 builtin_type_ieee_double_littlebyte_bigword,
802 builtin_type_m68881_ext, builtin_type_i960_ext,
803 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
804 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
805 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
806 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
807
211a4f69
CV
8082002-01-22 Corinna Vinschen <vinschen@redhat.com>
809
810 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
811 parameter. Set frameless flag if it exists and depended of
812 whether the scanned function is frameless or not.
813 (xstormy16_skip_prologue): If function is frameless, return
814 result of xstormy16_scan_prologue().
815 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
816 call.
817
f81353e4
EZ
8182002-01-21 Elena Zannoni <ezannoni@redhat.com>
819
820 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
821 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
822 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
823 sh_sh4_register_byte, sh_sh4_register_raw_size,
824 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
825 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
826 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
827 sh_store_pseudo_register, sh_do_pseudo_register): Call
828 gdbarch_tdep() just once, assign result to variable and use that,
829 instead of calling the function several times.
830
63c73a17
MK
8312002-01-20 Mark Kettenis <kettenis@gnu.org>
832
833 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
834 macros instead of LAST_FPU_CTRL_REGNUM.
835 (store_register): Likewise.
836
39ad761d
JB
8372002-01-21 Jim Blandy <jimb@redhat.com>
838
839 * infcmd.c (run_command): Check that the `exec' target layer's BFD
840 is up-to-date before running the program, not just when a program
841 exits.
842
3d74b771
FF
8432002-01-21 Fred Fish <fnf@redhat.com>
844
845 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
846 when we have found all instructions we are looking for.
847
966fbf70
RE
8482002-01-21 Richard Earnshaw <rearnsha@arm.com>
849
850 * arm-tdep.c (arm_register_name): New function.
851 (arm_registers_names): Make static.
852 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
853 (arm_register_name): Declare.
854 (REGISTER_NAME): Use it.
855
c3b4394c
RE
8562002-01-21 Richard Earnshaw <rearnsha@arm.com>
857 Kevin Buettner <kevinb@redhat.com>
858
859 Convert arm targets to new FRAME interface.
860 * arm-tdep.c (struct frame_extra_info): Remove fsr.
861 (arm_frame_find_save_regs): Delete.
862 (arm_frame_init_saved_regs): New.
863 (arm_init_extra_frame_info): Alloacte saved_regs as required.
864 Allocate extra_info as required. Convert all uses of fsr.regs
865 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
866 to use extra_info.
867 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
868 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
869 (check_prologue_cache, save_prologue_cache): Likewise.
870 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
871 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
872 (FRAME_FIND_SAVED_REGS): Delete.
873 (arm_frame_find_saved_regs): Delete prototype.
874 (arm_frame_init_saved_regs): New prototype.
875 (FRAME_INIT_SAVED_REGS): Define.
876
61d99182
AC
8772002-01-20 Andrew Cagney <ac131313@redhat.com>
878
879 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
880
6aaea291
AC
8812002-01-20 Andrew Cagney <ac131313@redhat.com>
882
883 From Jeff Law <law@redhat.com>:
884 * infttrace.c: Include <sys/pstat.h>.
885 (child_pid_to_exec_file): Revamp. Use pstat call to get the
886 exec file if the ttrace equivalent fails.
887
15f698d2
AC
8882002-01-20 Andrew Cagney <ac131313@redhat.com>
889
890 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
891 (closeLogFile): Ditto.
892
f86ddd7c
MC
8932002-01-20 Michael Chastain <mec@shout.net>
894
895 * top.c (print_gdb_version): Bump copyright year to 2002.
896
904507ce
AC
8972002-01-20 Andrew Cagney <ac131313@redhat.com>
898
899 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
900 Zannoni and Eli Zaretskii.
901
d7f0b9ce
DJ
9022002-01-20 Daniel Jacobowitz <drow@mvista.com>
903
904 * buildsym.c: Update copyright years.
905 * c-typeprint.c: Likewise.
906 * dwarf2read.c: Likewise.
907 * f-typeprint.c: Likewise.
908 * gdbtypes.c: Likewise.
909 * gdbtypes.h: Likewise.
910 * hp-symtab-read.c: Likewise.
911 * hpread.c: Likewise.
912 * mdebugread.c: Likewise.
913 * p-typeprint.c: Likewise.
914
3fd3d7d2
AC
9152002-01-20 Andrew Cagney <ac131313@redhat.com>
916
917 * remote-sim.c (gdbsim_open): Simplify code testing the macro
918 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
919 byte-order selectable.
920 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
921 * arch-utils.c: Ditto.
922 (set_endian): Ditto.
923 (set_endian_from_file): Ditto.
924 * gdbserver/low-sim.c (create_inferior): Ditto.
925 * gdbarch.sh: Ditto.
926 * gdbarch.h: Re-generate.
927 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
928 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
929 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
930 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
931 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
932 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
933 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
934 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
935 macro definition.
936 * config/mips/tm-wince.h: Remove #undef of macro
937 TARGET_BYTE_ORDER_SELECTABLE.
938 * config/sh/tm-wince.h: Ditto.
939
b02dede2
DJ
9402002-01-20 Daniel Jacobowitz <drow@mvista.com>
941
942 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
943 member function fields. Add accessor macro
944 TYPE_FN_FIELD_ARTIFICIAL.
945 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
946 * c-typeprint.c (c_type_print_base): Skip artificial member
947 functions.
948
c3643761
DJ
9492002-01-20 Daniel Jacobowitz <drow@mvista.com>
950
951 * f-typeprint.c: Delete unused function f_type_print_args.
952 * p-typeprint.c: Delete unused function pascal_type_print_args.
953
8176bb6d
DJ
9542002-01-20 Daniel Jacobowitz <drow@mvista.com>
955
956 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
957 comment. Add ``artificial'' to ``union field_location''.
958
959 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
960
961 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
962 * mdebugread.c (parse_symbol): Likewise.
963 * stabsread.c (define_symbol): Likewise.
964 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
965 initializing TYPE_FIELD_BITPOS to n (obsolete).
966 (hpread_doc_function_type): Likewise.
967 * hpread.c (hpread_function_type): Likewise.
968
7fd60527
AC
9692002-01-20 Andrew Cagney <ac131313@redhat.com>
970
971 * configure.in (host_makefile_frag): Only require a host makefile
972 fragment when a native build.
973 * configure: Re-generate.
974
c2f05ac9
AC
9752002-01-20 Andrew Cagney <ac131313@redhat.com>
976
977 * doublest.h (floatformat_from_type): Declare.
978 * doublest.c (floatformat_from_type): New function.
979 (convert_typed_floating): Use.
980
981 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
982 call to function floatformat_from_type.
983
984 * gdbarch.sh (IEEE_FLOAT): Delete.
985 * gdbarch.h, gdbarch.c: Re-generate.
986 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
987 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
988 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
989 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
990 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
991 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
992 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
993 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
994 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
995 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
996 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
997 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
998
999 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
1000 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
1001 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
1002 * sh-tdep.c (sh_gdbarch_init): Ditto.
1003 * mips-tdep.c (mips_gdbarch_init): Ditto.
1004 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1005 * cris-tdep.c (cris_gdbarch_init): Ditto.
1006
abf22e64
AJ
10072002-01-20 Jiri Smid <smid@suse.cz>
1008
1009 * configure.host, configure.tgt: Support x86-64.
1010 * NEWS: Note new target x86-64.
1011
b7c4cbf8
AJ
1012 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
1013 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
1014 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
1015 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
1016 x86-64-linux-nat.o): Fix dependencies.
1017
82600034
AC
10182002-01-19 Andrew Cagney <ac131313@redhat.com>
1019
1020 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
1021 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
1022 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
1023 * config/sparc/xm-sun4os4.h: Delete file.
1024 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 1025
bbe5c628
AC
10262002-01-19 Andrew Cagney <ac131313@redhat.com>
1027
1028 * config/sparc/sparclynx.mh (XM_FILE): Delete.
1029 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
1030 * config/m68k/m68klynx.mh (XM_FILE): Delete.
1031 * config/i386/i386lynx.mh (XM_FILE): Delete.
1032 * config/rs6000/xm-rs6000ly.h: Delete file.
1033 * config/sparc/xm-sparclynx.h: Delete file.
1034 * config/m68k/xm-m68klynx.h: Delete file.
1035 * config/i386/xm-i386lynx.h: Delete file.
1036 * config/xm-lynx.h: Delete file.
1037 * config/djgpp/fnchange.lst: Update.
1038
f8453e34
JT
10392002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1040
1041 * alpha-tdep.c (alpha_register_byte): New function.
1042 (alpha_register_raw_size): Ditto.
1043 (alpha_register_virtual_size): Ditto.
1044 (alpha_skip_prologue_internal): Renamed from
1045 alpha_skip_prologue.
1046 (alpha_skip_prologue): New version that calls
1047 alpha_skip_prologue_internal.
1048 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
1049 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
1050 second argument from alpha_skip_prologue.
1051 (REGISTER_BYTE): Use alpha_register_byte.
1052 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
1053 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
1054 (FRAMELESS_FUNCTION_INVOCATION): Use
1055 generic_frameless_function_invocation_not.
1056 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
1057 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
1058
52d9e613
AC
10592002-01-19 Andrew Cagney <ac131313@redhat.com>
1060
1061 * config/mips/xm-news-mips.h: Delete file.
1062 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
1063
1064 * config/m88k/xm-m88k.h: Delete file.
1065 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
1066 * config/m88k/xm-delta88v4.h: Ditto.
1067 * config/m88k/xm-delta88.h: Ditto.
1068
1069 * config/alpha/xm-fbsd.h: Delete file.
1070 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
1071
1072 * config/sparc/xm-sparc.h: Delete file.
1073 * Makefile.in (xm-sun4os4.h): Delete dependency.
1074 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
1075 * config/sparc/xm-sun4os4.h: Ditto.
1076 * config/sparc/xm-linux.h: Ditto.
1077
1078 * config/i386/xm-windows.h: Delete file.
1079
2d1b2124
AC
10802002-01-19 Andrew Cagney <ac131313@redhat.com>
1081
1082 * utils.c: Include <sys/param.h> for MAXPATHLEN.
1083 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
1084
ee1f65f0
JT
10852002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1086
1087 * alpha-tdep.c (alpha_call_dummy_words): New.
1088 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
1089 (CALL_DUMMY_P): Define.
1090 (CALL_DUMMY_WORDS): Define.
1091 (SIZEOF_CALL_DUMMY_WORDS): Define.
1092
98081e55
PB
10932002-01-19 Per Bothner <per@bothner.com>
1094
1095 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
1096 isn't NULL, which can happen with some gcj-3.x-produced code.
1097
0d056799
JT
10982002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
1099
1100 * alpha-tdep.c (alpha_register_virtual_type): New function.
1101 (alpha_init_frame_pc_first): Ditto.
1102 (alpha_fix_call_dummy): Ditto.
1103 (alpha_store_struct_return): Ditto.
1104 (alpha_extract_struct_value_address): Ditto.
1105 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
1106 alpha_register_virtual_type.
1107 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
1108 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
1109 alpha_extract_struct_value_address.
1110 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
1111 (INIT_FRAME_PC): Use init_frame_pc_noop.
1112 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
1113
4604bcad
MK
11142002-01-19 Mark Kettenis <kettenis@gnu.org>
1115
1116 * i386gnu-nat.c: Include "i386-tdep.h".
1117 (fetch_fpregs): Simplify code dealing with uninitialized floating
1118 point states such that it doesn't require FP7_REGNUM.
1119
140f9984
JT
11202002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1121
abf22e64
AJ
1122 * alpha-tdep.c (frame_extra_info): New.
1123 (alpha_find_saved_regs): Make static. Use
140f9984
JT
1124 frame->extra_info.
1125 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
1126 (alpha_frame_saved_pc): Use frame->extra_info.
1127 (temp_saved_regs): Don't declare as struct frame_saved_regs.
1128 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
1129 (init_extra_frame_info): Rename to...
1130 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 1131 (alpha_print_extra_frame_info): New function.
140f9984
JT
1132 (alpha_frame_locals_address): Ditto.
1133 (alpha_frame_args_address): Ditto.
abf22e64 1134 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
1135 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
1136 alpha_frame_args_address.
abf22e64 1137 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 1138 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
1139 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
1140 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
1141 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
1142 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
1143
d734c450
JT
11442002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1145
1146 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
1147 (alpha_cannot_fetch_register): Ditto.
1148 (alpha_cannot_store_register): Ditto.
1149 (alpha_register_convertible): Ditto.
1150 (alpha_use_struct_convention): Ditto.
1151 * config/alpha/tm-alpha.h: Update copyright years.
1152 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
1153 (INNER_THAN): Use core_addr_lessthan.
1154 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
1155 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
1156 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
1157 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
1158 (FRAME_CHAIN): Remove unnecessary cast.
1159
b4ceaee6
AC
11602002-01-18 Andrew Cagney <ac131313@redhat.com>
1161
1162 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
1163 obsolete.
1164
0a65a603
AC
11652002-01-18 Andrew Cagney <ac131313@redhat.com>
1166
1167 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
1168 * monitor.c, remote-array.c, remote-bug.c: Ditto.
1169 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
1170 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
1171 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
1172 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
1173 * x86-64-linux-nat.c: Ditto.
1174
636a6dfc
JT
11752002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1176
abf22e64 1177 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
1178 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
1179 (REGISTER_NAME): Define.
1180
acceddb6
JT
11812002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1182
1183 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
1184
ec32e4be
JT
11852002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1186
1187 * alpha-tdep.c: Update copyright years.
1188 (alpha_next_pc): New function.
1189 (alpha_software_single_step): Ditto.
1190 * config/alpha/tm-alpha.h: Add prototype for
1191 alpha_software_single_step.
1192
e771a871
JT
11932002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
1194
1195 * alphabsd-nat.c: Update copyright years.
1196 (fill_gregset): Use regcache_collect.
1197 (fill_fpregset): Likewise.
1198 (fetch_inferior_registers): Only fetch integer registers
1199 if requested to do so.
1200 (store_inferior_registers): Only store integer registers
1201 if requested to do so.
1202
7708fa01
AC
12032002-01-17 Andrew Cagney <ac131313@redhat.com>
1204
1205 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
1206 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
1207 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
1208 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
1209 * config/alpha/fbsd.mh (XDEPFILES): Delete.
1210 * config/arm/linux.mh (XDEPFILES): Delete.
1211 * config/arm/nbsd.mh (XDEPFILES): Delete.
1212 * config/i386/i386dgux.mh (XDEPFILES): Delete.
1213 * config/i386/i386sol2.mh (XDEPFILES): Delete.
1214 * config/i386/i386m3.mh (XDEPFILES): Delete.
1215 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
1216 * config/i386/i386gnu.mh (XDEPFILES): Delete.
1217 * config/i386/fbsd.mh (XDEPFILES): Delete.
1218 * config/i386/i386bsd.mh (XDEPFILES): Delete.
1219 * config/i386/i386sco5.mh (XDEPFILES): Delete.
1220 * config/i386/i386v4.mh (XDEPFILES): Delete.
1221 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
1222 * config/i386/i386sco4.mh (XDEPFILES): Delete.
1223 * config/i386/i386aix.mh (XDEPFILES): Delete.
1224 * config/i386/go32.mh (XDEPFILES): Delete.
1225 * config/i386/cygwin.mh (XDEPFILES): Delete.
1226 * config/i386/i386lynx.mh (XDEPFILES): Delete.
1227 * config/i386/i386mach.mh (XDEPFILES): Delete.
1228 * config/i386/i386v32.mh (XDEPFILES): Delete.
1229 * config/i386/linux.mh (XDEPFILES): Delete.
1230 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
1231 * config/i386/ncr3000.mh (XDEPFILES): Delete.
1232 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
1233 * config/i386/i386sco.mh (XDEPFILES): Delete.
1234 * config/i386/i386v.mh (XDEPFILES): Delete.
1235 * config/i386/nbsd.mh (XDEPFILES): Delete.
1236 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
1237 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
1238 * config/i386/symmetry.mh (XDEPFILES): Delete.
1239 * config/i386/obsd.mh (XDEPFILES): Delete.
1240 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
1241 * config/ia64/linux.mh (XDEPFILES): Delete.
1242 * config/ia64/aix.mh (XDEPFILES): Delete.
1243 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
1244 * config/m68k/dpx2.mh (XDEPFILES): Delete.
1245 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
1246 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
1247 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
1248 * config/m68k/linux.mh (XDEPFILES): Delete.
1249 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
1250 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
1251 * config/m68k/nbsd.mh (XDEPFILES): Delete.
1252 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
1253 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
1254 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
1255 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
1256 * config/m88k/delta88.mh (XDEPFILES): Delete.
1257 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
1258 * config/m88k/m88k.mh (XDEPFILES): Delete.
1259 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
1260 * config/mips/linux.mh (XDEPFILES): Delete.
1261 * config/mips/irix6.mh (XDEPFILES): Delete.
1262 * config/mips/irix5.mh (XDEPFILES): Delete.
1263 * config/mips/irix4.mh (XDEPFILES): Delete.
1264 * config/mips/irix3.mh (XDEPFILES): Delete.
1265 * config/mips/decstation.mh (XDEPFILES): Delete.
1266 * config/mips/mipsm3.mh (XDEPFILES): Delete.
1267 (NATDEPFILES): Move core-aout.o to here.
1268 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
1269 * config/pa/hpux1020.mh (XDEPFILES): Delete.
1270 * config/pa/hppabsd.mh (XDEPFILES): Delete.
1271 * config/pa/hppahpux.mh (XDEPFILES): Delete.
1272 * config/pa/hpux11w.mh (XDEPFILES): Delete.
1273 * config/pa/hppaosf.mh (XDEPFILES): Delete.
1274 * config/pa/hpux11.mh (XDEPFILES): Delete.
1275 * config/powerpc/aix.mh (XDEPFILES): Delete.
1276 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
1277 * config/powerpc/linux.mh (XDEPFILES): Delete.
1278 * config/romp/rtbsd.mh: Rename XDEPFILES.
1279 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
1280 * config/rs6000/aix4.mh (XDEPFILES): Delete.
1281 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
1282 * config/s390/s390.mh (XDEPFILES): Delete.
1283 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
1284 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
1285 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
1286 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
1287 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
1288 * config/sparc/nbsd.mh (XDEPFILES): Delete.
1289 * config/sparc/linux.mh (XDEPFILES): Delete.
1290 * config/vax/vaxult.mh (XDEPFILES): Delete.
1291 * config/vax/vaxult2.mh (XDEPFILES): Delete.
1292 * Makefile.in (DEPFILES): Remove XDEPFILES.
1293
375fc983
AC
12942002-01-17 Andrew Cagney <ac131313@redhat.com>
1295
1296 * utils.c (internal_verror): Fix comments, default is yes not no.
1297 Update queries to match. Default to quit and dump core.
1298
8926118c
AC
12992002-01-17 Andrew Cagney <ac131313@redhat.com>
1300
1301 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
1302 copyright.
1303 * defs.h, event-top.c, gdbcmd.h: Ditto.
1304 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
1305 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
1306 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
1307 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
1308 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
1309 * mi/mi-main.c:Ditto.
1310
1311 * stack.c, symfile.c: Update copyright.
1312
45b7b345
DJ
13132002-01-17 Daniel Jacobowitz <drow@mvista.com>
1314
db728ff7
DJ
1315 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
1316 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
1317 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
1318 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 1319
db728ff7
DJ
13202002-01-17 Daniel Jacobowitz <drow@mvista.com>
1321
1322 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
1323 * gdbserver/low-lynx.c (myattach): Likewise.
1324 * gdbserver/low-nbsd.c (myattach): Likewise.
1325 * gdbserver/low-sim.c (myattach): Likewise.
1326 * gdbserver/low-sparc.c (myattach): Likewise.
1327 * gdbserver/low-sun3.c (myattach): Likewise.
1328
1329 * gdbserver/low-linux.c (myattach): New function.
45b7b345 1330
db728ff7 1331 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
1332 (main): Handle "--attach".
1333
8de3c354
AC
13342002-01-16 Andrew Cagney <ac131313@redhat.com>
1335
1336 * MAINTAINERS (language support): Daniel Jacobwitz is C++
1337 maintainer.
1338
b0129042
DJ
13392002-01-15 Daniel Jacobowitz <drow@mvista.com>
1340
1341 * c-typeprint.c (is_type_conversion_operator): Add additional
1342 check for non-conversion operators.
1343
ba8679fb 13442002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
1345
1346 * linux-proc.c: Add "info proc" command, a la procfs.c.
1347 (read_mapping): New function, abstract and re-use code.
1348 (linux_find_memory_regions): Use new func read_mapping.
1349 (linux_info_proc_cmd): New function, implement "info proc".
1350 (_initialize_linux_proc): Add new command "info proc".
1351
e4f9b4d5
MS
13522002-01-15 Michael Snyder <msnyder@redhat.com>
1353
1354 * symfile.c (generic_load): Use bfd_map_over_sections method
1355 instead of manipulating bfd structure members directly.
1356 (add_section_size_callback): New function, bfd sections callback
1357 used by generic_load.
1358 (load_sections_callback): New function, bfd sections callback
1359 used by generic_load.
1360
08cf96df
EZ
13612002-01-15 Elena Zannoni <ezannoni@redhat.com>
1362
abf22e64 1363 [Based on work by Jim Blandy]
08cf96df
EZ
1364 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
1365 (builtin_type_vec128): Export.
1366 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
1367 types.
1368 (builtin_type_vec128): New builtin type for 128 bit vector
1369 registers.
1370 (build_gdbtypes): Initialize builtin_type_v16qi and
1371 builtin_type_v8hi. Create the vec128 register builtin type
1372 structure.
1373 (build_builtin_type_vec128): New function.
abf22e64 1374 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
1375 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
1376 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
1377 AltiVec register to new builtin type.
1378
d7242108
DJ
13792001-01-15 Daniel Jacobowitz <drow@mvista.com>
1380
1381 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
1382 to make_cv_type.
1383
4ee3352d
AC
13842002-01-14 Andrew Cagney <ac131313@redhat.com>
1385
1386 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
1387 CLEAN_UP_REGISTER_VALUE.
1388 * regcache.c (supply_register): Update only call.
1389
f015b2e7
AC
13902002-01-14 Andrew Cagney <ac131313@redhat.com>
1391
1392 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1393 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1394 a29k-*-vxworks* targets as obsolete.
1395
356ae49d
MS
13962002-01-14 Michael Snyder <msnyder@redhat.com>
1397
1398 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
1399 until we can resolve portability issues.
1400 * gregset.h: Remove references to fpxregs.
1401 * gcore.c (gcore_command): Initialize note_sec to NULL.
1402
ade8f45e
AC
14032002-01-13 Andrew Cagney <ac131313@redhat.com>
1404
1405 * signals.c (target_signal_to_name): Rewrite. Only use
1406 signals[].name when in bounds and non-NULL.
abf22e64 1407
89c49e7a
AC
14082002-01-13 Andrew Cagney <ac131313@redhat.com>
1409
1410 From Petr Ledvina <ledvinap@kae.zcu.cz>:
1411 * signals.c (target_signal_to_name): Verify that SIG is within the
1412 bounds of the signals array.
1413
4daa9f9f
AC
14142002-01-13 Andrew Cagney <ac131313@redhat.com>
1415
1416 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
1417
ba4bbdcb
KS
14182002-01-13 Keith Seitz <keiths@redhat.com>
1419
1420 * stack.c (print_frame_info_base): Print the frame's pc
1421 only if when print_frame_info_listing_hook is not defined.
1422
575bbeb6
KS
14232002-01-13 Keith Seitz <keiths@redhat.com>
1424
1425 * varobj.c (varobj_set_value): Make sure that there were no
1426 errors evaluating the object before attempting to set its
1427 value.
1428 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
1429 so this offset adjustment is no longer necessary.
1430 (create_child): Don't set the error flag if the child is
1431 a CPLUS_FAKE_CHILD.
1432 (value_of_child): If value_fetch_lazy fails, return NULL
1433 so that callers will be notified that an error occurred.
1434 (c_value_of_variable): Delay check of variable's validity
1435 until later. We actually want all structs and unions to have
1436 the value "{...}".
1437 Do not return "???" for variables which could not be evaluated.
1438 This error condition must be returned to the caller so that it
1439 can get the error condition from gdb.
1440 (cplus_name_of_child): Adjust index for vptr before figuring
1441 out the name of the child.
1442 (cplus_value_of_child): If a child's (real) parent is not valid,
1443 don't even bother trying to give a value for it. Just return
1444 an error. Change all instances in this function.
1445 (cplus_type_of_child): If our parent is one of the "fake"
1446 parents, we need to get at the type of the real parent, and
1447 derive the child's true type using this information.
1448
b76898ab
AC
14492002-01-13 Andrew Cagney <ac131313@redhat.com>
1450
1451 From 2002-01-09 John Marshall <johnm@falch.net>:
1452 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
1453 sources.redhat.com, and tweak some related URLs which had
1454 suffered from linkrot.
1455
b6649e88
AC
14562002-01-13 Andrew Cagney <ac131313@redhat.com>
1457
1458 From Jeff law:
1459 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
1460 structures passed in registers.
1461
82cc5033
EZ
14622002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
1463
1464 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
1465 white space which prevented compilation. Reported by DSK
1466 <dsk@student.unsw.edu.au>.
1467
ba5f2f8a
MS
14682002-01-11 Michael Snyder <msnyder@redhat.com>
1469
fbd35540
MS
1470 * symfile.c (build_section_addr_info_from_section_tab):
1471 Use bfd access method instead of manipulating bfd directly.
1472 (syms_from_objfile): Ditto.
1473 (simple_overlay_update_1): Ditto.
1474 (simple_overlay_update): Ditto.
1475 (generic_load): Ditto.
1476 (overlay_unmapped_address): FIXME comment, bfd access methods.
1477 (sections_overlap): FIXME comment, bfd access methods.
1478 (pc_in_mapped_range): FIXME comment, bfd access methods.
1479 (pc_in_unmapped_range): FIXME comment, bfd access methods.
1480 (section_is_mapped): FIXME comment, bfd access methods.
1481 (section_is_overlay): FIXME comment, bfd access methods.
1482
ba5f2f8a
MS
1483 * symfile.c (generic_load): Whitespace and long line cleanups.
1484 Remove duplicate variable, change several local variables to
1485 more appropriate data types.
1486 (print_transfer_performance): Use %lu instead of %ld for ulongs.
1487
17df2af6
AC
14882002-01-12 Andrew Cagney <ac131313@redhat.com>
1489
1490 From Peter Schauer:
1491 * language.c (longest_local_hex_string_custom): Use phex_nz to
1492 convert NUM to a hex string.
1493
ec920329
EZ
14942002-01-12 Elena Zannoni <ezannoni@redhat.com>
1495
1496 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
1497 the function.
538a76d6 1498 Update Copyright year.
ec920329 1499
3abd2e01
AC
15002002-01-12 Andrew Cagney <ac131313@redhat.com>
1501
1502 * language.c (longest_raw_hex_string): Delete unused function.
1503
b21b22e0
PS
15042002-01-11 Petr Sorfa <petrs@caldera.com>
1505
1506 * MAINTAINERS (write-after-approval): Add myself.
1507 * dwarf2read.c (read_tag_string_type): Handling of
1508 DW_AT_byte_size.
1509 (read_tag_string_type): FORTRAN fix to prevent propagation of
1510 first string size.
1511 (set_cu_language): Handling of DW_LANG_Fortran95
1512
747fe712
RE
15132002-01-11 Richard Earnshaw <rearnsha@arm.com>
1514
1515 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
1516 GETPID(inferior_ptid).
1517 (store_inferior_registers): Likewise.
1518
f1bea926
JM
15192002-01-10 Jason Merrill <jason@redhat.com>
1520
1521 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
1522 Fix DW_OP_minus.
1523
ae940673
AC
15242002-01-10 Andrew Cagney <ac131313@redhat.com>
1525
1526 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
1527 and bfd/elf32-sh-nbsd.c.
1528
00546b04
MS
15292002-01-10 Michael Snyder <msnyder@redhat.com>
1530
352ed7b4
MS
1531 * NEWS: Mention --pid and corefile/proc-id behavior change.
1532
c18be923
MS
1533 * Makefile.in: Add rules for gcore.o and linux-proc.o.
1534 * gcore.c: Include cli/cli-decode.h instead of command.h.
1535
00546b04
MS
1536 * main.c (captured_main): Add new command line option "--pid".
1537 If the second command line argument (following the symbol-file)
1538 begins with a digit, try to attach to it before trying to open
1539 it as a corefile.
1540 (print_gdb_help): Document the "--pid" argument.
1541
db60ec62
EZ
15422002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
1543
1544 * completer.c (command_completer): New function.
1545
1546 * completer.h <command_completer>: Add prototype.
1547
1548 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
1549 completer for the "help" command.
1550
39c22d1a
JM
15512002-01-09 Jason Merrill <jason@redhat.com>
1552
1553 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
1554
c564377f
MS
15552002-01-09 Michael Snyder <msnyder@redhat.com>
1556
975aec09
MS
1557 * i386-linux-nat.c (fill_fpxregset): Make global.
1558 (store_fpxregset): Ditto.
1559
db4a10fa
MS
1560 * gregset.h (gdb_fpxregset_t): Define.
1561 (supply_fpxregset): Prototype.
1562 (fill_fpxregset): Prototype.
1563
c564377f
MS
1564 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
1565
c3d45d70
RE
15662002-01-09 Richard Earnshaw <rearnsha@arm.com>
1567
1568 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
1569 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
1570 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
1571
fcc87af1
AC
15722002-01-09 Andrew Cagney <ac131313@redhat.com>
1573
1574 * MAINTAINERS: Update target maintainer rules so that any
1575 Maintainer can approve a tested patch for a maintenance-only
1576 target.
1577
dd96c05b
RE
15782002-01-09 Richard Earnshaw <rearnsha@arm.com>
1579
d4297db9 1580 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 1581
d4297db9 1582 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
1583 IN_SIGTRAMP.
1584
145fdc6e
MS
15852002-01-08 Michael Snyder <msnyder@redhat.com>
1586
1587 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
1588 real name of the executable, rather than the /proc name.
1589
be4d1333
MS
15902002-01-03 Michael Snyder <msnyder@redhat.com>
1591
1592 Implement a "generate-core-file" command in gdb, save target state.
1593 * gcore.c: New file. Implement new command 'generate-core-file'.
1594 Save a corefile image of the current state of the inferior.
1595 * linux-proc.c: Add linux-specific code for saving corefiles.
1596 * target.h (struct target_ops): Add new target vectors for saving
1597 corefiles; to_find_memory_regions and to_make_corefile_notes.
1598 (target_find_memory_regions): New macro.
1599 (target_make_corefile_notes): New macro.
1600 * target.c (update_current_target): Inherit new target methods.
1601 (dummy_find_memory_regions): New place-holder method.
1602 (dummy_make_corefile_notes): New place-holder method.
1603 (init_dummy_target): Initialize new dummy target vectors.
1604 * exec.c (exec_set_find_memory_regions): New function.
1605 Allow the exec_ops vector for memory regions to be taken over.
1606 (exec_make_note_section): New function, target vector method.
1607 * defs.h (exec_set_find_memory_regions): Export prototype.
1608 * procfs.c (proc_find_memory_regions): New function, corefile method.
1609 (procfs_make_note_section): New function, corefile method.
1610 (init_procfs_ops): Set new target vector pointers.
1611 (find_memory_regions_callback): New function.
1612 (procfs_do_thread_registers): New function.
1613 (procfs_corefile_thread_callback): New function.
1614 * sol-thread.c (sol_find_memory_regions): New function.
1615 (sol_make_note_section): New function.
1616 (init_sol_thread_ops): Initialize new target vectors.
1617 * inftarg.c (inftarg_set_find_memory_regions): New function.
1618 Allow to_find_memory_regions vector to be taken over.
1619 (inftarg_set_make_corefile_notes): New function.
1620 Allow to_make_corefile_notes vector to be taken over.
1621 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
1622 interface layer if not target_has_execution (may be a corefile).
1623 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
1624 * config/sparc/sun4sol2.mh: Ditto.
1625 * config/alpha/alpha-linux.mh: Ditto.
1626 * config/arm/linux.mh: Ditto.
1627 * config/i386/x86-64linux.mh: Ditto.
1628 * config/ia64/linux.mh: Ditto.
1629 * config/m68k/linux.mh: Ditto.
1630 * config/mips/linux.mh: Ditto.
1631 * config/powerpc/linux.mh: Ditto.
1632 * config/sparc/linux.mh: Ditto.
1633
c6b92abd
MS
16342002-01-07 Michael Snyder <msnyder@redhat.com>
1635
1636 * arm-linux-nat.c: Remove references to regcache.c internal data
1637 (registers[] and register_valid[]).
1638
4b09dc8c
MS
16392002-01-07 Michael Snyder <msnyder@redhat.com>
1640
abf22e64
AJ
1641 * linux-proc.c: New file. Implement child_pid_to_exec_file,
1642 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
1643 symbol file and shlibs.
1644 * Makefile.in: Add rule for linux-proc.o.
1645 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
1646 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
1647 * config/arm/linux.mh: Ditto.
1648 * config/i386/linux.mh: Ditto.
1649 * config/i386/x86-64linux.mh: Ditto.
1650 * config/ia64/linux.mh: Ditto.
1651 * config/m68k/linux.mh: Ditto.
1652 * config/mips/linux.mh: Ditto.
1653 * config/powerpc/linux.mh: Ditto.
1654 * config/sparc/linux.mh: Ditto.
1655
c25b74ac
PM
16562002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
1657
1658 * win32-nat.c: Add i386-tdep.h dependency.
1659
94cd915f
MS
16602002-01-07 Michael Snyder <msnyder@redhat.com>
1661
c7cccb76
MS
1662 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
1663 instead of bfd_get_arch_size. Don't bail out just because
1664 there's no exec_bfd.
abf22e64 1665
34c0bd93
MS
1666 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
1667 * p-valprint.c (pascal_object_print_value): Ditto.
1668 * somread.c (som_symtab_read): Ditto.
1669 * symfile.c (simple_free_overlay_region_table): Ditto.
1670 * valops.c (value_assign): Ditto.
1671
21c1c920
MS
1672 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
1673 use tilde_expand and strerror for opening save-tracepoints file.
1674
5bbd998e
MS
1675 * thread-db.c (thread_db_new_objfile): Indendation fix.
1676
94cd915f
MS
1677 * infptrace.c (GDB_MAX_ALLOCA): New define.
1678 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 1679 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
1680 can be overridden with whatever value is appropriate to the host).
1681 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
1682 alloca to allocate potentially large buffer.
1683 * rs6000-nat.c (child_xfer_memory): Ditto.
1684 * symm-nat.c (child_xfer_memory): Ditto.
1685 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
1686
494e8a93
JSC
16872002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
1688
1689 From Nick Clifton <nickc@redhat.com>
1690 * d10v-tdep.c: Set STACK_START to 0x200bffe.
1691
d0e1d48e
MS
16922002-01-07 Michael Snyder <msnyder@redhat.com>
1693
abf22e64 1694 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
1695 Don't use exec_bfd if it's NULL.
1696
290b2c7a
MK
16972002-01-06 Mark Kettenis <kettenis@gnu.org>
1698
abf22e64 1699 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 1700
aef21287
AC
17012002-01-06 Andrew Cagney <ac131313@redhat.com>
1702
1703 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
1704 * gnu-nat.c: Ditto.
1705
30efa627
AC
17062002-01-06 Andrew Cagney <ac131313@redhat.com>
1707
1708 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
1709 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
1710 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
1711 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
1712 z8k-coff have not been multi-arched. Update z8k-coff build
1713 status.
1714
9b4ff276
AC
17152002-01-06 Andrew Cagney <ac131313@redhat.com>
1716
1717 * MAINTAINERS: Mark a29k target as obsolete.
1718 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
1719 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
1720 comments.
1721 * NEWS: Note that a29k targets are obsolete.
1722 * a29k-tdep.c: Mark as obsolete.
1723 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
1724 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
1725 a29k-*-vxworks* targets as obsolete.
1726 * remote-adapt.c: Obsolete.
1727 * remote-eb.c: Obsolete.
1728 * remote-mm.c: Obsolete.
1729 * remote-udi.c: Obsolete.
1730 * config/a29k/a29k-udi.mt: Obsolete.
1731 * config/a29k/a29k.mt: Obsolete.
1732 * config/a29k/tm-a29k.h: Obsolete.
1733 * config/a29k/tm-vx29k.h: Obsolete.
1734 * config/a29k/vx29k.mt: Obsolete.
1735
a9011d31
AC
17362002-01-05 Andrew Cagney <ac131313@redhat.com>
1737
1738 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
1739 with BFD_ENDIAN_BIG.
1740
9299404e
AC
17412002-01-05 Andrew Cagney <ac131313@redhat.com>
1742
1743 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
1744 * configure, config.in: Re-generate.
1745 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
1746 * defs.h: Do not include <endian.h>.
1747
7e89e357
JT
17482002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
1749
1750 * acconfig.h (HAVE_PT_GETXMMREGS): New.
1751 * config.in: Regenerate.
1752 * configure.in: Update copyright years.
1753 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
1754 * configure: Regenerate.
1755 * i386bsd-nat.c: Update copyright years.
1756 (fill_gregset): Use regcache_collect.
1757 (fetch_inferior_registers): Only fetch integer registers
1758 if requested to do so. Add support for XMM registers
1759 using PT_GETXMMREGS.
1760 (store_inferior_registers): Only store integer registers
1761 if requested to do so. Add support for XMM registers
1762 using PT_SETXMMREGS.
1763 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
1764 (store_inferior_registers): Remove.
1765 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
1766 (fetch_elfcore_registers): New function.
1767 (i386nbsd_elfcore_fns): New.
1768 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
1769 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
1770 i386bsd-nat.o.
1771 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
1772 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
1773 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
1774 * config/i386/tm-nbsd.h: Update copyright years.
1775 (HAVE_SSE_REGS): Define.
1776 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
1777 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
1778 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
1779 (SIGCONTEXT_PC_OFFSET): Remove.
1780 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
1781
a752853e
AC
17822002-01-05 Andrew Cagney <ac131313@redhat.com>
1783
1784 * configure.tgt: Remove powerpc-*-macos* target.
1785 * config/m68k/xm-mpw.h: Delete file.
1786 * config/xm-mpw.h: Delete file.
1787 * ser-mac.c: Delete file.
1788 * mpw-make.sed: Delete file.
1789 * mpw-config.in: Delete file.
1790 * mac-xdep.c: Delete file.
1791 * mac-gdb.r: Delete file.
1792 * mac-defs.h: Delete file.
1793 * mac-nat.c: Delete file.
1794 * config/powerpc/macos.mh: Delete file.
1795 * config/powerpc/macos.mt: Delete file.
1796 * config/powerpc/nm-macos.h: Delete file.
1797 * config/powerpc/tm-macos.h: Delete file.
1798 * source.c (openp, open_source_file): Remove obsolete code.
1799 * top.c (gdb_readline): Ditto.
1800 * utils.c (query): Ditto.
1801 * event-top.c (display_gdb_prompt): Ditto.
1802 * Makefile.in (ser-mac.o): Delete obsolete target.
1803 * NEWS: Update.
1804
d7449b42
AC
18052002-01-04 Andrew Cagney <ac131313@redhat.com>
1806
1807 * defs.h (BIG_ENDIAN): Delete macro definition.
1808 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
1809 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
1810 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
1811 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1812 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
1813 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
1814 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
1815 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
1816 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
1817 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
1818 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
1819 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
1820 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1821 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
1822 * gdbarch.c: Re-generate.
1823
356374e8
DJ
18242002-01-04 Daniel Jacobowitz <drow@mvista.com>
1825
1826 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
1827 for core files.
1828
a2b8f8f8
JT
18292002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1830
1831 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
1832
12466af9
AC
18332002-01-04 Andrew Cagney <ac131313@redhat.com>
1834
1835 * value.h (value_ptr): Delete typedef.
1836
3549ab40
JT
18372002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
1838
1839 * i386nbsd-nat.c: Update copyright years.
1840 Include i386-tdep.h.
1841
fedbd091
EZ
18422002-01-04 Elena Zannoni <ezannoni@redhat.com>
1843
1844 * stabsread.c: Update copyright years.
1845
1846 From Debashis Mahata <debashis.mahata@wipro.com>:
1847 (read_struct_fields): Deal with Sun C compiler erroneous stab
1848 output for structs and unions.
fec8b34f 1849 Fix PR gdb/269.
fedbd091 1850
eb43544b
DJ
18512002-01-04 Daniel Jacobowitz <drow@mvista.com>
1852
1853 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
1854 prototype.
1855
1514d34e
DJ
18562002-01-04 Daniel Jacobowitz <drow@mvista.com>
1857
1858 * cp-abi.c: Fix whitespace.
1859 (baseclass_offset): New wrapper function.
1860 * cp-abi.h (baseclass_offset): Add prototype.
1861 (struct cp_abi_ops): Add baseclass_offset pointer.
1862
1863 * valops.c (vb_match): Move to...
1864 * gnu-v2-abi.c (vb_match): here.
1865 * valops.c (baseclass_offset): Move to...
1866 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
1867
1868 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
1869
1870 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
1871 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
1872 * hpacc-abi.c (init_hpacc_ops): Likewise.
1873
7f8c9282
DJ
18742002-01-04 Daniel Jacobowitz <drow@mvista.com>
1875
1876 * valops.c (find_overload_match): Accept obj as a
1877 reference parameter. Update it before returning.
1878 * value.h (find_overload_match): Update prototype.
1879 * eval.c (evaluate_subexp_standard): Pass object to
1880 find_overload_match by reference.
1881
f23631e4
AC
18822002-01-03 Andrew Cagney <ac131313@redhat.com>
1883
1884 * valarith.c: Replace value_ptr with struct value pointer. Remove
1885 register attribute from value declarations.
1886 * valops.c: Ditto.
1887 * value.h: Ditto.
1888 * scm-lang.c (scm_lookup_name): Ditto.
1889
79e10fab 18902002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 1891
79e10fab
AC
1892 Abstract the functionality of iterating over mapped memory
1893 regions into a general purpose iterator function.
abf22e64 1894 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
1895 iterator for memory sections.
1896 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
1897 (solib_mappings_callback): New function, callback for above.
1898 (info_proc_mappings): Reimpliment using iterate_over_mappings.
1899 (info_mappings_callback): New function, callback for above.
1900
1901 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
1902
c5ad026a
MK
19032002-01-01 Mark Kettenis <kettenis@gnu.org>
1904
d2a7c97a
MK
1905 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
1906 * i386-tdep.c: Include "elf-bfd.h".
1907 (process_note_abi_tag_sections): New function.
1908 (i386_gdbarch_init): Add code to recognize various OS/ABI
1909 combinations.
1910
c5ad026a
MK
1911 * maint.c (_initialize_maint_cmds): Add missing \ in
1912 string-literal.
1913
a1a5b71e 1914For older changes see ChangeLog-2001
c906108c
SS
1915\f
1916Local Variables:
1917mode: change-log
1918left-margin: 8
1919fill-column: 74
1920version-control: never
1921End:
This page took 0.308914 seconds and 4 git commands to generate.