Commit Graph

1140 Commits

Author SHA1 Message Date
Stan Shebs b83266a0e1 import gdb-19990504 snapshot 1999-05-05 14:45:51 +00:00
Stan Shebs e49d4fa61a import gdb-19990422 snapshot 1999-04-27 01:26:45 +00:00
Stan Shebs 7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 9733ab3f56 Initial creation of sourceware repository 1999-04-16 01:34:49 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Mark Alexander 1730ec6b18 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
coffread.c will correctly handle char or short function parameters.
1999-02-15 02:23:56 +00:00
Mark Alexander 602886332b * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
v850_register_names, v850_processor_type_table): Declare tables
	and structures for handling differences in register names for
	v850 and v850e.
	(struct reg_list): Define new structure for creating tables
	of register bit masks in v850e instrutions.
	(handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
	(v850_scan_prologue): Recognize v850e instructions: callt, prepare,
	and pushm.
	(v850_target_architecture_hook): New function to set register
	names based on current machine.
	(_initialize_v850_tdep): Set up target_architecture_hook.
	* config/v850/tm-v850.h (v850_register_names): Declare.
	(REGISTER_NAME): Define to refer to v850_register_names.
	(SR0_REGNUM, CTBP_REGNUM): Define.
	(PS_REGNUM): Redefine in terms of SR0_REGNUM.
1999-01-27 00:15:00 +00:00
Jeff Law b041460dbe am33 sanitize changes 1999-01-26 14:52:15 +00:00
Mark Alexander 7363ff9083 Changes for PR 8996:
* h8300-tdep.c (original_register_names, h8300h_register_names,
	h8300_register_names): Define new variables.
	(set_register_names): New function to set register names based on
	current CPU type.
	(h8300_command, h8300h_command, h8300s_command): Call
	set_register_names.
	* config/h8300/tm-h8300.h (h8300_register_names): Declare.
	(REGISTER_NAME): Define to refer to h8300_register_names.
1999-01-20 23:54:03 +00:00
Zdenek Radouch 517b49896a Changed ABI to match a GCC change. Structs passed by value are always
passed using a pointer.
1999-01-15 22:17:00 +00:00
Zdenek Radouch 1c3101060c Beta version of the FR30 port. 1999-01-07 22:54:18 +00:00
David Taylor 61ada545ec hp merge changes; 5 new files. 1999-01-04 16:23:14 +00:00
Jason Molenda adcb1e06ef 1998-12-30 Jason Molenda (jsm@bugshack.cygnus.com)
* utils.c: <readline/readline.h> instead of "readline/readline.h".

        * configure.in (TERM_LIB): Search for the appropriate term library
        on the host system.
        * configure: Regenerated.
        * Makefile.in (TERMCAP): Set based on autoconf check.
        * config/*/*.mh: Don't override TERMCAP setting.
1998-12-31 01:30:52 +00:00
Andrew Cagney cb2f9c9c67 Missed this file:
* config/mips/tm-mips.h (enum mips_fpu_type, mips_fpu): Move to
mips-tdep.c.
1998-12-18 06:03:39 +00:00
Zdenek Radouch 492eae092d Checkpoint (sharing through devo). 1998-12-17 23:56:59 +00:00
Andrew Cagney 06cf5a79dd Rename vr4100 (vr4xxx) config files to vr4100.
Rename vr4xxx (vr4300) config files to vr4xxx.
Enable GDB_MULTI_ARCH in tm-vr4xxx.h
1998-12-16 15:36:29 +00:00
Andrew Cagney 759181e384 config/mips/tm-*.h: (TARGET_BYTE_ORDER_DEFAULT,
TARGET_BYTE_ORDER_SELECTABLE_P): Replace TARGET_BYTE_ORDER and
TARGET_BYTE_ORDER_SELECTABLE.
1998-12-15 13:35:50 +00:00
Stan Shebs 6d2743e5ec 1998-12-14 J.T. Conklin <jtc@redbacknetworks.com>
* config/i386/nbsd.mh, config/m68k/nbsd.mh, config/ns32k/nbsd.mh
	(XDEPFILES): Add ser-tcp.o.
1998-12-14 23:42:19 +00:00
Andrew Cagney aaa3c096db CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.

Document.

Convert mn10300 and PPC targets.
1998-12-13 23:28:46 +00:00
Andrew Cagney 86a51f415d CARP: Mechanism to replace EXTRA_FRAME_INFO.
Add two pointers (saved_regs, extra_info) to struct frame_info.
Introduce new macro FRAME_INIT_SAVED_REGS which replaces
FRAME_FIND_SAVED_REGS.

Document.

Use in mn10300 and rs6000 targets. Fix side effects on ALPHA, MIPS,
Z8K and SPARC targets.
1998-12-12 02:50:39 +00:00
Andrew Cagney 9ddf9aa9be CARP:
Rename REGISTER_NAMES{} -> REGISTER_NAME().
1998-12-10 06:10:03 +00:00
Jim Wilson e351e0fca0 Link with i960 simulator.
* config/i960/mon960.mt (SIM_OBJS, SIM): Define.
1998-12-09 06:54:51 +00:00
Jason Molenda ac95dc5eeb 1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window'
        must accept a signal number as parameter.
        * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto.
        * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'.

        * inferior.h (register_valid): Variable's type is `SIGNED char', not
        `char'.
        * findvar.c (register_valid): Ditto.

        * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'.
        * gdbthread.h (unbind_target_thread_vector): Likewise.
1998-12-09 00:38:46 +00:00
Jeff Law c4efea12c8 Fixes. 1998-12-08 22:52:54 +00:00
Jeff Law 5e5be68bfe *** empty log message *** 1998-12-08 22:51:49 +00:00
Edith Epstein 1994dc7cfc Tue Dec 8 15:09:44 1998 Edith Epstein <eepstein@sophia.cygnus.com>
* config/m68k/tm-m68k.h (NUM_FREGS): m68k-linux patch.
          Added NUM_FREGS macro.

        * config/m68k/xm-linux.h: m68k-linux patch. New file.

        * config/m68k/tm-linux.h: m68k-linux patch. New file.

        * config/m68k/nm-linux.h: m68k-linux patch. New file.

        * config/m68k/linux.mt: m68k-linux patch. New file.

        * config/m68k/linux.mh: m68k-linux patch. New file.

        * gdbserver/low-linux.c: m68k-linux patch. Added an ifdef
          that checks the value of __GLIBC to decide whether or
          not to include sys/reg.h.

        * m68klinux-nat.c: m68k-linux patch. New file. Note
          both m68k-tdep.c and m68klinux-nat.c contain definitions
          for supply_gregset and supply_fpregset. The definitions
          in m68k-tdep.c are valid is USE_PROC_FS is defined. Otherwise,
          the definitions in m68klinux-nat.c will be used. This is a
          bit of a hack. The supply_* routines do not belong in
          *_tdep.c files. But, there are several lynx ports that currently
          depend on these definitions.

        * configure.tgt: m68k-linux patch. Added m68*-*-linux*
          gdb_target.

        * configure.host: m68k-linux patch. Added m68*-*-linux*
          gdb_host.

        * Makefile.in: m68k-linux patch. Added compile line for
          m68klinux-nat.o
1998-12-08 20:41:19 +00:00
Jason Molenda 223a358838 1998-12-07 Jason Molenda (jsm@bugshack.cygnus.com)
* config/i386/xm-cygwin.h: Remove REQUEST_QUIT definition.
        * config/powerpc/xm-cygwin.h: Ditto.

PR 17664.

With this define in place, you can't type "q" to get out of GDB's pager
under Cygwin.
1998-12-07 23:07:17 +00:00
Jim Blandy 63d7a4f12e * rs6000-tdep.c (pop_frame): Correctly find the registers saved in
the stack frame.  Their offset from the previous stack frame is in
fdata.gpr_offset and fdata.fpr_offset, not fdata.offset.
(gdb.base/return.exp)
* config/rs6000/tm-rs6000.h: Doc fixes.
1998-12-07 20:28:54 +00:00
Zdenek Radouch a7f32b781b Still some bogus code; checkpoint. 1998-12-03 15:36:26 +00:00
Doug Evans 3f235519e6 * config/fr30/tm-fr30.h (INNER_THAN): Add parameters. 1998-12-01 00:05:18 +00:00
Andrew Cagney b696009406 CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
1998-11-30 10:56:16 +00:00
Andrew Cagney 8743fc885f CARP:
Convert ADDR_BITS_REMOVE to a function.
1998-11-29 07:41:36 +00:00
Andrew Cagney 3a0c96a996 CARP:
Rewrite INNER_THAN so that it takes parameters.
1998-11-28 22:53:04 +00:00
Andrew Cagney 0233186932 CARP:
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing
  #ifdef's.
NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P +
  SOFTWARE_SINGLE_STEP.  Replace global variable one_stepped with static
  singlestep_breakpoints_inserted_p.  Cleanup infrun.c (scary!).
1998-11-27 23:35:08 +00:00
Andrew Cagney 679ce73102 CARP: Delete ABOUT_TO_RETURN across all targets. 1998-11-26 11:13:01 +00:00
Andrew Cagney c8623080cb CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
1998-11-25 22:13:53 +00:00
Michael Snyder 4183a62a97 Tue Nov 24 15:46:33 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER):
        new target macro.
        * mn10300-tdep.c (mn10300_virtual_frame_pointer): new function.
        * tracepoint.c (encode_actions): Use the new target macro to
        determine the virtual frame pointer, for collecting locals/args.
        (add_local_symbols, collect_symbol): add a register/offset pair of
        arguments so that the virtual frame pointer can be passed in.
1998-11-24 23:50:20 +00:00
Felix Lee 15af627cc0 * procfs.c (procfs_wait): handle syscall events first.
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros.
        * config/sparc/xm-sun4sol2.h: use them.
        * core-sol2.c: don't #undef gregset_t and fpregset_t.
        * sol-thread.c: ditto.
        * sparc-tdep.c: ditto.
1998-11-24 14:51:13 +00:00
Andrew Cagney afcad54a90 CARP: *BREAKPOINT*
Convert mn10300, MIPS and powerpc/rs6000 targets to use
BREAKPOINT_FROM_PC
Delete global variable memory_breakpoint_size.  Use BREAKPOINT_FROM_PC
instead.
1998-11-24 13:49:00 +00:00
Andrew Cagney 98760eab33 CARP: Convert macro definitions of USE_STRUCT_CONVENTION into target
specific functions.
1998-11-23 12:35:23 +00:00
Stan Shebs e78a799536 keep restored file 1998-11-21 19:29:32 +00:00
Stan Shebs 6b29a8b13b * config/m68k/delta68.mh (NAT_FILE): Undo 1998-08-18 change;
without NAT_FILE definition, configure will assume that GDB cannot
 	run native.
	* config/m68k/nm-delta68.h (KERNEL_U_SIZE): New macro.
	* delta68-nat.c (kernel_u_size): New function.
1998-11-21 19:28:44 +00:00
Zdenek Radouch f51dbfbd4e Replacing a bogus file with a semi-bogus one (sharing through devo). 1998-11-20 00:34:30 +00:00
Zdenek Radouch 82a1b47808 Replacing a bogus file with possibly an initial version of the same. 1998-11-20 00:31:29 +00:00
Andrew Cagney a6a070be50 CARP:
* exec.c (exec_file_command): Cleanup. Replace #if
NEED_TEXT_START_END with if().
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Redefine to be 1.
* config/convex/tm-convex.h (NEED_TEXT_START_END): Ditto.
* config/gould/tm-np1.h (NEED_TEXT_START_END): Ditto.
* config/a29k/tm-a29k.h (NEED_TEXT_START_END): Ditto.
1998-11-19 22:04:08 +00:00
Geoffrey Noer 2acd19abcc fix up sanitize file 1998-11-14 01:45:52 +00:00
Geoffrey Noer 7c9ead687a fix sanitize file 1998-11-14 01:45:12 +00:00
Geoffrey Noer d836385e11 Fri Nov 13 00:15:08 1998 Geoffrey Noer <noer@cygnus.com>
Changes to account for name change from cygwin32 to cygwin and
        clean up Win32-related ifdefs.

        * configure.tgt: check for cygwin* instead of cygwin32.
        New cygwin gdb_target variable loses the "32".
        * configure.host: check for cygwin* instead of cygwin32.
        New cygwin gdb_host variable loses the "32".
        * configure.in: test __CYGWIN__ instead of __CYGWIN32__,
        rename gdb_cv_os_cygwin32 variable to drop the "32".  Call
        AM_EXEEXT instead of AC_EXEEXT since that isn't in a released
        autoconf yet.
        * configure: regenerate.

        * main.c: drop "32" from cygwin_ funcs, include sys/cygwin.h
          where
        cygwin path conv protos live, instead of adding a proto here
          for
        them here.
        * {main.c, ser-tcp.c, ser-unix.c, top.c}: check __CYGWIN__
        instead of __CYGWIN32__.
        * source.c: thoughout, check _WIN32 instead of WIN32.

        * config/i386/cygwin32.mh: delete.
        * config/i386/cygwin.mh: new file, was cygwin32.mh.
        * config/i386/cygwin32.mt: delete.
        * config/i386/cygwin.mt: new file, was cygwin32.mt.
        * config/i386/tm-cygwin32.h: delete.
        * config/i386/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/i386/xm-cygwin32.h: delete.
        * config/i386/xm-cygwin.h: new file, was xm-cygwin32.h.
        * config/i386/xm-windows.h: #include xm-cygwin.h now.
        * config/powerpc/cygwin32.mh: delete.
        * config/powerpc/cygwin.mh: new file, was cygwin32.mh.
        * config/powerpc/cygwin32.mt: delete.
        * config/powerpc/cygwin.mt: new file, was cygwin32.mt.
        * config/powerpc/tm-cygwin32.h: delete.
        * config/powerpc/tm-cygwin.h: new file, was tm-cygwin32.h.
        * config/powerpc/xm-cygwin32.h: delete.
        * config/powerpc/xm-cygwin.h: new file, was xm-cygwin32.h.

        * rdi-share/aclocal.m4: regenerate with aclocal.
        * rdi-share/configure: regenerate with autoconf.
        * rdi-share/{host.h, hostchan.c, hostchan.h, serdrv.c,
        * serpardr.c,
        unixcomm.c}: check __CYGWIN__ instead of __CYGWIN32__.
1998-11-13 08:16:08 +00:00
Dave Brolley 83da26349f Mon Nov 9 12:00:36 1998 Dave Brolley <brolley@cygnus.com>
* config/fr30/fr30.mt: New file.
	* config/fr30/tm-fr30.h: New file.
1998-11-09 17:02:20 +00:00