Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PHASE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PHASE
Commits
e91ffb22
Commit
e91ffb22
authored
Apr 11, 2011
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaks to bootstrap properly
parent
4fe4f97c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
gdb-rsp.cpp
src/components/gdb-rsp/gdb-rsp.cpp
+1
-1
gdb-serial.cpp
src/components/gdb-rsp/gdb-serial.cpp
+1
-2
main.cpp
src/main.cpp
+4
-1
No files found.
src/components/gdb-rsp/gdb-rsp.cpp
View file @
e91ffb22
...
...
@@ -149,7 +149,7 @@ void GDB_RSP::cmdStatus(const std::string& command) {
void
GDB_RSP
::
cmdQuery
(
const
std
::
string
&
command
)
{
if
(
command
!=
"qSupported"
)
return
;
echo
(
Bits
(
"PacketSize=
8192
"
));
echo
(
Bits
(
"PacketSize=
4000
"
));
}
void
GDB_RSP
::
cmdRegGetAll
(
const
std
::
string
&
str
)
{
...
...
src/components/gdb-rsp/gdb-serial.cpp
View file @
e91ffb22
...
...
@@ -39,8 +39,7 @@ SendQueue::const_iterator GDB_Serial::send(SendQueue::const_iterator i, SendQueu
for
(;
i
!=
end
;
++
i
)
{
if
(
i
->
master
==
&
reset
)
{
tail
=
0
;
buffer
=
"$?#3f"
;
runCommand
();
buffer
.
clear
();
continue
;
}
...
...
src/main.cpp
View file @
e91ffb22
...
...
@@ -159,6 +159,8 @@ int main() {
return
-
1
;
}
std
::
cerr
<<
"Found LM32!"
<<
std
::
endl
;
Arbiter
dev0_ir
(
&
ic
,
false
);
Map
dev0_w
(
&
ic
,
1
,
false
);
Map
dev0_rw
(
&
ic
,
1
,
true
);
...
...
@@ -218,7 +220,8 @@ int main() {
}
signal
(
SIGINT
,
&
trapSIGINT
);
std
::
cerr
<<
"Executing break -- and entering pipe-mode
\n
"
;
std
::
cerr
<<
"Executing break -- and entering pipe-mode"
<<
std
::
endl
;
cbreak
();
while
(
1
)
{
if
(
stop
)
{
cbreak
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment