Re: "gdb" by itself ought to put crash into a "gdb" mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> Hi,
> 
> I might actually write the patch for this one.  Piping back to crash,
> as useful as it would be, requires too much context shuffling.  Here,
> all that'd be necessary is a "we are in pass through to gdb" mode 
> meaning that the "gdb " prefix to gdb commands would not be necessary.
> Just monitor the input for a "crash" line and flip the bit.  It's a
> nuisance to have to remember that prefix when typing a long series of
> gdb commands that mostly work as crash commands.
> 
> Possible?  Thanks !  Regards, Bruce

Definitely sounds possible.  Maybe create a new "gdb" environment
variable that can be flipped with "set gdb on/off" commands.  Then
check for the mode in process_command_line() and exec_input_file()
and insert/shift the "gdb" string into args[0].

Dave

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux