diff options
Diffstat (limited to 'gdb/python/py-objfile.c')
-rw-r--r-- | gdb/python/py-objfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/python/py-objfile.c b/gdb/python/py-objfile.c index 82df4b2..1972fb5 100644 --- a/gdb/python/py-objfile.c +++ b/gdb/python/py-objfile.c @@ -437,7 +437,6 @@ objfpy_add_separate_debug_file (PyObject *self, PyObject *args, PyObject *kw) static char *keywords[] = { "file_name", NULL }; objfile_object *obj = (objfile_object *) self; const char *file_name; - int symfile_flags = 0; OBJFPY_REQUIRE_VALID (obj); @@ -448,7 +447,7 @@ objfpy_add_separate_debug_file (PyObject *self, PyObject *args, PyObject *kw) { bfd *abfd = symfile_bfd_open (file_name); - symbol_file_add_separate (abfd, file_name, symfile_flags, obj->objfile); + symbol_file_add_separate (abfd, file_name, 0, obj->objfile); } CATCH (except, RETURN_MASK_ALL) { |