summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/GdbStub
diff options
context:
space:
mode:
authorRonald Cron <ronald.cron@arm.com>2014-08-26 10:14:17 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-26 10:14:17 +0000
commit91c38d4e94c1461f5824b83d3722fe46626aa0d3 (patch)
treef4b2ff35fa1748508bfb58439eaabe4ef0ee7bcd /EmbeddedPkg/GdbStub
parent5c670b2119f85bebacd0b1f5c1c84a831ffd5352 (diff)
downloadedk2-91c38d4e94c1461f5824b83d3722fe46626aa0d3.tar.gz
edk2-91c38d4e94c1461f5824b83d3722fe46626aa0d3.tar.bz2
edk2-91c38d4e94c1461f5824b83d3722fe46626aa0d3.zip
ARM Packages: Replace tabs by spaces for indentation
Replace tabs by spaces for indentation to comply to EDK2 coding standards. Done in files with extension ".S", ".c", ".h", ".asm", ".dsc", ".inc", "*.inf", "*.dec" or ".fdf" and located in ArmPkg, ArmPlatformPkg, EmbeddedPkg, BeagleBoardPkg or Omap35xxPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15901 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/GdbStub')
-rw-r--r--EmbeddedPkg/GdbStub/Arm/Processor.c4
-rw-r--r--EmbeddedPkg/GdbStub/GdbStubInternal.h2
-rw-r--r--EmbeddedPkg/GdbStub/Ia32/Processor.c4
-rw-r--r--EmbeddedPkg/GdbStub/X64/Processor.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/EmbeddedPkg/GdbStub/Arm/Processor.c b/EmbeddedPkg/GdbStub/Arm/Processor.c
index 80803b2d91..96b4f570c4 100644
--- a/EmbeddedPkg/GdbStub/Arm/Processor.c
+++ b/EmbeddedPkg/GdbStub/Arm/Processor.c
@@ -398,7 +398,7 @@ LIST_ENTRY BreakpointList;
/**
Insert Single Step in the SystemContext
- @param SystemContext Register content at time of the exception
+ @param SystemContext Register content at time of the exception
**/
VOID
AddSingleStep (
@@ -429,7 +429,7 @@ AddSingleStep (
/**
Remove Single Step in the SystemContext
- @param SystemContext Register content at time of the exception
+ @param SystemContext Register content at time of the exception
**/
VOID
RemoveSingleStep (
diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h
index 659be6b38f..521c3442e0 100644
--- a/EmbeddedPkg/GdbStub/GdbStubInternal.h
+++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h
@@ -272,7 +272,7 @@ CheckIsa (
VOID
GdbSendTSignal (
IN EFI_SYSTEM_CONTEXT SystemContext,
- IN UINT8 GdbExceptionType
+ IN UINT8 GdbExceptionType
);
diff --git a/EmbeddedPkg/GdbStub/Ia32/Processor.c b/EmbeddedPkg/GdbStub/Ia32/Processor.c
index a4c4ded0c0..bd94b31109 100644
--- a/EmbeddedPkg/GdbStub/Ia32/Processor.c
+++ b/EmbeddedPkg/GdbStub/Ia32/Processor.c
@@ -316,7 +316,7 @@ WriteNthRegister (
// check if this is a valid Register Number
if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) {
- SendError (GDB_EINVALIDREGNUM);
+ SendError (GDB_EINVALIDREGNUM);
return;
}
InBufPtr++; // skips the '=' character
@@ -344,7 +344,7 @@ WriteGeneralRegisters (
// check to see if the buffer is the right size which is
// 1 (for 'G') + 16 (for 16 registers) * 8 ( for 8 hex chars each) = 129
if (AsciiStrLen(InBuffer) != 129) { // 16 regs, 8 hex chars each, and the end '\0' (escape seq)
- //Bad message. Message is not the right length
+ //Bad message. Message is not the right length
SendError (GDB_EBADBUFSIZE);
return;
}
diff --git a/EmbeddedPkg/GdbStub/X64/Processor.c b/EmbeddedPkg/GdbStub/X64/Processor.c
index 8a39c4828f..cbe50d78ec 100644
--- a/EmbeddedPkg/GdbStub/X64/Processor.c
+++ b/EmbeddedPkg/GdbStub/X64/Processor.c
@@ -285,7 +285,7 @@ WriteNthRegister (
// check if this is a valid Register Number
if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) {
- SendError (GDB_EINVALIDREGNUM);
+ SendError (GDB_EINVALIDREGNUM);
return;
}
InBufPtr++; // skips the '=' character