diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-09-09 23:47:12 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-09-09 23:47:12 +0000 |
commit | 8f5eb36c1374e92dea4f8a43448090b41c1a3319 (patch) | |
tree | a70a48382e6a7ecbb057451e3f2df07759015646 /gdb | |
parent | 2f36d00478524ed4081b20db411c94f8b7842c13 (diff) | |
download | fsf-binutils-gdb-8f5eb36c1374e92dea4f8a43448090b41c1a3319.zip fsf-binutils-gdb-8f5eb36c1374e92dea4f8a43448090b41c1a3319.tar.gz fsf-binutils-gdb-8f5eb36c1374e92dea4f8a43448090b41c1a3319.tar.bz2 |
Misc. changes I had lying around.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/arc/arc.mt | 6 | ||||
-rw-r--r-- | gdb/config/arc/tm-arc.h | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/config/arc/arc.mt b/gdb/config/arc/arc.mt index df8cdce..cf4284e 100644 --- a/gdb/config/arc/arc.mt +++ b/gdb/config/arc/arc.mt @@ -1,8 +1,8 @@ # Target: arc processor -TDEPFILES= arc-tdep.o remote-arc.o -TM_FILE= tm-arc.h +TDEPFILES = arc-tdep.o remote-arc.o +TM_FILE = tm-arc.h -REMOTE_OBS= dcache.o remote-utils.o +REMOTE_OBS = dcache.o remote-utils.o # remote-sim.o # This isn't supported yet and prevents gdb from building. #SER_HARDWIRE= ser-go32-para.o diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h index c6cfb71..e4b693b 100644 --- a/gdb/config/arc/tm-arc.h +++ b/gdb/config/arc/tm-arc.h @@ -53,14 +53,19 @@ extern CORE_ADDR skip_prologue PARAMS ((CORE_ADDR, int)); #define BIG_BREAKPOINT { 0x12, 0x1f, 0xff, 0xff } #define LITTLE_BREAKPOINT { 0xff, 0xff, 0x1f, 0x12 } -/* ??? This value may eventually be correct (if/when proper breakpoints - are added). Until then no value is correct so leave as is and cope. */ +/* Given the exposed pipeline, there isn't any one correct value. + However, this value must be 4. GDB can't handle any other value (other than + zero). See for example infrun.c: + "prev_pc != stop_pc - DECR_PC_AFTER_BREAK" */ +/* FIXME */ #define DECR_PC_AFTER_BREAK 8 /* We don't have a reliable single step facility. ??? We do have a cycle single step facility, but that won't work. */ #define NO_SINGLE_STEP +/* FIXME: Need to set STEP_SKIPS_DELAY. */ + /* Given a pc value as defined by the hardware, return the real address. Remember that on the ARC blink contains that status register which includes PC + flags (so we have to mask out the flags). */ |