Skip to content

Commit

Permalink
Downgrade back to GDB 13.1 (#96)
Browse files Browse the repository at this point in the history
i686-w64-mingw32 GDB 14.1 does not detect file changes. After rebuilds
it runs with stale debugging information and may put the target in an
invalid state. The user must either manually use the "file" command or
restart GDB in order to load changes. Mostly reverts f46b079.
  • Loading branch information
skeeto committed Dec 8, 2023
1 parent fa8724e commit 2a34063
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUSYBOX_VERSION=FRP-5236-g7dff7f376
ARG CTAGS_VERSION=6.0.0
ARG EXPAT_VERSION=2.5.0
ARG GCC_VERSION=13.2.0
ARG GDB_VERSION=14.1
ARG GDB_VERSION=13.1
ARG GMP_VERSION=6.3.0
ARG LIBICONV_VERSION=1.17
ARG MAKE_VERSION=4.4.1
Expand Down
2 changes: 1 addition & 1 deletion src/SHA256SUMS
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ e9376e8848200ca085bd74804861f2904e12916e836a23d53bb41d166d38ac0d busybox-w32-FR
71229a73f25529c9e3dabb2cb7310c55405d31caee8e8a9ab5c71b2406d4005a ctags-6.0.0.tar.gz
ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe expat-2.5.0.tar.xz
e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da gcc-13.2.0.tar.xz
d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80 gdb-14.1.tar.xz
115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0 gdb-13.1.tar.xz
a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898 gmp-6.3.0.tar.xz
8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313 libiconv-1.17.tar.gz
dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3 make-4.4.1.tar.gz
Expand Down
6 changes: 3 additions & 3 deletions src/gdb-000-alternate-main.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -6314,6 +6314,23 @@
@@ -6300,6 +6300,23 @@
if (symbol_found_p)
return;

Expand All @@ -15,12 +15,12 @@
+ msym = lookup_minimal_symbol (main, NULL, NULL);
+ if (msym.minsym != NULL)
+ {
+ set_main_name (pspace, main, language_unknown);
+ set_main_name (main, language_unknown);
+ return;
+ }
+ }
+ }
+
set_main_name (pspace, "main", language_unknown);
set_main_name ("main", language_unknown);
}

2 changes: 1 addition & 1 deletion src/gdb-001-confirm-off.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ creates substantial friction and should be off by default.

--- a/gdb/top.c
+++ b/gdb/top.c
@@ -133,3 +133,3 @@
@@ -132,3 +132,3 @@

-bool confirm = true;
+bool confirm = false;
Expand Down

0 comments on commit 2a34063

Please sign in to comment.