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