Ben Harris
de7dd7a986
2001-12-17 Ben Harris <bjh21@netbsd.org>
...
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c.
* armnbsd-nat.c: New file, renamed from armbsd-nat.c.
* Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c.
* config/arm/nbsd.mh: Likewise.
2001-12-17 21:14:10 +00:00
Fernando Nasser
9512d7fdf5
2001-12-17 Fernando Nasser <fnasser@redhat.com>
...
From Richard Earnshaw <rearnsha@arm.com>:
* arm-tdep.c (arm_software_single_step): New function. Implements
software single-stepping for ARM targets.
(arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only
needed for software single-stepping.
* config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-17 17:03:58 +00:00
Fernando Nasser
e7a42bc893
2001-12-17 Fernando Nasser <fnasser@redhat.com>
...
From Richard Earnshaw <rearnsha@arm.com>:
* config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h,
config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files.
* armbsd-nat.c: New file.
* Makefile.in: Build it.
* configure.host, configure.tgt: Support NetBSD/arm.
2001-12-17 16:23:02 +00:00
Kevin Buettner
2d5177f34b
Conditionally include solib.h.
2001-12-16 00:59:58 +00:00
Andrew Cagney
778eb05eac
LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
2001-12-15 16:53:24 +00:00
Corinna Vinschen
2d6f4d1516
* config/djgpp/fnchange.lst: Add entries for opcodes/xstormy16-* files.
2001-12-14 09:27:42 +00:00
Corinna Vinschen
0c884e1782
* Makefile.in: Add support for xstormy16.
...
* configure.tgt: Ditto.
* xstormy16-tdep.c: New file.
* config/xstormy16/xstormy16.mt: New file.
2001-12-13 13:34:41 +00:00
Andrew Cagney
46cd78fb46
* arch-utils.c (generic_register_raw_size): New function.
...
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as
the static default.
* gdbarch.c: Regenerate.
* arch-utils.h (generic_register_raw_size): Declare.
* config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro.
* mips-tdep.c (mips_register_raw_size): Make function static.
(mips_gdbarch_init): Initialize register_raw_size.
2001-12-10 04:58:31 +00:00
Elena Zannoni
2188cbdd51
2001-12-09 Elena Zannoni <ezannoni@redhat.com>
...
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove
definition, it is now multiarched.
* ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add
fields for special register numbers.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special
regnum fields.
(rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields
instead of hardcoded macros.
(branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy,
ppc_push_return_address, rs6000_frame_saved_pc,
frame_get_saved_regs, rs6000_frame_chain,
rs6000_store_return_value): Ditto.
(rs6000_stab_reg_to_regnum): New function.
* ppcnbsd-nat.c (fetch_inferior_registers,
store_inferior_registers, fetch_core_registers): Ditto.
* ppc-linux-tdep.c (ppc_linux_in_sigtramp,
ppc_linux_frame_init_saved_regs): Ditto.
* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
fill_gregset): Ditto.
* ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
Ditto.
2001-12-09 21:39:53 +00:00
Jim Blandy
7aa07d2df5
* config/s390/s390.mh: Don't use the linux-thread.o module;
...
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08 19:17:17 +00:00
Jim Blandy
08ea399688
* config/s390/nm-linux.h: Watchpoints are either continuable or
...
steppable, not both. The S/390 has continuable watchpoints, so
delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-06 16:17:06 +00:00
Keith Walker
ae45a35b44
* gdbserver/low-linux.c (arm_register_u_addr): added.
...
(initialize_arch): added for ARM target.
* config/arm/nm-linux.h (U_REGS_OFFSET) defined.
(REGISTER_U_ADDR) defined.
* config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
2001-12-05 15:11:48 +00:00
Kevin Buettner
e01e171deb
Include solib.h.
2001-12-03 21:17:49 +00:00
Andrew Cagney
22797942c4
* i386-tdep.c (i386go32_frame_saved_pc): New function.
...
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare.
(FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
2001-12-02 18:29:08 +00:00
Andrew Cagney
2607059cba
Delete HOST_BYTE_ORDER.
2001-12-02 02:57:18 +00:00
Andrew Cagney
3680c63822
Zap sony news (m68k) and ISI (m68k) targets.
2001-12-01 23:06:47 +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
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
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
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
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
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
Andrew Cagney
ed909a0d77
Zap config/i386/tm-embed.h.
2001-11-18 21:28:20 +00:00
Daniel Jacobowitz
d2b57b9476
* Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,
...
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies.
* config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES.
* sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-17 18:38:29 +00:00
Andrew Cagney
032758dc55
* arm-tdep.c (arm_register_type): New function.
...
(arm_register_convertible): Delete.
(arm_register_convert_to_virtual): Delete.
(arm_register_convert_to_raw): Delete.
* config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete.
(REGISTER_CONVERT_TO_VIRTUAL): Delete.
(REGISTER_CONVERT_TO_RAW): Delete.
(REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type.
(arm_register_type): Declare.
2001-11-14 08:18:33 +00:00
Andrew Cagney
0cb2e7c50f
Eliminate REGISTER_CONVERTIBLE().
2001-11-13 03:10:35 +00:00
Andrew Cagney
2c10d744f3
Zap REGISTER_CONVERTIBLE from m88k.
2001-11-13 02:39:29 +00:00
Mark Kettenis
226271d3c0
* i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.
...
* i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h".
* config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed.
(SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
2001-11-12 22:27:35 +00:00
Andrew Cagney
a62cc96ec5
Enable multi-arch for i386.
2001-11-08 18:32:08 +00:00
Mark Kettenis
8cf03c4c87
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in
...
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of
hardcoding the register number.
2001-11-08 00:03:52 +00:00
Jim Blandy
8114216ba3
* config/s390/s390.mh (NATDEPFILES): Don't split this across
...
several lines with backslashes; the `sed' command in
configure.in's AC_OUTPUT clause that comments out the NATDEPFILES
assignment doesn't handle lines extended with backslashes.
2001-11-06 00:04:51 +00:00
Mark Kettenis
6441c4a026
Add support for "orig_eax" pseudo register on Linux/x86.
...
* i386-linux-tdep.c: Include "inferior.h".
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New functions.
(i386_linux_write_pc): New function.
* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define.
(NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME,
REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional
register.
(i386_linux_register_name, i386_linux_register_byte,
i386_linux_register_raw_size): New prototypes.
(TARGET_WRITE_PC): New define.
(i386_linux_write_pc): New prototype.
2001-11-04 14:06:16 +00:00
Mark Kettenis
1a11ba71e2
* i386-tdep.c (i386_register_offset): Renamed from
...
i386_register_byte. Made static.
(i386_register_size): Renamed from i386_register_raw_size. Made
static.
(i386_register_virtual_size): Removed.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
(_initialize_i386_tdep): Initialize i386_register_offset instead
of i386_register_byte. Remove code to initialize
i386_register_virtual_size.
* config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use
i386_register_byte function.
(REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size
function.
(REGISTER_VIRTUAL_SIZE): Redefine to use
i386_register_virtual_size function.
(i386_register_byte, i386_register_raw_size,
i386_register_virtual_size): New functions.
2001-11-04 13:51:48 +00:00
Fred Fish
990f9fe3aa
Approved by kev@cygnus.com
...
ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.
* coff-solib.c (coff_solib_add): If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.
* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.
* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.
* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.
* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.
Approved by eliz@is.elta.co.il
doc/ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.
2001-11-01 16:17:08 +00:00
Mark Kettenis
fc633446cd
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
...
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.
2001-10-31 22:24:06 +00:00
Mark Kettenis
dec66fe5f0
* config/i386/tm-i386v.h: Don't include "regcache.h".
...
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
Remove macros. The versions from "tm-i386.h" should work fine
(and in most cases even better).
2001-10-29 23:54:56 +00:00
Andrew Cagney
fd0407d670
Add explicit #include of "value.h".
2001-10-21 17:19:38 +00:00
Eli Zaretskii
c4282e67c1
* config/djgpp/README: Fix a typo and tweak for GDB 5.1.
2001-10-21 14:21:03 +00:00
Andrew Cagney
457174f645
Enable PowerPC simulator on native linux and netbsd.
2001-10-20 00:16:44 +00:00
Andrew Cagney
fc0c74b114
Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that do
...
funnies to integer to address conversions.
2001-10-15 18:18:30 +00:00
Mark Kettenis
3902478264
* config/s390/nm-linux.h: Don't include <signal.h>.
...
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
GET_THREAD_SIGNAL): Remove.
2001-10-14 21:04:05 +00:00