OSDN Git Service

qt-creator-jp/qt-creator-jp.git
15 years agoSome predefined macros for rvct.
con [Mon, 10 Aug 2009 15:05:03 +0000 (17:05 +0200)]
Some predefined macros for rvct.

15 years agoDebugger: Fixed QMapNode dumper.
ck [Mon, 10 Aug 2009 14:59:15 +0000 (16:59 +0200)]
Debugger: Fixed QMapNode dumper.

15 years agodebugger: handle 'insert breakpoint' packages in the trk adapter
hjk [Fri, 24 Jul 2009 14:47:26 +0000 (16:47 +0200)]
debugger: handle 'insert breakpoint' packages in the trk adapter

15 years agocpaster: compile fix for namespaced qt plus code cosmetics
hjk [Mon, 10 Aug 2009 14:31:56 +0000 (16:31 +0200)]
cpaster: compile fix for namespaced qt plus code cosmetics

QListWidget forward declaration was not namespaced.

15 years agoVersion control: Replace per-VCS output panes with a single one.
Friedemann Kleint [Mon, 10 Aug 2009 13:46:45 +0000 (15:46 +0200)]
Version control: Replace per-VCS output panes with a single one.

...and give it some color and formatting.

15 years agoFix not showing all files
dt [Mon, 10 Aug 2009 13:11:06 +0000 (15:11 +0200)]
Fix not showing all files

15 years agoDisable the rebuild debug helper button in case of invalid qt version.
kh1 [Mon, 10 Aug 2009 12:36:47 +0000 (14:36 +0200)]
Disable the rebuild debug helper button in case of invalid qt version.

15 years agoMerge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Erik Verbruggen [Mon, 10 Aug 2009 11:00:50 +0000 (13:00 +0200)]
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

15 years agoAdded Objective-C changes to the changelog.
Erik Verbruggen [Mon, 10 Aug 2009 10:58:51 +0000 (12:58 +0200)]
Added Objective-C changes to the changelog.

15 years agoUsing QDir::toNativeSeparators when pathes are shown to users.
Alessandro Portale [Mon, 10 Aug 2009 10:54:04 +0000 (12:54 +0200)]
Using QDir::toNativeSeparators when pathes are shown to users.

15 years agoMerge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Erik Verbruggen [Mon, 10 Aug 2009 10:46:05 +0000 (12:46 +0200)]
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

15 years agoParsing fix for casts in ObjC message expressions.
Erik Verbruggen [Mon, 10 Aug 2009 10:44:52 +0000 (12:44 +0200)]
Parsing fix for casts in ObjC message expressions.

15 years agoFakeVim: Fix yanking in some visual modes
Kornelia Poenitz [Mon, 10 Aug 2009 09:43:35 +0000 (11:43 +0200)]
FakeVim: Fix yanking in some visual modes

This covers 'Y' in novisual, char and line mode and 'y' in char mode.
Visual block mode is still missing. It also fixes an off-by-one error
when displaying selection in visual char mode.

Reviewed-by: hjk
Merge-request: 1149
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
15 years agoAdded possibility to translate special texts in Environment Editor.
Sergey Belyashov [Mon, 10 Aug 2009 09:34:16 +0000 (11:34 +0200)]
Added possibility to translate special texts in Environment Editor.

Covers <UNSET>, <VARIABLE>, <VALUE>.

Merge-request: 1156
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
15 years agoDo not crash on some system when no proxy is set
Daniel Molkentin [Mon, 10 Aug 2009 09:41:28 +0000 (11:41 +0200)]
Do not crash on some system when no proxy is set

15 years agoDebugger: More dumper auto tests.
ck [Fri, 7 Aug 2009 13:28:54 +0000 (15:28 +0200)]
Debugger: More dumper auto tests.

Added auto tests for QFileInfo, QHashNode and QLocale dumpers.

15 years agoFixed building debugging helpers: Added missing gdbmacros_p.h
Friedemann Kleint [Fri, 7 Aug 2009 13:22:51 +0000 (15:22 +0200)]
Fixed building debugging helpers: Added missing gdbmacros_p.h

