Andrew Cagney
3680c63822
Zap sony news (m68k) and ISI (m68k) targets.
2001-12-01 23:06:47 +00:00
Andrew Cagney
ccb25a8a7d
Zap zap.
2001-12-01 22:49:21 +00:00
Andrew Cagney
9b56715048
Zap the ultra series of a29k host and target.
2001-12-01 22:34:11 +00:00
Andrew Cagney
7e24f0b11e
Zap Sun's i386i.
2001-12-01 22:19:30 +00:00
Andrew Cagney
1406caf7ab
Zap all but ns32k-netbsd NS32k targets and hosts.
2001-12-01 22:02:03 +00:00
Andrew Cagney
5e734e1f9d
Zap harris target and host.
2001-12-01 21:11:41 +00:00
Andrew Cagney
7768dd6c95
Zap some older PPC targets.
2001-12-01 21:01:58 +00:00
Andrew Cagney
7bc65f05b2
Zap a29k.
2001-12-01 19:34:37 +00:00
Andrew Cagney
e2caac1894
Delete tic80 target.
2001-12-01 19:10:00 +00:00
Kevin Buettner
6ded7999cd
Add cross platform SVR4 shared library support for PowerPC.
2001-12-01 00:25:08 +00:00
Kevin Buettner
a42dd537c4
Define SVR4 link map offset fetcher for Linux/ARM.
2001-11-30 20:27:09 +00:00
Daniel Jacobowitz
21cfb3b661
* values.c (value_primitive_field): Add embedded_offset to the
...
address of structure members.
* gnu-v3-abi.c (gnuv3_rtti_type): Cast to base type before
attempting to access vtable pointer. Set using_enc_p if we cast.
(gnuv3_virtual_fn_field): Call value_cast with structure rather than
structure pointer. Cast to base type before attempting to access
vtable pointer.
2001-11-30 17:47:51 +00:00
Elena Zannoni
16333c4fa1
2001-11-29 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h.
* ppc-tdep.h (PPC_GPLAST_REGNUM): Define.
* ppc-linux-nat.c: Include ppc-tdep.h.
(ppc_register_u_addr): Don't use the static array regmap[],
dynamically define the mapping instead.
(supply_gregset): Ditto.
(fill_gregset): Ditto.
(COPY_REG): Delete macro defintion.
(regmap): Delete array.
2001-11-30 02:14:08 +00:00
Jim Blandy
c8f9d51ce2
Tighten up GDB's support for returning structs by value.
...
* s390-tdep.c (s390_use_struct_convention): New function.
(s390_gdbarch_init): Register it as the S/390's
USE_STRUCT_CONVENTION method. Register
generic_cannot_extract_struct_value_address as our
EXTRACT_STRUCT_VALUE_ADDRESS method.
* arch-utils.c (generic_cannot_extract_struct_value_address): New
function.
* arch-utils.h: Add corresponding prototype.
2001-11-29 22:24:42 +00:00
Jim Blandy
aead120c3f
* values.c (value_being_returned): Make error message a proper
...
sentence.
2001-11-29 17:37:38 +00:00
Keith Walker
a8329558c7
* dwarf2read.c (read_attribute_value): New function to handle DW_FORM_indirect
...
(read_attribute): uses read_attribute_value
2001-11-29 13:19:06 +00:00
Jim Blandy
d0ad30c93c
* s390-tdep.c (s390_frame_saved_pc_nofix): If the prologue didn't
...
save the return address register, assume that the return address
is still in there.
2001-11-29 05:02:37 +00:00
Andrew Cagney
54c92070ce
clarify obvious fix.
2001-11-28 22:47:30 +00:00
Jim Blandy
62f81eda5c
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
2001-11-28 21:56:40 +00:00
Jim Blandy
5c3cf190c0
* s390-tdep.c: Get frame chains and saved pc values properly from
...
dummy frames.
(s390_frame_saved_pc_nofix): if `*fi' is a dummy frame, get the
saved PC from the dummy frame's registers.
(s390_frame_chain): Same for the saved SP.
(s390_gdbarch_init): Register `generic_save_dummy_frame_tos' as
the `SAVE_DUMMY_FRAME_TOS' method, so the dummy frame's `top' gets
set correctly.
2001-11-28 03:40:50 +00:00
Jim Blandy
31c4d430c4
* s390-tdep.c (s390_frame_chain): Remember that the SP's element
...
of the frame's saved_regs array is special.
2001-11-28 03:36:36 +00:00
Jim Blandy
4ed90530f6
* s390-tdep.c (register_names): Call the general-purpose registers
...
`r0' -- `r15', and the floating-point registers `f0' -- `f15', to
match the assembly language.
2001-11-27 22:19:55 +00:00
Christopher Faylor
97da3b2016
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
...
HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
* win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended
registers if HAVE_SSE_REGS is defined.
(mappings array): Add offset of extended registers.
(thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-27 05:15:58 +00:00
Tom Tromey
467d85198f
* NEWS: Updated.
...
* event-loop.c (start_event_loop): Call
after_char_processing_hook.
* event-top.h (after_char_processing_hook): Declare.
* event-top.c (rl_callback_read_char_wrapper): Call
after_char_processing_hook.
(after_char_processing_hook): New global.
* top.c (operate_saved_history): New global.
(gdb_rl_operate_and_get_next): New function.
(init_main): Add the operate-and-get-next defun.
(gdb_rl_operate_and_get_next_completion): New function.
2001-11-27 04:15:09 +00:00
Tom Tromey
c2a727faa2
* NEWS: Update for --args.
...
* infcmd.c (construct_inferior_arguments): Moved from ...
* fork-child.c: ... here.
2001-11-27 03:09:44 +00:00
Jim Blandy
b77b1eb785
* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
...
comment explaining that hand-written assembly code can have line
number info but no debug info for an enclosing function.
2001-11-27 00:03:22 +00:00
Jakub Jelinek
7d69eeecda
* sparc-nat.c (fetch_inferior_registers): Don't rely
...
on CORE_ADDR being 32-bit.
(store_inferior_registers): Likewise.
2001-11-26 16:42:11 +00:00
Eli Zaretskii
c64a283540
* config/djgpp/config.sed: Fix an error in etc/ at "make install"
...
time on non-LFN systems where standards*.inf* expands to nothing.
2001-11-25 11:32:51 +00:00
Eli Zaretskii
1f5dc6706d
* go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
2001-11-25 11:29:31 +00:00
Christopher Faylor
d3ff4a77ad
* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be able
...
to remove the DLL when unloaded. Remove unused last field.
(handle_unload_dll): New function to handle unloading of DLL.
(solib_symbols_add): Change return type to struct objfile *.
(get_child_debug_event): Call handle_unload_dll function.
2001-11-24 19:00:03 +00:00
Christopher Faylor
2a3d564525
* win32-nat.c (_initialize_check_for_gdb_ini): New function.
...
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.
2001-11-24 18:21:27 +00:00
Mark Kettenis
eb7cedd985
Add x86 OpenBSD native configuration.
...
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.
2001-11-23 23:01:54 +00:00
Andrew Cagney
172d914f22
Mention 5.1 release.
2001-11-22 05:52:23 +00:00
Tom Tromey
552c04a742
Fix for PR gdb/209, PR gdb/156:
...
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
2001-11-22 00:23:13 +00:00
Kevin Buettner
da9c7185df
Fix two ``attach'' related bugs involving threads.
2001-11-21 21:56:47 +00:00
Jim Blandy
98eedd63d0
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
...
default definition; this is never used.
2001-11-21 02:01:29 +00:00
Keith Seitz
5bbc1a8e41
* varobj.c (c_value_of_child): Release memory for "name" when
...
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
2001-11-20 18:08:14 +00:00
Keith Seitz
1ad24239ce
* top.c (gdb_init): Call init_ui_hook before initializing
...
the default UI.
2001-11-20 16:54:39 +00:00
Elena Zannoni
4cb0dbef42
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
2001-11-20 16:36:44 +00:00
Elena Zannoni
f00d375378
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
2001-11-20 16:35:24 +00:00
Elena Zannoni
8b6f1f3a31
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* infptrace.c (fetch_register): Dynamically allocate buffer for
register.
(store_register): Use regcache_collect, instead of accessing the
register buffer directly.
2001-11-19 23:59:55 +00:00
Daniel Jacobowitz
479412cd97
* mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
...
cur_frame to heuristic_proc_desc.
(heuristic_proc_desc): Add cur_frame argument. Do not read SP
if cur_frame == 0.
(after_prologue): Pass cur_frame == 0 to find_proc_desc.
(mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
(mips_init_extra_frame_info): Likewise.
2001-11-19 23:15:31 +00:00
Andrew Cagney
ab290c52fb
* defs.h (return_to_top_level): Comment.
2001-11-19 21:44:46 +00:00
Andrew Cagney
22e0437587
Use ISO C long strings.
2001-11-19 20:18:32 +00:00
Keith Seitz
30c6b1fbe9
* varobj.c (c_value_of_child): Use the wrapper function,
...
gdb_value_struct_elt.
(cplus_value_of_child): Likewise.
2001-11-19 19:44:04 +00:00
Andrew Cagney
bd1ef5d285
* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.
...
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18 22:14:13 +00:00
Kevin Buettner
76fb44f49a
* i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()
...
conversion for I386_LINUX_ORIG_EAX_REGNUM.
2001-11-18 21:38:59 +00:00
Andrew Cagney
ed909a0d77
Zap config/i386/tm-embed.h.
2001-11-18 21:28:20 +00:00
Andrew Cagney
4edb848c4e
Zap files in gdb/gdbserver/
2001-11-18 05:09:26 +00:00
Andrew Cagney
f87ece4d0b
doco more build probs.
2001-11-18 04:43:50 +00:00