Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Add memory monitor dialog

John -

Some platforms / debug adapters do support evaluating an empty expression
to an address.  When the user has entered an empty expression, a debug
adapter can choose to return a default location where the user would be
interested in.  (It could be address zero, or it could be some other
location where the user is accustomed to start debugging from.)   If this
is not supported, then the debug adapter should throw an exception.

See this bug for details:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=98995

If your address space support is targeted for CDT only and that CDT does
not support this, then I would not worry about allowing an empty string to
go in.  However, if you are implementing a more generalized solution, then
you should allow it.

Thanks...
Samantha



                                                                           
             John Cortell                                                  
             <john.cortell@fre                                             
             escale.com>                                                To 
             Sent by:                  CDT Debug developers list           
             cdt-debug-dev-bou         <cdt-debug-dev@xxxxxxxxxxx>         
             nces@xxxxxxxxxxx                                           cc 
                                                                           
                                                                   Subject 
             05/25/2006 04:20          [cdt-debug-dev] Add memory monitor  
             PM                        dialog                              
                                                                           
                                                                           
             Please respond to                                             
                 CDT Debug                                                 
              developers list                                              
             <cdt-debug-dev@ec                                             
                lipse.org>                                                 
                                                                           
                                                                           




Samantha,

The platform dialog for adding a memory monitor accepts an empty
expression string. The code seems intentional in allowing this. With
CDT, doing so results in an error dialog and an MI error string in
the gdb console.

What is the use case that made this possible? Partly curious, but
mostly I need to know whether I should allow the same thing in the
CDT dialog override (the address-space support feature).

John

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev




Back to the top