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