![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| login incorrect | espace1000 | UNIX for Dummies Questions & Answers | 2 | 08-22-2008 03:48 AM |
| user name is incorrect | keithailor@comc | Forum Support Area for Unregistered Users & Account Problems | 1 | 03-31-2007 12:09 PM |
| memory configuration incorrect? | eb222 | UNIX for Advanced & Expert Users | 1 | 03-22-2007 03:44 PM |
| DISPLAY variable set to IP address on login | jcorriher | Shell Programming and Scripting | 4 | 05-07-2004 01:47 PM |
| Incorrect Directory Name | jand102821 | UNIX for Dummies Questions & Answers | 1 | 06-19-2002 01:35 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
On using GDB debugger on different executables, the address displayed for the symbols seem incorrect, as it shows me the same address in each prorgram, run simultaneoulsy. eg: Program: linkmain1.c Breakpoint 1, main () at linkmain1.c:14 14 printf("In linkmain1.c\n"); (gdb) info addr main Symbol "main" is a function at address 0x10780. Program: linkmain.c Breakpoint 1, main () at linkmain.c:14 14 printf("In linkmain.c\n"); (gdb) info addr main Symbol "main" is a function at address 0x10780. If you see, the address for main is displayed the same, in each executable. I was basically trying to check if a shared library with PIC is actually shared between processes. Please advice, on the above, or if i am making a mistake BTW: I am using GDB on solaris |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|