Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - An error happen when running on gdb: Page 1 of 4 (4 Items)
   
An error happen when running on gdb  

An error happen when running on gdb.

 

At now, We try to run a application program as called(‘pacrun’).

And loading onto gdb via ‘gdb pacrun’,

 And next simply executing the application.(please see below attached)

 But it did not work, and appeared message as below.

 

The message of __i686.get_pc_thunk.cx is used move program counter to resister while manipulate global variables.

In this case probably thought  same reason.

 

Please let us know surround information and cause of did not run.

Regards.

 

--------------------------------------------------------------------

gdb version 6.8 qnx-nto 347[i386-pc-nto-qnx6.4.0

gcc version 4.3.3

cpu-type: x86

---------------------------------------------------------------------

# gdb pacrun

GNU gdb 6.8 qnx-nto (rev. 347)

Copyright (C) 2008 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

and "show warranty" for details.

This GDB was configured as "i386-pc-nto-qnx6.4.0"...

(gdb) run

Starting program: /root/pac/Unit/Release/bin/pacrun

[New process 88096801]

 

Program received signal 0, Signal 0.

0xb0319254 in __i686.get_pc_thunk.cx () from /usr/qnx641/target/qnx6/x86/lib/libc.so.3

(gdb) continue

Continuing.

 

Program received signal 0, Signal 0.

0xb0319254 in __i686.get_pc_thunk.cx () from /usr/qnx641/target/qnx6/x86/lib/libc.so.3