15 years agoDebugger: Improve the helper build mechanism on the settings page.
Friedemann Kleint [Fri, 7 Aug 2009 13:20:05 +0000 (15:20 +0200)]
Debugger:  Improve the helper build mechanism on the settings page.

- Give the controls a tooltip listing file details (date)
- Make building a QtConcurrent task
- Make log window scroll to bottom and pop up on error
- Make the build code pass on error messages about copying the
  source files to the log file
- Clean up the building code string-wise, use QLatin1String and
  translate messages, cache the icons. Use a QSharedPointer for
  the QtVersions in the settings page since they are passed to
  the BuildTask, which may outlive the dialog.

15 years agouse module-less include file style for the sdk example.
Daniel Molkentin [Fri, 7 Aug 2009 13:03:29 +0000 (15:03 +0200)]
use module-less include file style for the sdk example.

This was proposed by Kavindra and actually it is
probably simpler for newbies. The documentation
already talks about this style, so use it.

15 years agoRevert "Debugger: Improve the helper build mechanism on the settings page."
Friedemann Kleint [Fri, 7 Aug 2009 12:20:27 +0000 (14:20 +0200)]
Revert "Debugger:  Improve the helper build mechanism on the settings page."

This reverts commit debb3961c2aaaf9104d6b19b4fc92e16b7c4da0c.
Success cannot be properly detected.

15 years agoDebugger: Improve the helper build mechanism on the settings page.
Friedemann Kleint [Fri, 7 Aug 2009 12:10:36 +0000 (14:10 +0200)]
Debugger:  Improve the helper build mechanism on the settings page.

- Give the controls a tooltip listing file details (date)
- Make building a QtConcurrent task
- Make log window scroll to bottom and pop up on error
- Make the build code pass on error messages about copying the
  source files to the log file
- Clean up the building code string-wise, use QLatin1String and
  translate messages, cache the icons

15 years agoDon't crash when the /proc/<pid>/stat file failed to open.
Thiago Macieira [Fri, 7 Aug 2009 11:01:33 +0000 (13:01 +0200)]
Don't crash when the /proc/<pid>/stat file failed to open.

This may happen if a process exits after we got the /proc listing. If
we fail to open the file, readAll() returns empty, which means split()
returns an empty list, which means you can't do at(1).

15 years agoAdded possibility to translate "Custom Process Step" item of the combobox in project...
Sergey Belyashov [Fri, 7 Aug 2009 10:42:43 +0000 (12:42 +0200)]
Added possibility to translate "Custom Process Step" item of the combobox in project settings.

Merge-request: 1142
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
15 years agoAdded possibility to translate "Add" and "Remove" buttons and "Clear system environme...
Sergey Belyashov [Fri, 7 Aug 2009 09:07:41 +0000 (11:07 +0200)]
Added possibility to translate "Add" and "Remove" buttons and "Clear system environment" checkbox in build settings of project.

Merge-request: 1141
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
15 years agoFix another spec not equal bug, squash another case where qmake was run.
dt [Thu, 6 Aug 2009 16:49:10 +0000 (18:49 +0200)]
Fix another spec not equal bug, squash another case where qmake was run.

15 years agoMake generic make step fit in to the new Project settings.
dt [Thu, 6 Aug 2009 16:31:46 +0000 (18:31 +0200)]
Make generic make step fit in to the new Project settings.

15 years agoEven less debug output.
dt [Thu, 6 Aug 2009 16:11:26 +0000 (18:11 +0200)]
Even less debug output.

15 years agoQDesktopService needs handleHelpRequest to be a slot.
Daniel Molkentin [Thu, 6 Aug 2009 16:05:47 +0000 (18:05 +0200)]
QDesktopService needs handleHelpRequest to be a slot.

15 years agoRemove debugging output
Daniel Molkentin [Thu, 6 Aug 2009 16:05:08 +0000 (18:05 +0200)]
Remove debugging output

15 years agoDebugger: Fixed dumper autotests.
ck [Thu, 6 Aug 2009 15:40:53 +0000 (17:40 +0200)]
Debugger: Fixed dumper autotests.

