diff options
author | Soeren Sandmann <sandmann@redhat.com> | 2006-03-04 03:28:26 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2006-03-04 03:28:26 +0000 |
commit | ebb772876861246dfe3fd05c3078f6884a38fa27 (patch) | |
tree | ff11dc121018f9a00cd7235cba80cc6659641ee5 /binfile.h | |
parent | 0d6d997f4a57a44701542830aacf848f6e151dcc (diff) |
Check that the inodes match.
Fri Mar 3 22:28:03 2006 Soeren Sandmann <sandmann@redhat.com>
* process.c (process_lookup_symbol): Check that the inodes match.
* binfile.c (read_symbols): Read the inode of the file
* binfile.c (read_symbols): Close the bfd if the symbol table
could not be read.
Diffstat (limited to 'binfile.h')
-rw-r--r-- | binfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ #define BIN_FILE_H #include <glib.h> +#include <sys/types.h> typedef struct BinFile BinFile; typedef struct Symbol Symbol; @@ -35,6 +36,7 @@ BinFile * bin_file_new (const char *filename); void bin_file_free (BinFile *bin_file); const Symbol *bin_file_lookup_symbol (BinFile *bin_file, gulong address); +ino_t bin_file_get_inode (BinFile *bin_file); /* Symbol */ struct Symbol |