Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Problem with executing dsf-gdb JUnit tests

Hi all,

I am trying to execute JUnit tests for dsf-gdb from Eclipse. However I am getting following type of error for most of the tests:

!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2010-03-04 15:46:17.832
!MESSAGE Failed to execute MI command:
-break-insert -t main
Error message from debugger back end:
No symbol table is loaded.  Use the "file" command.
!STACK 0
java.lang.Exception: No symbol table is loaded.  Use the "file" command.
    at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.processMIOutput(AbstractMIControl.java:806)
    at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$RxThread.run(AbstractMIControl.java:645)

I am performing following steps:
1. Checked out cdt-all, dsf, dsf-gdb plugins from CVS HEAD.
2. Pre-requisite of the tests is that the gdb binary should have given names:

  • gdb.6.6
  • gdb.6.7
  • gdb.6.8
  • gdb.7.0

3. As per post from following link, test cases for gdb 6.8 are all passing.
http://old.nabble.com/DSF-GDB-JUnit-tests-td27533144.html
4. On my machine, the gdb binary is named "gdb" only. It is of 6.8 version.
5. Thus I added a link gdb.6.8 pointing to this gdb.
6. I have also included the path to this symbolic link in the PATH variable.
Some more information:
7. I am using eclipse Helios.
8. Number of tests to be executed is displayed as 136.


If anybody can provide me some pointers / guidance it would be of great help.

Thanks and Regards,
Sneha

 

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.


Back to the top