X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/07d021a6ae8d3ed9da9f55c8623739e7a716308e..466bdeb2665147c09f7bb8bdbad38f4f6222f0ed:/gdb/infrun.hacked.c diff --git a/gdb/infrun.hacked.c b/gdb/infrun.hacked.c index a1b5926f75..9cf2fcf3e0 100644 --- a/gdb/infrun.hacked.c +++ b/gdb/infrun.hacked.c @@ -3,19 +3,19 @@ This file is part of GDB. -GDB is free software; you can redistribute it and/or modify +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) -any later version. +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. -GDB is distributed in the hope that it will be useful, +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GDB; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Notes on the algorithm used in wait_for_inferior to determine if we just did a subroutine call when stepping. We have the following @@ -116,10 +116,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include -#include #include "defs.h" -#include "param.h" +#include #include "symtab.h" #include "frame.h" #include "inferior.h" @@ -176,7 +174,7 @@ extern char *inferior_thisrun_terminal; no name, assume we are not in sigtramp). */ #if !defined (IN_SIGTRAMP) #define IN_SIGTRAMP(pc, name) \ - name && !strcmp ("_sigtramp", name) + name && STREQ ("_sigtramp", name) #endif /* Tables of how to react to signals; the user sets them. */ @@ -534,10 +532,6 @@ child_create_inferior (exec_file, allargs, env) clear_proceed_status (); -#if defined (START_INFERIOR_HOOK) - START_INFERIOR_HOOK (); -#endif - /* We will get a trace trap after one instruction. Continue it automatically. Eventually (after shell does an exec) it will get another trace trap. Then insert breakpoints and continue. */