This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Address syscall functions (HPUX)


Hello, 
  I am using GDB 7.4.1 under HPUX 11.23 (IA64) ("This GDB was configured as
"ia64-hp-hpux11.23"."). I am trying to obtain the address of syscalls but I
am not able to in HPUX...In linux, I would use the following commands: 

*LINUX 
(gdb) p exit 
$2 = {<text variable, no debug info>} 0x9a9b70 <exit> 

*In HP-UX I get: 
(gdb) p exit 
No symbol "exit" in current context. 

Any input would be appreciated. Thank you. 

PS: If I load libc directly into the debugger ($ gdb
/usr/lib/hpux32/libc.so.1), I can find it... 
(gdb) p exit 
$1 = {<text variable, no debug info>} 0x416aee0 <exit>, but shouldn't it be
into the process memory 
space as well ? 

Thanks
-- 
View this message in context: http://old.nabble.com/Address-syscall-functions-%28HPUX%29-tp34175274p34175274.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]