<div dir="ltr"><div>Hi, Kazu</div><div>Thank you for the fix.</div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 27, 2022 at 3:07 PM HAGIO KAZUHITO(萩尾 一仁) <<a href="mailto:k-hagio-ab@nec.com" target="_blank">k-hagio-ab@nec.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The gdb-10.2.patch forgot the role that acts as a shell script that<br>
restores gdb files to its original state and exits.  Without the patch,<br>
the following errors are emitted when rebuiding crash with an updated<br>
gdb-10.2.patch.<br>
<br>
  $ make warn<br>
  TARGET: X86_64<br>
   CRASH: 8.0.0++<br>
     GDB: 10.2<br>
<br>
  + --- gdb-10.2/Makefile.in.orig<br>
  gdb-10.2.patch: line 11: ---: command not found<br>
  + +++ gdb-10.2/Makefile.in<br>
  gdb-10.2.patch: line 12: +++: command not found<br>
  + @@ -340,6 +340,9 @@ AR_FOR_BUILD = @AR_FOR_BUILD@<br>
  gdb-10.2.patch: line 13: @@: command not found<br>
  + AS_FOR_BUILD = @AS_FOR_BUILD@<br>
  gdb-10.2.patch: line 14: AS_FOR_BUILD: command not found<br>
  + CC_FOR_BUILD = @CC_FOR_BUILD@<br>
  gdb-10.2.patch: line 15: CC_FOR_BUILD: command not found<br>
  + CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@<br>
  gdb-10.2.patch: line 16: CFLAGS_FOR_BUILD: command not found<br>
  gdb-10.2.patch: line 17: syntax error near unexpected token<br>
  `${CRASH_TARGET},'<br>
  gdb-10.2.patch: line 17: `+ifeq (${CRASH_TARGET}, PPC64)'<br>
<br>
Signed-off-by: Kazuhito Hagio <<a href="mailto:k-hagio-ab@nec.com" target="_blank">k-hagio-ab@nec.com</a>><br>
---<br>
 gdb-10.2.patch | 5 +++++<br>
 1 file changed, 5 insertions(+)<br>
<br>
diff --git a/gdb-10.2.patch b/gdb-10.2.patch<br>
index f5e4c06e6f97..c5aa0bf79691 100644<br>
--- a/gdb-10.2.patch<br>
+++ b/gdb-10.2.patch<br>
@@ -8,6 +8,11 @@<br>
 # shell script that can restore any gdb file to its original state prior<br>
 # to all subsequent patch applications.<br>
<br>
+#tar xvzmf gdb-10.2.tar.gz \<br>
+#      gdb-10.2/gdb/symtab.c<br></blockquote><div><br></div><div>The above code has been commented out,  do you have any concerns?</div><div><br></div><div>Thanks.</div><div>Lianbo</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+<br>
+exit 0<br>
+<br>
 --- gdb-10.2/Makefile.in.orig<br>
 +++ gdb-10.2/Makefile.in<br>
 @@ -340,6 +340,9 @@ AR_FOR_BUILD = @AR_FOR_BUILD@<br>
-- <br>
2.27.0<br>
<br>
</blockquote></div></div>