URL:
  <http://gna.org/patch/?1078>

                 Summary: expand GDB exceptionhandler
                 Project: Warzone Resurrection Project
            Submitted by: muggenhor
            Submitted on: Saturday 06/28/2008 at 12:51
                Category: Feature
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: muggenhor
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

With our current backtrace dumps I quite oftenly find that in case of
segfaults, which combined with assert failures are the most common crash
cause, I cannot easily see what value the dereferenced pointer held.

To be able to see this I propose invoking the "disassemble" and "info
registers" commands when producing a back trace. Which would give us the
ability to see the precise assembly instruction that triggered the
crash, together with the value of the register that was used as pointer.

Attached a patch that accomplishes this. If no one objects I'll commit
this next Monday (2008-06-30).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 06/28/2008 at 12:51  Name: gdb-disassemble.patch  Size: 827B  
By: muggenhor

<http://gna.org/patch/download.php?file_id=4494>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1078>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to