feature request: ntstatus

Hi everyone,

You know, I’ve been using windbg for a while now, and I think it has
improved tremendously since it’s inception. I can remember when it was
considered crazy to debug with it :wink:

So my feature request is:

Get the ntstatus reason and define for ntstatus type variables!

It would probably be fairly easy for the windows guys to do this in
windbg, (especially since we declare the thing NTSTATUS anyway) rather
than me having to recompile my utility (or dread - open ntstatus.h) to
find out what it means…

Yeah, I know Ntstatus is redefined, so you can’t use it’s type, but at
least if they hade some widget like in vc.net where you have the error
lookup, that would already be cool :stuck_out_tongue:

I’d rather forget that c000009A means low ressources or that c0000022
means access denied :wink:

Anyhow, give it some consideration :wink:

Steve G.

Hello Steve,

* On Tue, Feb 22, 2005 at 01:30:01AM -0500 Steve Goddyn wrote:

Get the ntstatus reason and define for ntstatus type variables!

Did you ever try “!error c000009a”?

HTH,
Spiro.


Spiro R. Trikaliotis
http://www.trikaliotis.net/

“Spiro Trikaliotis” a écrit dans le message
news:…
> Hello Steve,
>
> * On Tue, Feb 22, 2005 at 01:30:01AM -0500 Steve Goddyn wrote:
>
> > Get the ntstatus reason and define for ntstatus type variables!
>
> Did you ever try “!error c000009a”?

Or “!error @@(rc)” or whatever local variable name you use. You save the
typing of 2 letters if you use a 2 letters status variable :slight_smile:

M-A

Standard kdext:

kd> !error c000009A
Error code: (NTSTATUS) 0xc000009a (3221225626) - Insufficient system
resources exist to complete the API.

I guess my extension is more convenience for coder.
kd> !ntstatus c000009A
STATUS_INSUFFICIENT_RESOURCES: 0xc000009aL -1073741670
Severity Group: STATUS_SEVERITY_ERROR (0x3)
Facility Group: Unknown facility group (0x0)

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Spiro Trikaliotis [mailto:xxxxx@trikaliotis.net]
Sent: February 22, 2005 2:00 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] feature request: ntstatus

Hello Steve,

* On Tue, Feb 22, 2005 at 01:30:01AM -0500 Steve Goddyn wrote:

> Get the ntstatus reason and define for ntstatus type variables!

Did you ever try “!error c000009a”?

HTH,
Spiro.


Spiro R. Trikaliotis
http://www.trikaliotis.net/


You are currently subscribed to windbg as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hello Calvin,

* On Tue, Feb 22, 2005 at 11:05:25AM -0500 Calvin Guan wrote:

I guess my extension is more convenience for coder.
kd> !ntstatus c000009A
STATUS_INSUFFICIENT_RESOURCES: 0xc000009aL -1073741670
Severity Group: STATUS_SEVERITY_ERROR (0x3)
Facility Group: Unknown facility group (0x0)

Is this extension available anywhere?

Regards,
Spiro.


Spiro R. Trikaliotis xxxxx@trikaliotis.net
University of Magdeburg http://www.trikaliotis.net/
IVS.EUK, P.O.Box 4120 Phone: +49-391-67-12566
39016 Magdeburg, Germany Fax: +49-391-67-11161

It’s available on my hard disk-:slight_smile: I can send you a binary copy if you want.

I add cmds to my extension whenever I found the stock command isn’t
available or inconvenient. It has some neat commands for device node, device
tree, device stack, object database, FSD mounting info and more…

Unfortunately, I don’t have any documentation for it. Sometime I have to dig
into the source code to recall what parameter I have to feed.

I’m working on notes for my cmds and constantly enhancing his power whenever
I found necessary. Hopefully I can make it available to the public for free
and others can benefit from it.

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Spiro Trikaliotis [mailto:xxxxx@trikaliotis.net]
Sent: February 23, 2005 3:05 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] feature request: ntstatus

Hello Calvin,

* On Tue, Feb 22, 2005 at 11:05:25AM -0500 Calvin Guan wrote:

> I guess my extension is more convenience for coder.
> kd> !ntstatus c000009A
> STATUS_INSUFFICIENT_RESOURCES: 0xc000009aL -1073741670
> Severity Group: STATUS_SEVERITY_ERROR (0x3)
> Facility Group: Unknown facility group (0x0)

