Discussion:
softice equivalent in linux
(too old to reply)
karthik bala guru
2004-12-23 03:12:17 UTC
Permalink
Hi,
is there any debugger equivalent to softice in linux (other than GDB) ~??

karthik bala guru
Basile Starynkevitch [news]
2004-12-23 06:14:39 UTC
Permalink
Post by karthik bala guru
Hi,
is there any debugger equivalent to softice in linux (other than GDB) ~??
I don't know what is softice? Is is some Microsoft thingy? I never
used any Microsoft product (but do run Linux since 1993).

GDB is actually quite powerful. Did you read its documentation? Do you
know about its 'define' command?

There are good graphical wrappers above GDB. In particular ddd

Most Linux/x86 debuggers are wrappers above GDB. There is also UPS,
see http://ups.sourceforge.net/

What debugging feature do you want?
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France
Grant Edwards
2004-12-23 15:25:19 UTC
Permalink
Post by Basile Starynkevitch [news]
Post by karthik bala guru
is there any debugger equivalent to softice in linux (other
than GDB) ~??
I don't know what is softice?
IIRC, it's a debugger that can be used to debug Win32
kernel-mode code. If kernel-mode debugging is what the OP is
asking about, he should probably ask in c.o.l.d.s.
Post by Basile Starynkevitch [news]
GDB is actually quite powerful. Did you read its
documentation? Do you know about its 'define' command?
I don't think using the 'define' command helps you debug kernel
code. :)
Post by Basile Starynkevitch [news]
There are good graphical wrappers above GDB. In particular ddd
Most Linux/x86 debuggers are wrappers above GDB. There is also
UPS, see http://ups.sourceforge.net/
What debugging feature do you want?
I presume he wants kernel-mode, since that is the target market
for SoftIce. For user-mode, everybody in Win-land pretty much
uses MS<something>studio<something>.
--
Grant Edwards grante Yow! Don't SANFORIZE me!!
at
visi.com
b***@yahoo.com
2004-12-23 15:51:55 UTC
Permalink
yes,
infact, Edwards is correct... thatz what i am actually looking for !!!!

well,... do let me know.

Welll,,,, I got PICE as an equivalent to Softice.
I have to c it ("PICE development was dropped and taken over by another
linux geek...." as far as i read
and know ... ), so, r there anything else(robust and good) equivalent
to softice ???

Edward, Thatz it , HOWTO Kernel-mode debugging in linux (tool) !!
do post some tool-name/links,
karthik bala guru
Grant Edwards
2004-12-23 16:02:15 UTC
Permalink
Post by b***@yahoo.com
Edward, Thatz it , HOWTO Kernel-mode debugging in linux (tool)
!! do post some tool-name/links,
Mostly, one put's in a few strategic "printk()" calls, and then
one looks at code, looks at printk output, and thinks.
--
Grant Edwards grante Yow! I'm having
at a tax-deductible
visi.com experience! I need an
energy crunch!!
John Reiser
2004-12-23 16:34:43 UTC
Permalink
Post by Grant Edwards
Mostly, one put's in a few strategic "printk()" calls, and then
one looks at code, looks at printk output, and thinks.
Adventurous souls can try the UML patches [User Mode Linux],
which enable the direct execution of a large portion of the code
of [another] kernel in user mode.

I've gotten better mileage using qemu:
http://fabrice.bellard.free.fr/qemu/ which uses just-in-time binary
translation (and can emulate cross-platform.) Qemu has a special mode
for running Linux kernels that have been re-compiled with the kernel
base at 0x90000000 instead of 0xC0000000. Average speed is 1/10 to 1/4
of actual. Not all devices are available, but there are enough to make
progress: console, tty, vga, network, filesystems, sound.

--
Erik de Castro Lopo
2004-12-24 00:38:00 UTC
Permalink
Post by Grant Edwards
Post by Basile Starynkevitch [news]
Post by karthik bala guru
is there any debugger equivalent to softice in linux (other
than GDB) ~??
I don't know what is softice?
IIRC, it's a debugger that can be used to debug Win32
kernel-mode code. If kernel-mode debugging is what the OP is
asking about, he should probably ask in c.o.l.d.s.
Try Linice. Search http://freshmeat.net/

Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo ***@mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"The growing and dangerous intrusion of this new technology,
threatens an entire industry's economic vitality and future
security." -- Jack Valenti (MPAA president) on the video
cassette recorder, 1982.
b***@yahoo.com
2004-12-24 04:42:59 UTC
Permalink
wow,
Linice, is really excellent (just looking at pdf).

i went thru the pdf !! i have to try it out !!! ( I think, this is
really the Linux Softice )

visit http://www.linice.com/

Linice - A Linux Kernel Level Debugger
Not implemented commands --------> - just 22 commands left to be
ported from softice (Coooooooooooool !!)

I think, Linice does not have the driver studio .

BUT !!! BUT !!! , Is there a DRIVER STUDIO just as in Softice for Linux
??? is there any
tool similar to Driver Studio(with all the Driver Related Tools that
comes wih softice available in Linux
as a package/tool ??? )

Do let me know if there is any Driver Studio available in Linux just
like Softice Driver Studio !!!
links/tool-name plz !!


Do Let me know,
karthik bala guru
b***@yahoo.com
2004-12-26 10:39:43 UTC
Permalink
hello Dear_friends,
I received some mails stating 'I am unfriendly to this linux' ->
Truly, I am a LINUX LOVER.
But, i have worked with Softice Driver Studio and found it good.
So, I thought some Driver Development and Debugger tools should be
available in Linux Community for My Linux Driver Project .
So , I queried some equivalent Driver Development and Driver Debugging
tools in Linux. So, it could ease my
development work in some ways. I was not challenging/laughing at the
linux community by querying for a tool by comparing with
Softice . Once again, I am a linux lover from the days of my College.
Dont Take my words/query in the wrong sense friends.

Happy Christmas and New Year !! Happyyyyyyyyyyy Holidays !!
Thanx and Regards,
karthik bala guru
Jan Kandziora
2004-12-26 11:08:52 UTC
Permalink
Post by b***@yahoo.com
But, i have worked with Softice Driver Studio and found it good.
So, I thought some Driver Development and Debugger tools should be
available in Linux Community for My Linux Driver Project .
There are some useful tools to debug kernel code.

But for driver development in Linux, reading a book on the basics (e.g.
http://www.oreilly.com/catalog/linuxdrive2/index.html), then taking a
similar driver's source code and change it is a common practice. If you
understood enough, you likely can develop your own driver from scratch -
Hint: The build process is the hardest to manage in the beginning of your
efforts.

There *were* some attempts to use generic driver samples with linux,
like the LDDK, but all these attempts are more or less stalled because the
linux kernel develops much faster than those development kits.

Happy New Year.
--
Jan
Loading...