summaryrefslogtreecommitdiff
path: root/dist/gdb
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2012-05-09 21:53:00 +0300
committerhjk <qthjk@ovi.com>2012-05-25 10:24:36 +0200
commit69a90cf9ddc0fb8a10c88b605d561e18257593bc (patch)
tree517bd59883b3b64f9034ca539d74adeb22e8fec0 /dist/gdb
parent3934347fe9ed7e1567c3ff377f857928e8b03304 (diff)
downloadqt-creator-69a90cf9ddc0fb8a10c88b605d561e18257593bc.tar.gz
GDB build: Advance to 7.4.1
Change-Id: Ie9d24d879fde99a4fdf5698b4a535be04fd91d34 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'dist/gdb')
-rw-r--r--dist/gdb/Makefile.linux4
-rw-r--r--dist/gdb/Makefile.mingw5
-rw-r--r--dist/gdb/Makefile.osx2
-rw-r--r--dist/gdb/patches/gdb-ipv6.patch3
-rw-r--r--dist/gdb/patches/gdb-target-debugging.patch19
-rw-r--r--dist/gdb/patches/gdb-work-around-trk-single-step.patch2
6 files changed, 8 insertions, 27 deletions
diff --git a/dist/gdb/Makefile.linux b/dist/gdb/Makefile.linux
index 676f8a602a..25da63d5b3 100644
--- a/dist/gdb/Makefile.linux
+++ b/dist/gdb/Makefile.linux
@@ -5,7 +5,7 @@ staging=${broot}/staging
pyversion=2.7
expatversion=2.0.1
arch=`uname -sm | sed 's/ /-/g' | tr A-Z a-z`
-version=7.4
+version=7.4.1
targetdir=${broot}/qtcreator-gdb-${version}
gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
packagename=qtcreator-gdb-${version}-${arch}.tar.gz
@@ -75,7 +75,7 @@ ${staging}/gdb-${version}/configure: ${source}/gdb-${version}.tar.bz2 | makestag
patch -p2 < ${broot}/patches/pythonhome-7.4.patch && \
patch -p1 < ${broot}/patches/gdb-buildid-locate.patch && \
patch -p1 < ${broot}/patches/gdb-ipv6.patch && \
- patch -p1 < ${broot}/patches/gdb-work-around-trk-single-step.patch
+ patch -p1 < ${broot}/patches/gdb-work-around-trk-single-step.patch
${gdbtargets}: ${targetdir}/gdb-%: ${staging}/gdb-${version}/configure ${staging}/lib/libpython${pyversion}.a ${staging}/lib/libexpat.a | maketargetdir
test -e ${staging}/gdb-${version}-$* || mkdir ${staging}/gdb-${version}-$*
diff --git a/dist/gdb/Makefile.mingw b/dist/gdb/Makefile.mingw
index 30179e69e5..74365da427 100644
--- a/dist/gdb/Makefile.mingw
+++ b/dist/gdb/Makefile.mingw
@@ -6,7 +6,7 @@ pyversion=2.7
pydir=${broot}/python
expatversion=2.0.1
iconvversion=1.14
-version=7.4
+version=7.4.1
targetdir=${broot}/qtcreator-gdb-${version}
gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
packageparts=${targetdir}/lib ${targetdir}/lib ${targetdir}/libiconv-2.dll ${targetdir}/python27.dll ${targetdir}/libexpat-1.dll
@@ -78,8 +78,7 @@ ${staging}/gdb-${version}/configure: ${source}/gdb-${version}.tar.bz2 | makestag
tar xf ${source}/gdb-${version}.tar.bz2 && \
cd gdb-${version} && \
touch configure && \
- patch -p1 < ${broot}/patches/gdb-ipv6.patch && \
- patch -p1 < ${broot}/patches/gdb-target-debugging.patch
+ patch -p1 < ${broot}/patches/gdb-ipv6.patch
${staging}/lib/libiconv.a: ${source}/libiconv-${iconvversion}.tar.gz | makestagingdir
cd ${staging} && \
diff --git a/dist/gdb/Makefile.osx b/dist/gdb/Makefile.osx
index a41fe89161..328eedf537 100644
--- a/dist/gdb/Makefile.osx
+++ b/dist/gdb/Makefile.osx
@@ -5,7 +5,7 @@ staging=${broot}/staging
pyversion=2.7
expatversion=2.0.1
arch=`uname -sm | sed 's/ /-/g' | tr A-Z a-z`
-version=7.4
+version=7.4.1
targetdir=${broot}/qtcreator-gdb-${version}
gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
packagename=qtcreator-gdb-${version}-${arch}.tar.gz
diff --git a/dist/gdb/patches/gdb-ipv6.patch b/dist/gdb/patches/gdb-ipv6.patch
index d5abf5f6c4..f51d51f1d8 100644
--- a/dist/gdb/patches/gdb-ipv6.patch
+++ b/dist/gdb/patches/gdb-ipv6.patch
@@ -188,7 +188,7 @@ diff -rup gdb-7.4-clean/gdb/gdbserver/remote-utils.c gdb-7.4/gdb/gdbserver/remot
port_str = strchr (name, ':');
if (port_str == NULL)
-@@ -227,7 +265,23 @@ remote_prepare (char *name)
+@@ -227,8 +265,24 @@ remote_prepare (char *name)
return;
}
@@ -214,6 +214,7 @@ diff -rup gdb-7.4-clean/gdb/gdbserver/remote-utils.c gdb-7.4/gdb/gdbserver/remot
+ if (port_str[1] == '\0')
fatal ("Bad port argument: %s", name);
+ #ifdef USE_WIN32API
@@ -241,24 +295,181 @@ remote_prepare (char *name)
}
#endif
diff --git a/dist/gdb/patches/gdb-target-debugging.patch b/dist/gdb/patches/gdb-target-debugging.patch
deleted file mode 100644
index efbd376290..0000000000
--- a/dist/gdb/patches/gdb-target-debugging.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/gdb/infcmd.c 2012/02/15 19:13:13
-+++ src/gdb/infcmd.c 2012/02/23 08:15:04
-@@ -1636,6 +1636,7 @@
- static void
- finish_forward (struct symbol *function, struct frame_info *frame)
- {
-+ struct frame_id frame_id = get_frame_id (frame);
- struct gdbarch *gdbarch = get_frame_arch (frame);
- struct symtab_and_line sal;
- struct thread_info *tp = inferior_thread ();
-@@ -1653,7 +1654,7 @@
-
- old_chain = make_cleanup_delete_breakpoint (breakpoint);
-
-- set_longjmp_breakpoint (tp, get_frame_id (frame));
-+ set_longjmp_breakpoint (tp, frame_id);
- make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
-
- /* We want stop_registers, please... */
diff --git a/dist/gdb/patches/gdb-work-around-trk-single-step.patch b/dist/gdb/patches/gdb-work-around-trk-single-step.patch
index 069bc82a78..c4ea88a4e6 100644
--- a/dist/gdb/patches/gdb-work-around-trk-single-step.patch
+++ b/dist/gdb/patches/gdb-work-around-trk-single-step.patch
@@ -9,7 +9,7 @@ this problem.
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
-@@ -5061,9 +5061,9 @@ process_event_stop_test:
+@@ -5186,9 +5186,9 @@
return;
}