summaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-02-04 08:47:56 +0000
committerTristan Gingold <gingold@adacore.com>2009-02-04 08:47:56 +0000
commitcf1061c036950e2c75d7520eb33d7a1618e3a4ef (patch)
tree770550733f16a467d1ec6394a36d87b1ad58ca8a /gdb/solib-darwin.h
parent7a848be1e44cec4b230c0a1d417953691d71558c (diff)
downloadbinutils-gdb-cf1061c036950e2c75d7520eb33d7a1618e3a4ef.tar.gz
2009-02-04 Tristan Gingold <gingold@adacore.com>
* machoread.c (macho_symfile_read): Read minsymtab also from shared libraries. (macho_symfile_read): Try to read dwarf2 frame info from main object file, but not from OSO files. (macho_symfile_offsets): Update section names for latest BFD changes. * i386-darwin-tdep.c (i386_darwin_init_abi): Call set_solib_ops. (x86_darwin_init_abi_64): Ditto. * solib-darwin.c: New file. * solib-darwin.h: New file. * configure.tgt: Add solib.o solib-darwin.o for Darwin.
Diffstat (limited to 'gdb/solib-darwin.h')
-rw-r--r--gdb/solib-darwin.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/solib-darwin.h b/gdb/solib-darwin.h
new file mode 100644
index 00000000000..3994c452dbe
--- /dev/null
+++ b/gdb/solib-darwin.h
@@ -0,0 +1,28 @@
+/* Handle shared libraries for GDB, the GNU Debugger.
+
+ Copyright (C) 2009 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef SOLIB_DARWIN_H
+#define SOLIB_DARWIN_H
+
+struct objfile;
+struct target_so_ops;
+
+extern struct target_so_ops darwin_so_ops;
+
+#endif /* solib-darwin.h */