projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change delegation for to_read_description
[deliverable/binutils-gdb.git]
/
gdb
/
minidebug.c
diff --git
a/gdb/minidebug.c
b/gdb/minidebug.c
index 7b1463b74c96212136ff767cc491c3735f92088f..a4907b2c028a66aa28cc6b26c89936a937c6d8ee 100644
(file)
--- a/
gdb/minidebug.c
+++ b/
gdb/minidebug.c
@@
-1,6
+1,6
@@
/* Read MiniDebugInfo data from an objfile.
/* Read MiniDebugInfo data from an objfile.
- Copyright (C) 2012-201
3
Free Software Foundation, Inc.
+ Copyright (C) 2012-201
4
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-19,7
+19,7
@@
#include "defs.h"
#include "gdb_bfd.h"
#include "defs.h"
#include "gdb_bfd.h"
-#include
"gdb_string.h"
+#include
<string.h>
#include "symfile.h"
#include "objfiles.h"
#include "gdbcore.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdbcore.h"
@@
-226,6
+226,8
@@
lzma_close (struct bfd *nbfd,
lzma_index_end (lstream->index, &gdb_lzma_allocator);
xfree (lstream->data);
xfree (lstream);
lzma_index_end (lstream->index, &gdb_lzma_allocator);
xfree (lstream->data);
xfree (lstream);
+
+ /* Zero means success. */
return 0;
}
return 0;
}
@@
-267,8
+269,8
@@
find_separate_debug_file_in_section (struct objfile *objfile)
return NULL;
#ifdef HAVE_LIBLZMA
return NULL;
#ifdef HAVE_LIBLZMA
- abfd = gdb_bfd_openr_iovec (objfile
->name, gnutarget, lzma_open, sectio
n,
- lzma_pread, lzma_close, lzma_stat);
+ abfd = gdb_bfd_openr_iovec (objfile
_name (objfile), gnutarget, lzma_ope
n,
+
section,
lzma_pread, lzma_close, lzma_stat);
if (abfd == NULL)
return NULL;
if (abfd == NULL)
return NULL;
This page took
0.036113 seconds
and
4
git commands to generate.