- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tell adb to load libs from alt dirs
Operating System - HP-UX
1748254
Members
4046
Online
108760
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 12:22 PM
03-04-2011 12:22 PM
Tell adb to load libs from alt dirs
I have a core file generated on an HP IA64 machine. I have the executable and shared objects related to the core file. I am trying to get the call stack using the adb debugger but the core file was generated on a machine I don't have access to, so the shared objects are in a different location than they are at the time the core file was generated.
I know if I have a similar situation using gdb I would do the following:
machine:user> gdb
(gdb) set solib-search-path path1:path2:path3
(gdb) file
(gdb) core
Where the setting of solib-search-path tells gdb where to load shared libraries from.
Is there an equivalent if I'm using adb?
I know if I have a similar situation using gdb I would do the following:
machine:user> gdb
(gdb) set solib-search-path path1:path2:path3
(gdb) file
(gdb) core
Where the setting of solib-search-path tells gdb where to load shared libraries from.
Is there an equivalent if I'm using adb?
- Tags:
- adb
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2011 05:48 PM
03-04-2011 05:48 PM
Re: Tell adb to load libs from alt dirs
>I am trying to get the call stack using the adb debugger
Don't even think of using adb, use gdb. Just download the latest.
>but the core file was generated on a machine I don't have access to
This is where gdb's packcore will help.
>using gdb I would do the following:
(gdb) set solib-search-path path1:path2:path3
That seems too hard. unpackcore or exporting GDB_SHLIB_PATH will be easier.
Don't even think of using adb, use gdb. Just download the latest.
>but the core file was generated on a machine I don't have access to
This is where gdb's packcore will help.
>using gdb I would do the following:
(gdb) set solib-search-path path1:path2:path3
That seems too hard. unpackcore or exporting GDB_SHLIB_PATH will be easier.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP