[rvm-research] How can I debug rvm with GDB?
beswkwangbo <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
I have built jikes rvm in Ubuntu 14.04 64-bit successfully. The ant properties is as below :
host.name=x86_64-linux
target.name=x86_64-linux
config.name=development
patch.name=""
component.dir=/home/nightwish/projects/jikesrvm-3.1.3/components
dist.dir=/home/nightwish/projects/jikesrvm-3.1.3/dist
build.dir=/home/nightwish/projects/jikesrvm-3.1.3/temp
components.cache.dir=/home/nightwish/projects/jikesrvm-3.1.3/download
And I can run rvm (e.g. "./rvm -version" or "./rvm -classpath /code Hello" ).
But I cannot debug rvm with zhe command : "./rvm -gdb -version".
The output information of gdb is as below :
nightwish@nightwish:~/projects/jikesrvm-3.1.3/dist/development_x86_64-linux$ ./rvm -gdb -version
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./JikesRVM...done.
./gdb.commandlineArgs:1: Error in sourced command file:
Argument must be preceded by space.
(gdb)
I wonder how can I debug rvm ?
Thank you.
Best regrads.
Bo.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers