This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I presumed mi_usage_error would call error. That way the error is caught and
any cleanups and rewinds are done. However, you are right, it would be nicer
just to get:
(gdb) -stack-select-frame Usage: FRAME_SPEC. (gdb)
instead of
(gdb) -stack-select-frame &"Usage: -stack-select-frame FRAME_SPEC\n" ^error,msg="Usage: -stack-select-frame FRAME_SPEC" (gdb)
as these errors aren't intended for the user when the frontend is being used.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |