From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14069 invoked by alias); 17 Jul 2012 18:12:36 -0000 Received: (qmail 14058 invoked by uid 22791); 17 Jul 2012 18:12:34 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 17 Jul 2012 18:12:21 +0000 Received: from telerig.nabble.com ([192.168.236.162]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SrCFw-0005Sj-B4 for gdb@sourceware.org; Tue, 17 Jul 2012 11:12:20 -0700 Message-ID: <34175274.post@talk.nabble.com> Date: Tue, 17 Jul 2012 18:12:00 -0000 From: RenatoLima To: gdb@sourceware.org Subject: Address syscall functions (HPUX) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00040.txt.bz2 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 = {} 0x9a9b70 *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 = {} 0x416aee0 , 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.