projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import gdb-19990504 snapshot
[deliverable/binutils-gdb.git]
/
gdb
/
config
/
i386
/
tm-i386.h
diff --git
a/gdb/config/i386/tm-i386.h
b/gdb/config/i386/tm-i386.h
index 8f8090b96f20e3c761a176d5bd2ae2b7d07f51e1..06d9f855290acd7e7cb895c1fb067be8ccc8223d 100644
(file)
--- a/
gdb/config/i386/tm-i386.h
+++ b/
gdb/config/i386/tm-i386.h
@@
-15,7
+15,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139
, USA. */
+Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
#ifndef TM_I386_H
#define TM_I386_H 1
#ifndef TM_I386_H
#define TM_I386_H 1
@@
-47,7
+47,7
@@
struct type;
/* Advance PC across any function entry prologue instructions to reach some
"real" code. */
/* Advance PC across any function entry prologue instructions to reach some
"real" code. */
-#define SKIP_PROLOGUE(frompc)
{(frompc) = i386_skip_prologue((frompc));}
+#define SKIP_PROLOGUE(frompc)
(i386_skip_prologue (frompc))
extern int i386_skip_prologue PARAMS ((int));
extern int i386_skip_prologue PARAMS ((int));
@@
-59,7
+59,7
@@
extern int i386_skip_prologue PARAMS ((int));
/* Stack grows downward. */
/* Stack grows downward. */
-#define INNER_THAN
<
+#define INNER_THAN
(lhs,rhs) ((lhs) < (rhs))
/* Sequence of bytes for breakpoint instruction. */
/* Sequence of bytes for breakpoint instruction. */
@@
-70,10
+70,6
@@
extern int i386_skip_prologue PARAMS ((int));
#define DECR_PC_AFTER_BREAK 1
#define DECR_PC_AFTER_BREAK 1
-/* Nonzero if instruction at PC is a return instruction. */
-
-#define ABOUT_TO_RETURN(pc) (read_memory_integer ((pc), 1) == 0xc3)
-
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the
real way to know how big a register is. */
/* Say how long (ordinary) registers are. This is a piece of bogosity
used in push_word and a few other places; REGISTER_RAW_SIZE is the
real way to know how big a register is. */
@@
-158,8
+154,10
@@
extern int i386_skip_prologue PARAMS ((int));
subroutine will return. This is called from call_function. */
#define STORE_STRUCT_RETURN(ADDR, SP) \
subroutine will return. This is called from call_function. */
#define STORE_STRUCT_RETURN(ADDR, SP) \
- { (SP) -= sizeof (ADDR); \
- write_memory ((SP), (char *) &(ADDR), sizeof (ADDR)); }
+ { char buf[REGISTER_SIZE]; \
+ (SP) -= sizeof (ADDR); \
+ store_address (buf, sizeof (ADDR), ADDR); \
+ write_memory ((SP), buf, sizeof (ADDR)); }
/* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format,
/* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format,
This page took
0.023723 seconds
and
4
git commands to generate.