Is this extension available anywhere?

Regards,
Spiro.


Spiro R. Trikaliotis xxxxx@trikaliotis.net
University of Magdeburg http://www.trikaliotis.net/
IVS.EUK, P.O.Box 4120 Phone: +49-391-67-12566
39016 Magdeburg, Germany Fax: +49-391-67-11161


You are currently subscribed to windbg as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Or, let us know what you’ve added, and send feature requests to
xxxxx@microosft.com. We’ll happily add them to the debugger package
if we think they are widely consumable.

Jason

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin Guan
Sent: Wednesday, February 23, 2005 8:44 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] feature request: ntstatus

It’s available on my hard disk-:slight_smile: I can send you a binary copy if you
want.

I add cmds to my extension whenever I found the stock command isn’t
available or inconvenient. It has some neat commands for device node,
device
tree, device stack, object database, FSD mounting info and more…

Unfortunately, I don’t have any documentation for it. Sometime I have to
dig
into the source code to recall what parameter I have to feed.

I’m working on notes for my cmds and constantly enhancing his power
whenever
I found necessary. Hopefully I can make it available to the public for
free
and others can benefit from it.

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Spiro Trikaliotis [mailto:xxxxx@trikaliotis.net]
Sent: February 23, 2005 3:05 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] feature request: ntstatus

Hello Calvin,

* On Tue, Feb 22, 2005 at 11:05:25AM -0500 Calvin Guan wrote:

> I guess my extension is more convenience for coder.
> kd> !ntstatus c000009A
> STATUS_INSUFFICIENT_RESOURCES: 0xc000009aL -1073741670
> Severity Group: STATUS_SEVERITY_ERROR (0x3)
> Facility Group: Unknown facility group (0x0)

Is this extension available anywhere?

Regards,
Spiro.


Spiro R. Trikaliotis xxxxx@trikaliotis.net
University of Magdeburg http://www.trikaliotis.net/
IVS.EUK, P.O.Box 4120 Phone: +49-391-67-12566
39016 Magdeburg, Germany Fax: +49-391-67-11161


You are currently subscribed to windbg as: xxxxx@ati.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Calvin,

OSR will post tools, perhaps you could make this available for the
rest of us through them.

Don Burn

“Calvin Guan” wrote in message news:xxxxx@windbg…
> It’s available on my hard disk-:slight_smile: I can send you a binary copy if you
> want.
>
> I add cmds to my extension whenever I found the stock command isn’t
> available or inconvenient. It has some neat commands for device node,
> device
> tree, device stack, object database, FSD mounting info and more…
>
> Unfortunately, I don’t have any documentation for it. Sometime I have to
> dig
> into the source code to recall what parameter I have to feed.
>
> I’m working on notes for my cmds and constantly enhancing his power
> whenever
> I found necessary. Hopefully I can make it available to the public for
> free
> and others can benefit from it.
>
> -
> Calvin Guan Software Engineer
> ATI Technologies Inc. www.ati.com
>

Would OSR accept tools without source code?

Since some cmds are specific to commercial products. You know what I’m
saying…

Calvin

Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com

-----Original Message-----
From: Don Burn [mailto:xxxxx@acm.org]
Sent: February 23, 2005 12:03 PM
To: Kernel Debugging Interest List
Subject: Re:[windbg] feature request: ntstatus

Calvin,

OSR will post tools, perhaps you could make this available for the
rest of us through them.

Don Burn

“Calvin Guan” wrote in message news:xxxxx@windbg…
> > It’s available on my hard disk-:slight_smile: I can send you a binary copy if you
> > want.
> >
> > I add cmds to my extension whenever I found the stock command isn’t
> > available or inconvenient. It has some neat commands for device node,
> > device
> > tree, device stack, object database, FSD mounting info and more…
> >
> > Unfortunately, I don’t have any documentation for it. Sometime I have to
> > dig
> > into the source code to recall what parameter I have to feed.
> >
> > I’m working on notes for my cmds and constantly enhancing his power
> > whenever
> > I found necessary. Hopefully I can make it available to the public for
> > free
> > and others can benefit from it.
> >
> > -
> > Calvin Guan Software Engineer
> > ATI Technologies Inc. www.ati.com
> >
>
>
>
> —
> You are currently subscribed to windbg as: xxxxx@ati.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com