aboutsummaryrefslogtreecommitdiff
path: root/gdb/m-pninit.h
diff options
context:
space:
mode:
authorgdb-2.8 <gdb@fsf.org>1988-09-03 08:00:00 +0100
committerPedro Alves <palves@redhat.com>2012-06-03 15:36:31 +0100
commit3bf57d210832b28e9361990830eb722a619f031b (patch)
treeba506d293bde0f6500d0cee3e643ebf8890d9cf7 /gdb/m-pninit.h
parent7c75bab3d3ef344a6a0b13b9ab59ecd5855aceb5 (diff)
downloadgdb-3bf57d210832b28e9361990830eb722a619f031b.zip
gdb-3bf57d210832b28e9361990830eb722a619f031b.tar.gz
gdb-3bf57d210832b28e9361990830eb722a619f031b.tar.bz2
gdb-2.8
Diffstat (limited to 'gdb/m-pninit.h')
-rw-r--r--gdb/m-pninit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/m-pninit.h b/gdb/m-pninit.h
new file mode 100644
index 0000000..4f12eaa
--- /dev/null
+++ b/gdb/m-pninit.h
@@ -0,0 +1,4 @@
+/* This is how the size of an individual .o file's text segment
+ is rounded on a Concept. See pn-pinsn.c for rounding function. */
+
+#define FILEADDR_ROUND(addr) (((int)(addr) + 7) & ~0x7)