aboutsummaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 16:53:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 16:53:32 +0000
commit0685d95ff4b448c413fe9717c45116820f35ac58 (patch)
treec7adafcc1119e58e3ea529f719c9013362d5749b /gdb/corelow.c
parent95a98b5efa7b4ca7bffb156f1af26235611a3923 (diff)
downloadfsf-binutils-gdb-0685d95ff4b448c413fe9717c45116820f35ac58.zip
fsf-binutils-gdb-0685d95ff4b448c413fe9717c45116820f35ac58.tar.gz
fsf-binutils-gdb-0685d95ff4b448c413fe9717c45116820f35ac58.tar.bz2
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it. * Callers to bfd_*open*: Pass gnutarget instead of NULL as target. * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not putenv. * symtab.c (decode_line_1): Give error on unmatched single quote.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index c2ea30c..dfafe49 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -114,7 +114,7 @@ core_open (filename, from_tty)
if (scratch_chan < 0)
perror_with_name (filename);
- temp_bfd = bfd_fdopenr (filename, NULL, scratch_chan);
+ temp_bfd = bfd_fdopenr (filename, gnutarget, scratch_chan);
if (temp_bfd == NULL)
{
perror_with_name (filename);