Bug 411389 - Stepping Over a C line does not work with Symbol Proxy
Summary: Stepping Over a C line does not work with Symbol Proxy
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.2   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 11:18 EDT by Renan Le Padellec CLA
Modified: 2014-02-25 05:56 EST (History)
0 users

See Also:


Attachments
Config.h file of the TCF Agent to reproduce the issue (8.66 KB, text/x-chdr)
2013-06-26 08:56 EDT, Renan Le Padellec CLA
eugene: iplog-
Details
binary to reproduce the issue (178.92 KB, application/octet-stream)
2013-06-26 09:02 EDT, Renan Le Padellec CLA
eugene: iplog-
Details
Source code of the binary (1.45 KB, text/plain)
2013-06-26 09:03 EDT, Renan Le Padellec CLA
eugene: iplog-
Details
Header for the source code (140 bytes, text/plain)
2013-06-26 09:04 EDT, Renan Le Padellec CLA
eugene: iplog-
Details
Log of commands send by the client (79.39 KB, text/plain)
2013-06-26 09:05 EDT, Renan Le Padellec CLA
eugene: iplog-
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renan Le Padellec CLA 2013-06-21 11:18:15 EDT

    
Comment 1 Renan Le Padellec CLA 2013-06-21 11:24:12 EDT
I've configured the agent with the Symbol proxy and use the value-add to get Symbol information. In this configuration, I'm unable to step over a C line even if the debuggee program has the debug information.
Comment 2 Renan Le Padellec CLA 2013-06-21 11:27:13 EDT
It seems to be a side effect of commit:

commit 88c11eb62cb4526601c2014bb5fa0bf653c563b2
Author: Eugene Tarassov <eugene.tarassov@xilinx.com>
Date:   Fri Jun 7 14:19:47 2013 -0700

    TCF Agent: Stack Trace service implementation changed to allow partial and incremental stack tracing
Comment 3 Eugene Tarassov CLA 2013-06-25 13:28:11 EDT
I cannot reproduce. I works fine for me.
Comment 4 Renan Le Padellec CLA 2013-06-26 08:56:43 EDT
Created attachment 232784 [details]
Config.h file of the TCF Agent to reproduce the issue
Comment 5 Renan Le Padellec CLA 2013-06-26 09:02:38 EDT
Created attachment 232786 [details]
binary to reproduce the issue
Comment 6 Renan Le Padellec CLA 2013-06-26 09:03:48 EDT
Created attachment 232787 [details]
Source code of the binary
Comment 7 Renan Le Padellec CLA 2013-06-26 09:04:17 EDT
Created attachment 232789 [details]
Header for the source code
Comment 8 Renan Le Padellec CLA 2013-06-26 09:05:22 EDT
Created attachment 232790 [details]
Log of commands send by the client
Comment 9 Renan Le Padellec CLA 2013-06-26 09:16:03 EDT
(In reply to comment #3)
> I cannot reproduce. I works fine for me.

Hi Eugene,

It seems that the behaviour is different for x86 and x86_64 machines. My original report was based on test running on a x86_64 machine. That said being, I was also able to reproduce it on a x86 machine with the attached binary.

To reproduce the issue on X86, I've followed these steps:

 - Connect the debugger to the agent through the Value-Add
 - Debug the pretty_print.out binary
 - Set a breakpoint on main
 - Continue the process.
 - Step into test_pretty_print
 - Once in test_pretty_print() routine, the Step Over does not work.

On X86-64, you do not have to enter in test_pretty_print(), stepping over test_pretty_print() is enough to reproduce the issue.
Comment 10 Eugene Tarassov CLA 2013-06-26 18:59:15 EDT
Fixed.
Thanks!