public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: RenatoLima <rlima11@hotmail.com>
To: gdb@sourceware.org
Subject: Address syscall functions (HPUX)
Date: Tue, 17 Jul 2012 18:12:00 -0000	[thread overview]
Message-ID: <34175274.post@talk.nabble.com> (raw)


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.

                 reply	other threads:[~2012-07-17 18:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34175274.post@talk.nabble.com \
    --to=rlima11@hotmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).