Recent changes to QObject and QSharedPointer broke the dumper
auto tests.

15 years agoAdd a missing space in the summary text
dt [Thu, 6 Aug 2009 15:35:11 +0000 (17:35 +0200)]
Add a missing space in the summary text

15 years agoUpdate summary on changes to the Environment
dt [Thu, 6 Aug 2009 15:30:39 +0000 (17:30 +0200)]
Update summary on changes to the Environment

15 years agoFix CMake Project to work with new project settigns pane.
dt [Thu, 6 Aug 2009 15:26:38 +0000 (17:26 +0200)]
Fix CMake Project to work with new project settigns pane.

15 years agoAdd the missing black line.
dt [Thu, 6 Aug 2009 14:48:39 +0000 (16:48 +0200)]
Add the missing black line.

15 years agoExtract the special mainwindow behavior of the debug mode into class.
con [Thu, 6 Aug 2009 14:01:51 +0000 (16:01 +0200)]
Extract the special mainwindow behavior of the debug mode into class.

15 years agoRemove unused code path for signal-slot editor yes/no.
con [Thu, 6 Aug 2009 10:50:04 +0000 (12:50 +0200)]
Remove unused code path for signal-slot editor yes/no.

15 years agoDebugging output
dt [Thu, 6 Aug 2009 14:16:56 +0000 (16:16 +0200)]
Debugging output

15 years agoShow tutorials in context help pane by default, but honor context help settings.
Daniel Molkentin [Thu, 6 Aug 2009 13:47:31 +0000 (15:47 +0200)]
Show tutorials in context help pane by default, but honor context help settings.

Reviewed-by: kh
15 years agoReviewed the first four chapters. Added review notes.
Daniel Molkentin [Thu, 6 Aug 2009 10:23:38 +0000 (12:23 +0200)]
Reviewed the first four chapters. Added review notes.

15 years agoRework the project settings.
dt [Thu, 6 Aug 2009 13:31:32 +0000 (15:31 +0200)]
Rework the project settings.

This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.

15 years agoParser fix for ObjC methods.
Erik Verbruggen [Thu, 6 Aug 2009 11:44:33 +0000 (13:44 +0200)]
Parser fix for ObjC methods.

15 years agoMerge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Erik Verbruggen [Thu, 6 Aug 2009 10:37:28 +0000 (12:37 +0200)]
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

15 years agoBugfix: Private header is no longer included in public header.
ck [Thu, 6 Aug 2009 09:21:40 +0000 (11:21 +0200)]
Bugfix: Private header is no longer included in public header.

15 years agoMerge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Erik Verbruggen [Thu, 6 Aug 2009 07:41:08 +0000 (09:41 +0200)]
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

15 years agoFixed semantic checks for Objective-C methods and fast-enumeration.
Erik Verbruggen [Wed, 5 Aug 2009 16:30:18 +0000 (18:30 +0200)]
Fixed semantic checks for Objective-C methods and fast-enumeration.

15 years agoDoc - Some minor fixes plus supporting links to connect parts of our
Kavindra Devi Palaraja [Wed, 5 Aug 2009 15:21:11 +0000 (17:21 +0200)]
Doc - Some minor fixes plus supporting links to connect parts of our
documentation with this tutorial.

Reviewed-By: TrustMe
15 years agoCleaned the ObjC AST up.
Erik Verbruggen [Wed, 5 Aug 2009 15:14:08 +0000 (17:14 +0200)]
Cleaned the ObjC AST up.

15 years agoStart on rvct support.
con [Wed, 5 Aug 2009 15:06:52 +0000 (17:06 +0200)]
Start on rvct support.

It works, except that the code model doesn't get the rvct include
directories and defines yet. And you need to have everything for
rvct set up in your environment.

15 years agoIf no mwc path is set explicitly, still don't destroy working environment.
con [Wed, 5 Aug 2009 12:33:05 +0000 (14:33 +0200)]
If no mwc path is set explicitly, still don't destroy working environment.

So now we use the values of the system environment as a backup
for build environment and system includes.

