Commit Graph

152 Commits

Author SHA1 Message Date
pancake
bd5e22c17e Some more osx-ppc fixes 2016-06-06 16:20:03 +02:00
pancake
df26636c14 Fix mingw32 build after the osx-ppc changes 2016-05-01 15:17:52 +02:00
pancake
aae417badf More OSX-PPC fixes 2016-04-27 01:52:35 +02:00
Damien Zammit
1a593a6318 GDB debug for lm32 architecture (#4696)
Signed-off-by: Damien Zammit <damien@zamaudio.com>

* Missing a couple of things in previous commit

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-04-24 23:13:00 +02:00
Ido Yariv
8ee54db24e Rewrite remote gdb packet handling
This patch addresses several issues with the current implementation,
including:
- Excessive recursions
- Incorrect handling of the escape character
- Buffer size limitations
2016-02-05 17:24:00 +01:00
Ido Yariv
cba51be5b8 Skip first packet when connecting to gdbserver
QEMU seems to send a T02thread message upon connection. This can get the
client side out of sync wrt requests & responses.

To work around this, read a packet after a connection is made. This
could time out, but that should be harmless.
2016-02-03 11:29:54 +01:00
Ido Yariv
0952fd0815 Avoid needless polling on incoming gdb packets
In case the packet checksum is received, there's little point in
continuing to poll for data.
2016-02-01 12:23:52 +01:00
pancake
289aece1f9 More code cleanup for gdm debugger plugin 2016-01-27 01:56:24 +01:00
Anton Kochkov
17750b5e03 Fix AVR regprofile, disable memset optimization 2015-10-24 01:25:25 +03:00
XVilka
720341c2df Improve -fPIC handling, take 2 2015-10-09 22:24:15 +03:00
pancake
b86bf19c85 Fix #3051 - Honor CFLAGS everywhere and fix some windows/android warnings 2015-09-14 20:43:11 +02:00
Anton Kochkov
1eb6dfa61e Add AVR in gdb:// 2015-08-20 01:58:02 +03:00
Kamil Rytarowski
aa7edcda24 Remove redundant inclusion of ../../shlr/zip/deps.mk 2015-07-09 01:01:27 +02:00
pancake
48b4c474dc Fix iOS build after the libzip "fix" 2015-07-06 17:38:45 +02:00
Pierre Pronchery
180322823e Fix build with --with-syszip 2015-07-03 12:40:54 -04:00
pancake
8f25a9b344 Fix iOS build, crashes in reflines, analysis issues on OSX debugger and more! 2015-06-21 00:50:53 +02:00
Kamil Rytarowski
165ce9e408 Unbreak gdb build with external libzip
Caught on pkgsrc / NetBSD.
2015-06-18 18:41:10 +02:00
Anton Kochkov
7e79b198b1 Fix some more Coverity issues
Fix CID 1171365
Fix CID 1211169
Fix CID 1230038
Fix CID 1295063, 1295062, 1295061
Fix CID 1295070
Fix CID 1295068
Fix CID 12950067
2015-04-19 04:53:08 +03:00
pancake
4e6549b5ae Add some ARM anal ops and fix #2390 null deref in gdb io without debug 2015-04-19 01:28:23 +02:00
pancake
997dda6e5b Add support for iOS-simulator and static-OSX builds 2015-04-14 17:14:43 +02:00
pancake
12ea9734b5 Fix about 15 more random COVs 2015-03-21 02:04:49 +01:00
jvoisin
55f5c73008 Coverifix++ 2015-02-19 12:59:13 +01:00
pancake
28006d32cc Fix build issue reported by @PheonixOS 2015-02-03 00:52:13 +01:00
trndr
83ad35e39a Try to implement MIPS gdb reg profile 2014-11-04 02:17:35 +01:00
pancake
a2c3647ad0 Somewhat better BoostJam support 2014-10-26 02:47:08 +02:00
Anton Kochkov
e0b20554ec Try to implement ARM32 gdb reg profile 2014-10-23 20:32:22 +04:00
Anton Kochkov
179dab57ec Fix GDB for ARM 2014-10-23 17:40:32 +04:00
pancake
5a3d3253cd Fix #1419 - wrong mips esil for LW 2014-09-25 00:47:43 +02:00
pancake
240e0d98a9 Fix some warnings 2014-09-20 10:13:48 +02:00
defragger
fdceb6373c fixes the 16bit issue, we still need to improve the performance here 2014-09-16 16:07:16 +02:00
defragger
eb300a5412 adds setting and removing breakpoints for gdb remote 2014-08-15 03:35:56 +02:00
jvoisin
bcbeb3c066 Fix some gcc warnings 2014-08-11 16:07:17 +02:00
jvoisin
6b5176e0a8 Fix another batch of coverity issues 2014-07-28 21:58:44 +02:00
pancake
7e06e13b3b Fix #1133 - gdbr warnings, and some other 2014-07-21 18:19:31 +02:00
pancake
15312da46b Fix w32 build 2014-07-17 10:34:53 +02:00
pancake
42215d3610 %hhx is not supported by mingw32 2014-07-17 10:30:31 +02:00
defragger
dde49da67c Adds the use of r_socket implementation 2014-07-17 09:45:00 +02:00
jvoisin
d4b22dbaf7 Fix some coverity warnings 2014-07-09 16:05:19 +02:00
defragger
b87c35ee64 adds the ability to write registers 2014-07-08 09:05:41 +02:00
Anton Kochkov
f365dd9d26 Fix Cygwin building 2014-06-25 14:41:21 +02:00
jvoisin
c1e8e6f2ec Fix CID 1213702 2014-05-11 15:19:01 +02:00
jvoisin
d140947319 Fix CID 1191320, 1191321, 1191322, 1191323, 1191324, 1191325, 1191326, 1191327, 1191328, 1191329 2014-05-10 02:26:20 +02:00
pancake
b52be45418 Fix pe parser issues spotted by corkami tests 2014-05-09 01:22:06 +02:00
Jody Frankowski
3ff35276bb Fix -Wformat warnings. Use ut64 instead of uint64_t where needed. 2014-05-08 02:12:20 +04:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
pancake
ce49c47e92 Indentation cleanup and add missing license header to libgdbr 2014-03-09 17:33:08 +01:00
pancake
784a1d2a72 Import radare2-capstone asm/anal plugins 2014-03-07 04:15:45 +01:00
pancake
99cd0fee14 Fix librgdbr makefiles and add capstone-sync shlr target 2014-03-07 02:00:27 +01:00
pancake
d1dd21ea9e Fix statically link of libgdbr 2014-03-03 19:09:40 +01:00
pancake
ffa6f94ff2 Fix linkage of gdbr on w32 2014-03-03 18:57:21 +01:00
pancake
43698310e4 Fix new shlr/gdb linkage 2014-03-03 18:28:08 +01:00
defragger
0404623595 added libgdbr sources to shlr folder
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:29 +01:00