adb(1) User Commands adb(1)NAME
adb - general-purpose debugger
SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]]
DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the
execution of programs.
The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used
to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete
backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular
Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by
default when the adb link is executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdb |
+-----------------------------+-----------------------------+
SEE ALSO mdb(1), attributes(5)
Solaris Modular Debugger Guide
SunOS 5.10 19 Aug 2003 adb(1)
Check Out this Related Man Page
adb(1) User Commands adb(1)NAME
adb - general-purpose debugger
SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]]
DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the
execution of programs.
The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used
to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete
backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular
Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by
default when the adb link is executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdb |
+-----------------------------+-----------------------------+
SEE ALSO mdb(1), attributes(5)
Solaris Modular Debugger Guide
SunOS 5.10 19 Aug 2003 adb(1)
Hi,
How does a debugger(like adb,dbx,gdb) use a core to get information like stack trace for the users . Is there any link where i can know more on this.
rgds
Surya
p.s:
Does a debugger(especially source level debuggers like gdb,dbx) require a core at all for debugging. What is the use of... (1 Reply)
Hi,
When i start the Debugger i get this warning:
xldb WARNING: /usr/lpp/xlC/lib/libC.a(ansi_32.o) has been stripped.
anyone know what this warning means?
xldb is a Debugger under AIX.
Lazzar (2 Replies)
Does anyone know any tools or how to really get something out of a core file.
I can use strings and look for certain things like out of memory.
I am trying to use adb but I can't make heads or tails from it. I guess it is my lack of know how with the adb/mdb debugger.
anything would... (3 Replies)
Hi,
Does anyone have a link to where I can download the HP-UX 11i version UNIX ud utility for converting ascii test files.
I have searched the net and HP website including here and can't seem to find any good links.
Help appreciated.
thanks
bud (1 Reply)
I've always been accustomed to setting certain kernel parameters in the /etc/system file. However, with Solaris 10, they have created the resource control utility to set these values.
I've set the value for project.max-shm-memory to 4gb with the following command:
prctl -n... (2 Replies)
Hi,
I'm trying to debug my gcc compiled code on my HPUX 11.23 (Itanium).
I searched the machine to find something that looks like a compiler, and what I found was :
adb (a bit unfriendly for debugging)
kwdb (I understand this is a kernel debugger)
gdb32
gdb64
gdbpa
When I run either... (0 Replies)
i am getting segmentation fault (core dumped)
i tried following things but couldn't understand what is wrong with my prog and where the problem is....
i have only adb debugger available on solaris....
so plz help
bash-3.00$ pstack core
core 'core' of 765: ./mod_generalised_tapinread... (4 Replies)
Hello ,
I use Solaris 5.10 . I have huge core file , 48 GB , resulted from an application that was running and got crashed with SIGSEGV.
On my system only mdb works. Please help me to retrieve the stack trace from this core file.
I am novice to mdb and its nuaunces. Please help me with... (2 Replies)
Dear Gurus,
I m facing memory leakage problem that leads to core dump.
I used following debugger mdb, gdb, pstack but not much useful.
I need where the exact reason for core.Any debugger is available.
My os is Sun solaris
Thanks in advance!!!!! (2 Replies)
1. What I am doing?
Building a DOS .bat file that will root my Droid 2 phone using adb commands in the .bat file. (Just for the fun of it and to help me learn "stuff".)
2. Problem:
Here are the problem steps to accomplish this task manually in an adb shell:
adb shell (Prompt is $)
cd... (2 Replies)
Hi,
I posted my problem in Solaris forum, but I think, I am expecting a script, which should solve my purpose. I am not a scripting person, so need help here.
I am on Solaris 10, in failsafe mode. Manually I run format command and it takes me to options, I pick "repair" and enter, it waits... (24 Replies)