15 years agoDoc - Fixed a typo causing a qdoc warning
Kavindra Devi Palaraja [Wed, 5 Aug 2009 14:25:57 +0000 (16:25 +0200)]
Doc - Fixed a typo causing a qdoc warning

Reviewed-By: TrustMe
15 years agoDoc - Fixed a typo
Kavindra Devi Palaraja [Wed, 5 Aug 2009 14:25:08 +0000 (16:25 +0200)]
Doc - Fixed a typo

Reviewed-By: TrustMe
15 years agofix alt-tab navigation in the original split
mae [Wed, 5 Aug 2009 14:01:43 +0000 (16:01 +0200)]
fix alt-tab navigation in the original split

15 years agofix occasionally broken link to the modified state of the editor
mae [Wed, 5 Aug 2009 13:55:31 +0000 (15:55 +0200)]
fix occasionally broken link to the modified state of the editor

15 years agoMerge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
ck [Wed, 5 Aug 2009 14:03:11 +0000 (16:03 +0200)]
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline

15 years agoDoc - Adding supporting screenshots to aid users in the tutorial
Kavindra Devi Palaraja [Wed, 5 Aug 2009 14:03:20 +0000 (16:03 +0200)]
Doc - Adding supporting screenshots to aid users in the tutorial

Reviewed-By: TrustMe
15 years agoDebugger: More dumper auto tests.
ck [Wed, 5 Aug 2009 14:01:33 +0000 (16:01 +0200)]
Debugger: More dumper auto tests.

Added test for "QAbstractItem" and fixed bug uncovered by that.

15 years agoDoc - Reviewing Part 1 of the tutorial, ensuring it is as accurate as
Kavindra Devi Palaraja [Wed, 5 Aug 2009 13:30:48 +0000 (15:30 +0200)]
Doc - Reviewing Part 1 of the tutorial, ensuring it is as accurate as
possible with the current version of Qt Creator

15 years agoDoc - More fixes on the tutorial and the Sessions section of Creator's
Kavindra Devi Palaraja [Tue, 4 Aug 2009 12:15:15 +0000 (14:15 +0200)]
Doc - More fixes on the tutorial and the Sessions section of Creator's
manual

Reviewed-By: TrustMe
15 years agoDebugger auto tests: Tracked changes to QObjectPrivate.
ck [Wed, 5 Aug 2009 12:05:03 +0000 (14:05 +0200)]
Debugger auto tests: Tracked changes to QObjectPrivate.

15 years agoSearching in files takes open editors into account now.
con [Wed, 5 Aug 2009 10:43:47 +0000 (12:43 +0200)]
Searching in files takes open editors into account now.

Task-number: 258468

15 years agoSome dependency declaration cleanup.
con [Mon, 3 Aug 2009 12:15:25 +0000 (14:15 +0200)]
Some dependency declaration cleanup.

15 years agoFixes: Link error on Windows, this slot should not be there
Andy Shaw [Wed, 5 Aug 2009 11:23:51 +0000 (13:23 +0200)]
Fixes:    Link error on Windows, this slot should not be there

15 years agoFixes: Compile on Windows
Andy Shaw [Wed, 5 Aug 2009 11:18:56 +0000 (13:18 +0200)]
Fixes:    Compile on Windows

15 years agoFixes compilation
dt [Wed, 5 Aug 2009 10:59:45 +0000 (12:59 +0200)]
Fixes compilation

15 years agoDisable the browse button if the shadow build checkbox is disabled.
dt [Wed, 5 Aug 2009 10:50:15 +0000 (12:50 +0200)]
Disable the browse button if the shadow build checkbox is disabled.

15 years agofix compile the proper way
Oswald Buddenhagen [Wed, 5 Aug 2009 10:36:26 +0000 (12:36 +0200)]
fix compile the proper way

older gcc does not automatically make nested classes of a friend class
friends as well.

15 years agodon't hang in .qmake.cache search when build dir does not exist
Oswald Buddenhagen [Wed, 5 Aug 2009 10:18:36 +0000 (12:18 +0200)]
don't hang in .qmake.cache search when build dir does not exist

