This is the mail archive of the gdb-prs@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]

gdb/552: Test MI ``-target-select remote /dev/null''



>Number:         552
>Category:       gdb
>Synopsis:       Test MI ``-target-select remote /dev/null''
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 13:18:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        2002-05-19
>Organization:
>Environment:

>Description:
Need a testcase to check that the MI -target-select command reports an error when it fails.  Compare:

(gdb) 
-target-select remote /dev/null
&"get_tty_state failed: Operation not supported\n"
&"set_tty_state failed: Operation not supported\n"
&"get_tty_state failed: Operation not supported\n"
&"set_tty_state failed: Operation not supported\n"
~"Ignoring packet error, continuing...\n"
~"Ignoring packet error, continuing...\n"
~"Ignoring packet error, continuing...\n"
&"Couldn't establish connection to remote target\n"
&"Malformed response to offset query, timeout\n"
^connected
(gdb) 


with:


(gdb) 
-target-select remote /dev/null
&"get_tty_state failed: Operation not supported\n"
&"set_tty_state failed: Operation not supported\n"
&"get_tty_state failed: Operation not supported\n"
&"set_tty_state failed: Operation not supported\n"
~"Ignoring packet error, continuing...\n"
~"Ignoring packet error, continuing...\n"
~"Ignoring packet error, continuing...\n"
&"Couldn't establish connection to remote target\n"
&"Malformed response to offset query, timeout\n"
^error,msg="Malformed response to offset query, timeout"
(gdb) 

Is the use of /dev/null legitimate?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]