This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v5 0/4] OpenRISC gdb port
- From: Stafford Horne <shorne at gmail dot com>
- To: shorne at gmail dot com, gdb-patches at sourceware dot org
- Cc: openrisc at lists dot librecores dot org
- Date: Fri, 17 Mar 2017 14:43:16 +0900
- Subject: [PATCH v5 0/4] OpenRISC gdb port
- Authentication-results: sourceware.org; auth=none
Hello Again,
This is the openrisc port of GDB that has been in openrisc
repositories for a very long time. The main original author
was Jeremy Bennett as can be seen in file copyrights. Others
should also have copyright assignment in place.
This along with the sim patches are the last of what has not
made its way upstream. The patches are based on current gdb
git master branch.
I have run the testsuite and results are as follows:
=== gdb Summary ===
# of expected passes 19364
# of unexpected failures 397
# of expected failures 29
# of known failures 55
# of unresolved testcases 2
# of untested testcases 186
# of unsupported tests 291
-Stafford
--
Changes since v4
* Fixed issue with gdb_assert causing prologue sniffer to abort gdb
on kernel debugs
* Fixed issue with step through delay slot possible SEGV
* Cleaned up a few more comments to be GNU style
Changes since v3
* Updates as per Luis's comments
- comment formatting issues (period then 2 spaces)
- remove spurious newlines
- merged configure.tgt clasues to single
- Fixed typos and grammar in gdb.texinfo
- Removed copyright names from source files (in docs)
- Remove curly braces around single statement if's
- (fyi) I left the casts as I think it keeps code readable
- used XCNEW for tdep init
- Added an example XML target descriptor
* Removed newlines
Changes from v2
* Updates as per Yao's comments
- Fix copyrights, jullien embecosm, remove embecosm
- indentation to use gnu style (i.e. && and || on left)
- Fix comments to use gnu style
- Move some includes around
- Remove constant variables, replace with constants
- Remove doxygen on a few calls
- Have only 1 space between type and var name
- remove todo about 4 const
- do fix *buf checks (use buf != NULL)
- BP_MANIPULATION
- Use the builtin types for reg register functions
- or1k_iterate_over_regset_sections - remove no linux, no cores yet
* Remove unimplements pseudo register functions
* Remove spr commands as we can now get those via `info reg`
Changes from v1
* Merged or1k-tdep.[ch] changes into a single commit
* Futher fixes to change log bringing in history back to 2008
* Fix doc issue on sw_breakpoint_from_kind
Franck Jullien (1):
gdb: Add OpenRISC or1k and or1knd target support
Stafford Horne (3):
gdb: provide openrisc target description XML files.
gdb: testsuite: Add or1k l.nop inscruction
Add gdb for or1k build
configure | 7 -
configure.ac | 7 -
gdb/configure.tgt | 6 +
gdb/doc/gdb.texinfo | 70 +
gdb/features/Makefile | 2 +
gdb/features/or1k.c | 2280 +++++++++++++++++++++++++++++++++
gdb/features/or1k.xml | 2274 ++++++++++++++++++++++++++++++++
gdb/or1k-tdep.c | 1329 +++++++++++++++++++
gdb/or1k-tdep.h | 56 +
gdb/testsuite/gdb.base/bp-permanent.c | 2 +
10 files changed, 6019 insertions(+), 14 deletions(-)
create mode 100644 gdb/features/or1k.c
create mode 100644 gdb/features/or1k.xml
create mode 100644 gdb/or1k-tdep.c
create mode 100644 gdb/or1k-tdep.h
--
2.9.3