QDir::cdUp() is strange ...

15 years agoChange the apppereanve slightly for environment widgets.
dt [Thu, 30 Jul 2009 15:42:58 +0000 (17:42 +0200)]
Change the apppereanve slightly for environment widgets.

15 years agoFix wrong importing of old settings overwritting a release configuration
dt [Thu, 30 Jul 2009 10:41:07 +0000 (12:41 +0200)]
Fix wrong importing of old settings overwritting a release configuration

15 years agoFixed build problem by removing the private.
Erik Verbruggen [Wed, 5 Aug 2009 08:57:49 +0000 (10:57 +0200)]
Fixed build problem by removing the private.

15 years agoThe parser needs to a valid AST when the parsing method returns `true'.
Roberto Raggi [Wed, 5 Aug 2009 07:45:12 +0000 (09:45 +0200)]
The parser needs to a valid AST when the parsing method returns `true'.

15 years agoUsing QDir::toNativeSeparators
Alessandro Portale [Wed, 5 Aug 2009 07:17:26 +0000 (09:17 +0200)]
Using QDir::toNativeSeparators

15 years agoremove seemingly superfluous path normalizations
Oswald Buddenhagen [Tue, 4 Aug 2009 18:49:15 +0000 (20:49 +0200)]
remove seemingly superfluous path normalizations

they were added to facilitate .prf exclusion from the project tree, but
that should be handled differently already.

15 years agodon't report prf inclusions to derived classes
Oswald Buddenhagen [Tue, 4 Aug 2009 18:48:22 +0000 (20:48 +0200)]
don't report prf inclusions to derived classes

15 years agomove include recursion check to evaluateFile() where it belongs
Oswald Buddenhagen [Tue, 4 Aug 2009 18:39:28 +0000 (20:39 +0200)]
move include recursion check to evaluateFile() where it belongs

15 years agomove qmake property hash to option object
Oswald Buddenhagen [Tue, 4 Aug 2009 14:12:11 +0000 (16:12 +0200)]
move qmake property hash to option object

that way they are auto-inherited by nested parsers, and it's the right
thing to do anyway.

15 years agocomplain about querying non-existing properties
Oswald Buddenhagen [Tue, 4 Aug 2009 13:56:26 +0000 (15:56 +0200)]
complain about querying non-existing properties

... except where it is expected

15 years agorely on the properties passed into the evaluator
Oswald Buddenhagen [Tue, 4 Aug 2009 13:21:40 +0000 (15:21 +0200)]
rely on the properties passed into the evaluator

fallbacks to values from the qt we were compiled/linked against really
make no sense.

15 years agoinject QT_VERSION into the evaluator
Oswald Buddenhagen [Fri, 31 Jul 2009 18:37:47 +0000 (20:37 +0200)]
inject QT_VERSION into the evaluator

almost too simple to be right, given the TODO ...

15 years agoimproved high-level qmake compat
Oswald Buddenhagen [Tue, 4 Aug 2009 14:16:27 +0000 (16:16 +0200)]
improved high-level qmake compat

- parse .qmake.cache, remove workaround for not doing it
- look for the mkspecs in all the places qmake would do
- use the passed in properties instead of QLibraryInfo to find the qt
  data dir
- fix loading of generic features from within os-specific ones with the
  same name
- add multiple inclusion guard for features (including what seems to be
  a bug in qmake ...)
- misc cleanups and beautifications

15 years agolook only for mkspec features for the current target platform
Oswald Buddenhagen [Fri, 31 Jul 2009 14:47:18 +0000 (16:47 +0200)]
look only for mkspec features for the current target platform

15 years agomicro-optimizations
Oswald Buddenhagen [Tue, 4 Aug 2009 18:51:49 +0000 (20:51 +0200)]
micro-optimizations

15 years agofixEnvVariables => expandEnvVars overload
Oswald Buddenhagen [Thu, 30 Jul 2009 15:03:12 +0000 (17:03 +0200)]
fixEnvVariables => expandEnvVars overload

