summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-03-23 12:00:02 +0100
committerhjk <qtc-committer@nokia.com>2010-03-23 12:00:02 +0100
commit21c13328d3c5cf902734045394aa0a976aaf8db2 (patch)
tree1f9e3e74693d5df0e61490dbba524d7c4a4a661b
parent337f3eef2e8baa317811f47698814c637a9d32ad (diff)
downloadqt-creator-21c13328d3c5cf902734045394aa0a976aaf8db2.tar.gz
Add a gdb patch increasing the
Roundtrips are more expensive then plain data transfer. So fetch larger chunks and hope there will be fewer. Works well in practice.
-rw-r--r--share/qtcreator/patches/gdb-increased-dcache-line-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/qtcreator/patches/gdb-increased-dcache-line-size.patch b/share/qtcreator/patches/gdb-increased-dcache-line-size.patch
new file mode 100644
index 0000000000..edc714f5d0
--- /dev/null
+++ b/share/qtcreator/patches/gdb-increased-dcache-line-size.patch
@@ -0,0 +1,13 @@
+diff --git a/gdb/dcache.c b/gdb/dcache.c
+index e1386e0..65b1a02 100644
+--- a/gdb/dcache.c
++++ b/gdb/dcache.c
+@@ -76,7 +76,7 @@
+ /* The size of a cache line. Smaller values reduce the time taken to
+ read a single byte and make the cache more granular, but increase
+ overhead and reduce the effectiveness of the cache as a prefetcher. */
+-#define LINE_SIZE_POWER 6
++#define LINE_SIZE_POWER 8
+ #define LINE_SIZE (1 << LINE_SIZE_POWER)
+
+ /* Each cache block holds LINE_SIZE bytes of data