dumpstate: Add support to get GSC DEBUG DUMP

In order to get GSC DEBUG DUMP in bugreport zip file, we add a new
console command "./vendor/bin/hw/citadel_updater -D" to retrieve 1KB
GSC DEBUG DUMP for dumpstate.

If so, we could check GSC DEBUG DUMP in dumpstate_board.txt from bugreport.

File: dumpstate_board.txt
------ Citadel VERSION (vendor/bin/hw/citadel_updater -lv) ------
0.0.2/nugget_v0.0.1138-399621c+ 2021-10-07 08:53:24 josephjang
Chip:    Google Dauntless D2 (evt)
Board:   0
RO_A:    0.1.1/17af49b9 ok
RO_B:  * 0.1.1/b0de9d69 ok
RW_A:  * 0.0.2/nugget_v0.0.1138-399621c+ ok
RW_B:    Error

------ Citadel STATS (vendor/bin/hw/citadel_updater --stats) ------
hard_reset_count            1
time_since_hard_reset       335976980
wake_count                  5
time_at_last_wake           335920127
time_spent_awake            50563801
deep_sleep_count            4
time_at_last_deep_sleep     268360610
time_spent_in_deep_sleep    285413177
time_at_ap_reset            11401
time_at_ap_bootloader_done  10939493
PHONE_ON_L: 1
VOL_UP_L: 1
VOL_DN_L: 1
TEMP.RANGE: 39,39
------ GSC DEBUG DUMP (vendor/bin/hw/citadel_updater -D) ------
debug dump start
000007d70605 85 00 0174aa0d 00000000
000007f56df5 85 00 0174aa0d 00000000
0000080212cd 85 00 0174aa0d 00000000
00000b73fe80 85 00 0174aa0d 00000000
debug dump end

------ Section end: gsc ------

Bug: 194113345
Change-Id: I48feabac2bf2b42f8f0b10a396ea066ace67b694
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index e3654e2..de5524e 100644
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -859,6 +859,7 @@
 void DumpstateDevice::dumpGscSection(int fd) {
     RunCommandToFd(fd, "Citadel VERSION", {"vendor/bin/hw/citadel_updater", "-lv"});
     RunCommandToFd(fd, "Citadel STATS", {"vendor/bin/hw/citadel_updater", "--stats"});
+    RunCommandToFd(fd, "GSC DEBUG DUMP", {"vendor/bin/hw/citadel_updater", "-D"});
 }
 
 void DumpstateDevice::dumpTrustySection(int fd) {