15 years agoset the current work dir even for pri files
Oswald Buddenhagen [Tue, 28 Jul 2009 16:54:03 +0000 (18:54 +0200)]
set the current work dir even for pri files

qmake does so.
of course, in the longer run we need to get rid of this at all, but this
would require quite some reviewing of side effects.

15 years agomake the qmake option object a proper member
Oswald Buddenhagen [Thu, 23 Jul 2009 16:36:59 +0000 (18:36 +0200)]
make the qmake option object a proper member

to be able to share the option object among evaluators, it is passed by
pointer.

only field_sep stays static and becomes a string - that's effectively
just a cache to avoid repeated construction.

15 years agomake Option a nested class of ProFileEvaluator
Oswald Buddenhagen [Thu, 23 Jul 2009 15:04:50 +0000 (17:04 +0200)]
make Option a nested class of ProFileEvaluator

it's still static at that point, though.

15 years agoshuffle code around
Oswald Buddenhagen [Thu, 23 Jul 2009 14:34:30 +0000 (16:34 +0200)]
shuffle code around

non-inline implementations in a header? feh!

15 years agoinline trivial functions
Oswald Buddenhagen [Thu, 23 Jul 2009 14:24:35 +0000 (16:24 +0200)]
inline trivial functions

15 years agoremove remainders of a fairly useless set of asserts
Oswald Buddenhagen [Thu, 23 Jul 2009 13:06:16 +0000 (15:06 +0200)]
remove remainders of a fairly useless set of asserts

(the rest seems to have evaporated over time or never existed in the
first place)

15 years agodon't push top level pro file twice on stack
Oswald Buddenhagen [Wed, 22 Jul 2009 15:46:25 +0000 (17:46 +0200)]
don't push top level pro file twice on stack

15 years agoget rid of m_origfile
Oswald Buddenhagen [Wed, 22 Jul 2009 09:06:18 +0000 (11:06 +0200)]
get rid of m_origfile

it's redundand

15 years agoinitialize TARGET properly instead of fixing it later
Oswald Buddenhagen [Wed, 29 Jul 2009 09:30:33 +0000 (11:30 +0200)]
initialize TARGET properly instead of fixing it later

... which is also what qmake does

15 years agorefactor pre, post and CONFIG feature inclusion
Oswald Buddenhagen [Wed, 22 Jul 2009 09:03:01 +0000 (11:03 +0200)]
refactor pre, post and CONFIG feature inclusion

actually use evaluateFeatureFile() instead of hand-crafting stuff

15 years agoplug memory leak
Oswald Buddenhagen [Wed, 22 Jul 2009 08:30:08 +0000 (10:30 +0200)]
plug memory leak

it's a bad idea to conditionalize a cleanup on a completely unrelated
variable.

15 years agoFix adding of endlines to application output.
con [Tue, 4 Aug 2009 16:50:02 +0000 (18:50 +0200)]
Fix adding of endlines to application output.

15 years agoDebug output from TRK might have windows style line endings
con [Tue, 4 Aug 2009 16:49:10 +0000 (18:49 +0200)]
Debug output from TRK might have windows style line endings

15 years agoHandle application output that comes over TRK.
con [Tue, 4 Aug 2009 15:59:07 +0000 (17:59 +0200)]
Handle application output that comes over TRK.

15 years agoEnabled edit actions for application output window
Robert Loehning [Tue, 4 Aug 2009 12:29:55 +0000 (14:29 +0200)]
Enabled edit actions for application output window

Reviewed-by: dt
15 years agoHonor QTCREATOR_NO_CODE_INDEXER, supress include scanning.
Daniel Molkentin [Tue, 4 Aug 2009 16:16:05 +0000 (18:16 +0200)]
Honor QTCREATOR_NO_CODE_INDEXER, supress include scanning.

15 years agoTrk: Bug fixing in the adapter
Friedemann Kleint [Tue, 4 Aug 2009 14:36:52 +0000 (16:36 +0200)]
Trk: Bug fixing in the adapter

Unblock COM reading. Ensure process is started only once. Read out
registers. Read gdb memory request properly.