Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Side by Side Diff: gdb/solib-svr4.h

Issue 10411068: Add hooks for mapping DSO library names. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@nacl-stub
Patch Set: remove free_so_name prototype Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | gdb/solib-svr4.c » ('j') | gdb/solib-svr4.c » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Handle shared libraries for GDB, the GNU Debugger. 1 /* Handle shared libraries for GDB, the GNU Debugger.
2 2
3 Copyright (C) 2000, 2004, 2006-2012 Free Software Foundation, Inc. 3 Copyright (C) 2000, 2004, 2006-2012 Free Software Foundation, Inc.
4 4
5 This file is part of GDB. 5 This file is part of GDB.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or 9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 }; 64 };
65 65
66 /* set_solib_svr4_fetch_link_map_offsets() is intended to be called by 66 /* set_solib_svr4_fetch_link_map_offsets() is intended to be called by
67 a <arch>_gdbarch_init() function. It is used to establish an 67 a <arch>_gdbarch_init() function. It is used to establish an
68 architecture specific link_map_offsets fetcher for the architecture 68 architecture specific link_map_offsets fetcher for the architecture
69 being defined. */ 69 being defined. */
70 70
71 extern void set_solib_svr4_fetch_link_map_offsets 71 extern void set_solib_svr4_fetch_link_map_offsets
72 (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void)); 72 (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void));
73 73
74 extern void set_solib_svr4_map_so_name
75 (struct gdbarch *gdbarch, const char* (*map_so_name) (char*));
eaeltsin 2012/05/22 13:07:20 style: const char *(*map_so_name)
halyavin 2012/05/22 13:19:37 Done.
76
74 /* This function is called by thread_db.c. Return the address of the 77 /* This function is called by thread_db.c. Return the address of the
75 link map for the given objfile. */ 78 link map for the given objfile. */
76 extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile); 79 extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile);
77 80
78 /* Fetch (and possibly build) an appropriate `struct link_map_offsets' 81 /* Fetch (and possibly build) an appropriate `struct link_map_offsets'
79 for ILP32 and LP64 SVR4 systems. */ 82 for ILP32 and LP64 SVR4 systems. */
80 extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void); 83 extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
81 extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void); 84 extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
82 85
83 /* Return 1 if PC lies in the dynamic symbol resolution code of the 86 /* Return 1 if PC lies in the dynamic symbol resolution code of the
84 SVR4 run time loader. */ 87 SVR4 run time loader. */
85 int svr4_in_dynsym_resolve_code (CORE_ADDR pc); 88 int svr4_in_dynsym_resolve_code (CORE_ADDR pc);
86 89
87 #endif /* solib-svr4.h */ 90 #endif /* solib-svr4.h */
OLDNEW
« no previous file with comments | « no previous file | gdb/solib-svr4.c » ('j') | gdb/solib-svr4.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698