aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-04-21 15:58:02 +0000
committerIan Lance Taylor <ian@airs.com>1994-04-21 15:58:02 +0000
commit1f573a795dfcc69b66a3a1542b56ca99fd4816e7 (patch)
treed285c9634b0ff4648401961d645f94843f5c5f2b
parent96f7edbde8d07b273df95d3ae4c49e31d5cf8e29 (diff)
downloadgdb-1f573a795dfcc69b66a3a1542b56ca99fd4816e7.zip
gdb-1f573a795dfcc69b66a3a1542b56ca99fd4816e7.tar.gz
gdb-1f573a795dfcc69b66a3a1542b56ca99fd4816e7.tar.bz2
* internal.h (struct nlm_internal_cygnus_section_header): Define.
* external.h (struct nlmNAME(external_cygnus_section_header): Define.
-rw-r--r--include/nlm/ChangeLog6
-rw-r--r--include/nlm/external.h12
-rw-r--r--include/nlm/internal.h15
3 files changed, 33 insertions, 0 deletions
diff --git a/include/nlm/ChangeLog b/include/nlm/ChangeLog
index 7d19533..60e8773 100644
--- a/include/nlm/ChangeLog
+++ b/include/nlm/ChangeLog
@@ -1,3 +1,9 @@
+Thu Apr 21 11:57:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * internal.h (struct nlm_internal_cygnus_section_header): Define.
+ * external.h (struct nlmNAME(external_cygnus_section_header):
+ Define.
+
Wed Apr 20 14:27:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* internal.h (struct nlm_internal_custom_header): Remove
diff --git a/include/nlm/external.h b/include/nlm/external.h
index 70262ed..aedc565 100644
--- a/include/nlm/external.h
+++ b/include/nlm/external.h
@@ -162,3 +162,15 @@ typedef struct nlmNAME(external_custom_header)
unsigned char dataLength[NLM_TARGET_LONG_SIZE];
} NlmNAME(External_Custom_Header);
+
+typedef struct nlmNAME(external_cygnus_section_header)
+{
+
+ /* The header is recognized by "CyGnUsSeCs" in the stamp field. */
+ char stamp[10];
+
+ unsigned char offset[NLM_TARGET_LONG_SIZE];
+
+ unsigned char length[NLM_TARGET_LONG_SIZE];
+
+} NlmNAME(External_Cygnus_Section_Header);
diff --git a/include/nlm/internal.h b/include/nlm/internal.h
index 3597efb..024c5d6 100644
--- a/include/nlm/internal.h
+++ b/include/nlm/internal.h
@@ -282,3 +282,18 @@ typedef struct nlm_internal_custom_header
#define Nlm32_Internal_Custom_Header Nlm_Internal_Custom_Header
#define nlm64_internal_custom_header nlm_internal_custom_header
#define Nlm64_Internal_Custom_Header Nlm_Internal_Custom_Header
+
+typedef struct nlm_internal_cygnus_section_header
+{
+ /* The header is recognized by "CyGnUsSeCs" in the stamp field. */
+ char stamp[10];
+ /* File location of debugging information. */
+ file_ptr offset;
+ /* Length of debugging information. */
+ bfd_size_type length;
+} Nlm_Internal_Cygnus_Section_Header;
+
+#define nlm32_internal_cygnus_section_header nlm_internal_cygnus_section_header
+#define Nlm32_Internal_Cygnus_Section_Header Nlm_Internal_Cygnus_Section_Header
+#define nlm64_internal_cygnus_section_header nlm_internal_cygnus_section_header
+#define Nlm64_Internal_Cygnus_Section_Header Nlm_Internal_Cygnus_Section_Header