Bug 374499 - LineNumber service does not map to source on 32 bits agent
Summary: LineNumber service does not map to source on 32 bits agent
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-16 09:47 EDT by patrice guillemot CLA
Modified: 2013-06-05 05:42 EDT (History)
0 users

See Also:


Attachments
mthread binary (9.99 KB, application/octet-stream)
2012-03-16 09:47 EDT, patrice guillemot CLA
no flags Details
mthread objdump (20.82 KB, application/octet-stream)
2012-03-16 09:48 EDT, patrice guillemot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description patrice guillemot CLA 2012-03-16 09:47:17 EDT
Created attachment 212786 [details]
mthread binary

On 32 bits agent/program, the lineNumber service cannot get the source mapping for an address in main() routine range for the main thread context. It returns None.

*** how to reproduce ***

- start a 32 bit tcf agent.
- start the attached mthread program built for 32 bits.
- interrupt all threads
- attach to main thread
- get the source line number for startAddress = 0x8048835, endAddress=0x8048836 (before the call to sleep()) => returns None
Comment 1 patrice guillemot CLA 2012-03-16 09:48:00 EDT
Created attachment 212787 [details]
mthread objdump
Comment 2 patrice guillemot CLA 2012-03-16 10:04:44 EDT
Previous addresses are bad.
Right addresses of mapToSource call are : 
startAddress=0x804883a, endAddress=0x804883b
Comment 3 Eugene Tarassov CLA 2012-03-16 15:01:50 EDT
Oops, regression from fix for Bug 374100.
Fixed.
Thanks!