Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 2 files changed
  • 0 comments
  • 1 contributor
4  cores/monitor/rtl/gdbstub.rom
@@ -662,7 +662,7 @@ fbfffe88
662 662
 fbfffe7e
663 663
 4c010117
664 664
 2b830048
665  
-3401018f
  665
+34010190
666 666
 54610114
667 667
 2b81004c
668 668
 ba001000
@@ -1030,7 +1030,7 @@ e0001030
1030 1030
 38396162
1031 1031
 63646566
1032 1032
 00000000
1033  
-69f0c80b
  1033
+1f483ad7
1034 1034
 00000000
1035 1035
 00000000
1036 1036
 00000000
2  software/gdbstub/gdbstub.c
@@ -505,7 +505,7 @@ static void cmd_mem_read(void)
505 505
 
506 506
     /* try to read %x,%x */
507 507
     if (hex2int(&ptr, &addr) > 0 && *ptr++ == ',' && hex2int(&ptr, &length) > 0
508  
-            && length < (sizeof(remcom_out_buffer) / 2)) {
  508
+            && length <= sizeof(remcom_out_buffer) / 2) {
509 509
         if (mem2hex((char *)addr, remcom_out_buffer, length) == NULL) {
510 510
             strcpy(remcom_out_buffer, "E14");
511 511
         }

No commit comments for this range

Something went wrong with that request. Please try again.