Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2009, 04:21 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
gdb doesn't show correct string data

I am in Linux using gdb on an .exe file and trying to get it to print out the value of a string.
I used p /x nameofregister to get the address, then x /s address to get the string, but what I get comes out like: "\204 (followed by a bunch of strange symbols)"
This happens even to data that I know is a string with just regular text. Is there a command to convert this into something useful? Or maybe a different command I can use?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
any gdb script to parse string? jackandking Linux - Software 3 12-07-2008 11:19 PM
Oracle toald can't show me the data wanghao Linux - Server 1 05-27-2008 09:01 AM
put_user doesn't pass the correct data rojak Linux - General 0 08-15-2006 04:03 AM
tcpdump wont show the correct amount of traffic in single port scan? positrox Linux - Networking 0 08-05-2006 09:04 AM
why dont seach results show search string? Fascistchicken LQ Suggestions & Feedback 6 04-25-2004 02:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration