Skip to content
Stafford Horne edited this page Dec 7, 2016 · 16 revisions

Changes for upstream

Currently tracking on branch or1k-upstream https://github.com/stffrdhrn/binutils-gdb/tree/or1k-upstream

Responses of original patchset

Yao Qi v1

  • squash

Yao Qi v2

  1. Fix copyright message - DONE
  2. Demove doxygen, use fsf comments - DONE
  3. || in front of if statement (gnu coding standard) if ((TYPE_CODE_STRUCT == rv_type ... - DONE
  4. ULONGEST - one space between tmp and variable. - DONE
  5. if (readbuf), if (writebuf) check nulls explicitly if (readbuf != NULL) - DONE
  6. Fix TODO's
  • TODO - fixed const! - DONE (just removed todo, value of 4 is ok)
  • @todo The floating point and vector registers ought to be done as pseudo-registers (or1k_pseudo_register_read, or1k_pseudo_register_write|or1k_register_name)
  1. Has only one breakpoint use typedef BP_MANIPULATION (i386_break_insn) i386_breakpoint; - DONE
  2. lookup_pointer_type -> builtin_type - DONE
  3. or1k_registers_info or1k_registers_info print register contents from frame, not regcache
  4. or1k_registers_info Why is a register no in the g/G packet?
  5. #if 0 removal - DONE
  6. or1k_iterate_over_regset_sections do we need? yes, grep over iterate_over_regset_sections - DONE (removed)
  7. or1k_gdbarch_init what is going on around. tdesc_find_feature, fprintf_unfiltered
  8. or1k_read_spr put special registers to g packet
  9. or1k_info_spr_command explain what we want to do with special purpose registers
  10. *.h remove unused MACROS and DEFINES - DONE (mostly removed many, probably more to go)
pick 74b9efb gdb: add or1k and or1knd target support
pick 2ab6b18 or1k-tdec: Add a check for NULL ptr in or1k_skip_prologue
pick 0d52eea or1k-tdep.c: Add or1k_push_dummy_code an use it.
pick bce1490 target-description: add tdesc_find_register functions
pick d498e3d tdesc: handle arbitrary strings in tdesc_register_in_reggroup_p
pick 91a862f or1k-tdep: set gdbarch num regs to gpr + spr regs
pick da91592 or1k: add target descriptor support
pick faafd06 or1k-tdep.c: change or1k_push_dummy_code stack alignment
pick f63824d or1k: gdb: Silence gcc warning
pick 67ce26a Fixes for things that broke after upstream merge
pick 78333d2 Add gdb for or1k build
pick e9ad71d Apply changes of the last two years
pick fe709fb Add OpenRISC to texinfo menu
# pick 318c08e Add travis file for CI
# pick 77ea44e Travis: Build and install
# pick ff42b3d Add README.md
# pick 6b3c164 Fix travis badge branch in README.md
pick 5f7952c cgen, sim: add rem (remainder) function (needed for OR1K lf.rem.[sd])
pick 684d409 add mul-o1flag, mul-o2flag RTL functions to CGEN
pick de297cc or1k: sim: allow suffix on generated arch.[ch] and cpuall.h
pick e3f9463 or1k: add or1k target to sim
pick 73b6c61 or1k: sim: handle NOP_NOP, NOP_REPORT; add default handler for other NOPS
pick 3c72fec or1k: add sim/or1k/ChangeLog, covering last 2 commits
pick 225bd08 or1k: add NOP_EXIT_SILENT; make simulator print exit code for NOP_EXIT; make newlys exit us
pick a553a79 or1k: fix branching and exceptions in sim
pick 9da1710 or1k: fix typo keeping sim testsuite from running for or1k
pick e2eec2d or1k: regenerate configure files in sim/
pick 98a60c5 or1k: remove erroneous warning message in sim/or1k/or1k.c
pick 748c4cb or1k: fix fl1 in sim
pick 1d90b60 or1k: regenerate sim files
pick b57d042 or1k: add testsuite for or1k sim
# pick c4dff26 or1k: rename all ChangeLog-OR1K files to ChangeLog.or1k  # changelogs moved into commits
pick 2b05bb3 or1k: sim/or1k/sim-if.c: fix segfault when run without arguments
pick d547ffb sim: Add or1ksim support
# pick 3097df4 sim/or1ksim: (sim_complete_command): Make char arguments const. # Or1ksim removed see below
# pick cbd2bb8 or1ksim: Regenerate autoconf files
# pick 3dbbe35 or1ksim: Migrate to the nrun common framework
# pick e2ea014 or1ksim: Fix issue with disable-sim still linking or1ksim
pick 3819664 sim: or1k: Get or1k sim building with latest sim common
pick d48540e sim: or1k: Regenerate cgen files
pick 6127a29 sim: or1k: Regenerate autotool files
# pick 488cfa8 travis: update continuous build to build sim/or1k
# pick 7c9a75a travis: Doesnt need guile, also make config more clear
pick 40fdcde sim: or1k: Implement register store/fetch
pick 8bd62dc sim: or1k: Do trap breakpoint handling
pick e403c45 sim: or1k: Implement fetch/store for ppc and sr
pick f67e368 gdb: testsuite: Add or1k l.nop inscruction
pick 044bcb8 gdb: or1k: Update calling conventions to help pass tests
pick 5ea2682 or1k: Fix whitespace issues and a typo
# pick 72da94c sim: remove or1ksim as we have a gdb native cgen sim now
pick 7db7d93 sim: Remove or1ksim in top level config as or1ksim is gone now  # fix do not combine .travis and code
pick 46ccff1 or1k: sim: add additional stubs for linux build

Travis specific

pick 318c08e Add travis file for CI
pick 77ea44e Travis: Build and install
pick ff42b3d Add README.md
pick 6b3c164 Fix travis badge branch in README.md
pick 488cfa8 travis: update continuous build to build sim/or1k
pick 7c9a75a travis: Doesnt need guile, also make config more clear

Old or1ksim (obsolete)

pick 3097df4 sim/or1ksim: (sim_complete_command): Make char arguments const.
pick cbd2bb8 or1ksim: Regenerate autoconf files
pick 3dbbe35 or1ksim: Migrate to the nrun common framework
pick e2ea014 or1ksim: Fix issue with disable-sim still linking or1ksim
pick 72da94c sim: remove or1ksim as we have a gdb native cgen sim now