mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h: Initialize tm_print_insn from TM_PRINT_INSN, which comes from the tm file. * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure. * configure configure.in: Only make sol-thread.o for native. Also, switch to dlopened libthread_db.so.1. * sol-thread.c: Switch to using dlopen to get the thread_db library. * configure, configure.in: Change test for libthread_db to only work for configs where build/host/target are the same.
This commit is contained in:
@@ -110,7 +110,7 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR));
|
||||
|
||||
#define STACK_ALIGN(ADDR) (((ADDR)+7)&-8)
|
||||
|
||||
/* Sequence of bytes for breakpoint instruction. */
|
||||
/* Sequence of bytes for breakpoint instruction (ta 1). */
|
||||
|
||||
#define BREAKPOINT {0x91, 0xd0, 0x20, 0x01}
|
||||
|
||||
@@ -641,3 +641,7 @@ extern int deferred_stores;
|
||||
passed as doubles and then converted in the callee. */
|
||||
|
||||
#define COERCE_FLOAT_TO_DOUBLE 1
|
||||
|
||||
/* Select the sparc disassembler */
|
||||
|
||||
#define TM_PRINT_INSN print_insn_sparc
|
||||
|
||||
@@ -21,6 +21,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "sparc/tm-sparc.h"
|
||||
|
||||
/* Select the sparclite disassembler. Slightly different instruction set from
|
||||
the V8 sparc. */
|
||||
|
||||
#undef TM_PRINT_INSN
|
||||
#define TM_PRINT_INSN print_insn_sparclite
|
||||
|
||||
/* Amount PC must be decremented by after a hardware instruction breakpoint.
|
||||
This is often the number of bytes in BREAKPOINT
|
||||
but not always. */
|
||||
|
||||
Reference in New Issue
Block a user