projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be2a55
)
Change variable scope.
author
Jim Norris
<u17263@att.net>
Wed, 12 Jun 2013 01:42:08 +0000
(20:42 -0500)
committer
Spencer Oliver
<spen@spen-soft.co.uk>
Wed, 12 Jun 2013 14:41:04 +0000
(14:41 +0000)
Change scope of the variable gdb_reg_list_idx from global to module.
Change-Id: Ib8273c0769c11c1d5a338e4711efbddb8e8a0243
Signed-off-by: Jim Norris <u17263@att.net>
Reviewed-on: http://openocd.zylin.com/1441
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/target/dsp563xx.c
patch
|
blob
|
history
diff --git
a/src/target/dsp563xx.c
b/src/target/dsp563xx.c
index a121e8a3fa47984791b728347170e5bcf77ec631..4dfb66edf875091394166adde6b5860bf6075dc2 100644
(file)
--- a/
src/target/dsp563xx.c
+++ b/
src/target/dsp563xx.c
@@
-304,7
+304,7
@@
enum memory_type {
((s & 1) << 16) | ((w & 1) << 15) | ((d & 0x3f) << 8) | (p & 0x3f))
/* the gdb register list is send in this order */
-uint8_t gdb_reg_list_idx[] = {
+
static
uint8_t gdb_reg_list_idx[] = {
DSP563XX_REG_IDX_X1, DSP563XX_REG_IDX_X0, DSP563XX_REG_IDX_Y1, DSP563XX_REG_IDX_Y0,
DSP563XX_REG_IDX_A2, DSP563XX_REG_IDX_A1, DSP563XX_REG_IDX_A0, DSP563XX_REG_IDX_B2,
DSP563XX_REG_IDX_B1, DSP563XX_REG_IDX_B0, DSP563XX_REG_IDX_PC, DSP563XX_REG_IDX_SR,