diff options
author | John Gilmore <gnu@cygnus> | 1991-09-04 07:52:46 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-09-04 07:52:46 +0000 |
commit | 12e7087f536972db65252d9db6c04cf8441724ff (patch) | |
tree | 6ba2be18873bade4e6644421ceb7b03836f270fb /bfd/aoutf1.h | |
parent | bdbd5f508635fa9581f85bd6ba7ec3620970674d (diff) | |
download | gdb-12e7087f536972db65252d9db6c04cf8441724ff.zip gdb-12e7087f536972db65252d9db6c04cf8441724ff.tar.gz gdb-12e7087f536972db65252d9db6c04cf8441724ff.tar.bz2 |
Allow GDB to patch object files.
Makefile.in: Add crude dependencies.
Diffstat (limited to 'bfd/aoutf1.h')
-rw-r--r-- | bfd/aoutf1.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/aoutf1.h b/bfd/aoutf1.h index 27ac892..50393df 100644 --- a/bfd/aoutf1.h +++ b/bfd/aoutf1.h @@ -305,7 +305,7 @@ struct internal_sunos_core { static void DEFUN(swapcore_sun3,(abfd, ext, intcore), bfd *abfd AND - char *ext; + char *ext AND struct internal_sunos_core *intcore) { struct external_exec exec_bytes; @@ -336,7 +336,7 @@ DEFUN(swapcore_sun3,(abfd, ext, intcore), static void DEFUN(swapcore_sparc,(abfd, ext, intcore), bfd *abfd AND - char *ext; + char *ext AND struct internal_sunos_core *intcore) { struct external_sparc_core *extcore = (struct external_sparc_core *)ext; @@ -483,10 +483,10 @@ DEFUN(sunos4_core_file_p,(abfd), core_regsec (abfd)->name = ".reg"; core_reg2sec (abfd)->name = ".reg2"; - core_stacksec (abfd)->flags = SEC_ALLOC + SEC_LOAD; - core_datasec (abfd)->flags = SEC_ALLOC + SEC_LOAD; - core_regsec (abfd)->flags = SEC_ALLOC; - core_reg2sec (abfd)->flags = SEC_ALLOC; + core_stacksec (abfd)->flags = SEC_ALLOC + SEC_LOAD + SEC_HAS_CONTENTS; + core_datasec (abfd)->flags = SEC_ALLOC + SEC_LOAD + SEC_HAS_CONTENTS; + core_regsec (abfd)->flags = SEC_ALLOC + SEC_HAS_CONTENTS; + core_reg2sec (abfd)->flags = SEC_ALLOC + SEC_HAS_CONTENTS; core_stacksec (abfd)->size = core->c_ssize; core_datasec (abfd)->size = core->c_dsize; |