diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-04-21 15:58:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-04-21 15:58:02 +0000 |
commit | 1f573a795dfcc69b66a3a1542b56ca99fd4816e7 (patch) | |
tree | d285c9634b0ff4648401961d645f94843f5c5f2b /include/nlm | |
parent | 96f7edbde8d07b273df95d3ae4c49e31d5cf8e29 (diff) | |
download | gdb-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.
Diffstat (limited to 'include/nlm')
-rw-r--r-- | include/nlm/ChangeLog | 6 | ||||
-rw-r--r-- | include/nlm/external.h | 12 | ||||
-rw-r--r-- | include/nlm/internal.h | 15 |
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 |