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

[Bug gdb/17130] New: Quit regression on targets that don't have job_control / terminal switching (expect signal SIGINT when the program is resumed)


https://sourceware.org/bugzilla/show_bug.cgi?id=17130

            Bug ID: 17130
           Summary: Quit regression on targets that don't have job_control
                    / terminal switching (expect signal SIGINT when the
                    program is resumed)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: palves at redhat dot com

Since the target_ops delegation reword, the "current_target.to_terminal_ours ==
NULL" check in "quit" is always false:

void
quit (void)
{
...
  if (job_control
      /* If there is no terminal switching for this target, then we can't
         possibly get screwed by the lack of job control.  */
      || current_target.to_terminal_ours == NULL)
    fatal ("Quit");
  else
    fatal ("Quit (expect signal SIGINT when the program is resumed)");
}

Indeed, I've just tried gdb on Windows, and I got:

(gdb)
Quit (expect signal SIGINT when the program is resumed)
(gdb)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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