[Pdbg] [PATCH v2 0/7] Overhaul target selection

Amitay Isaacs amitay at ozlabs.org
Fri Jun 1 16:30:43 AEST 2018


Re-implement parse_list() to return flags rather than indices.
This avoids potential overflows and the need to do any sorting and
unique ids identification.

For testing add core and thread targets in the fake backend and also in
the fake device tree.  This should help to test by hand till I figure
out how to add tests.

Fix dtc warnings missed by not cleaning p9-fsi.dtsi.  Thanks Joel.
Add missing dependency for p9-fsi.dtsi.

Fix bug in option parsing found by Rashmica.

Amitay Isaacs (7):
  main: Overhaul target selection
  main: Print specific errors for invalid arguments
  main: Print specific errors for invalid commands
  fake.dts: Add more targets for testing
  fake: Add fake targets for testing
  dts: Fix more warnings from dtc
  Makefile: Add dependencies for p9-fsi.dtsi

 Makefile.am    |   1 +
 fake.dts.m4    | 121 ++++++++++++++++++++++++++++-----
 libpdbg/fake.c |  18 +++++
 p8-fsi.dts.m4  |   4 +-
 p8-i2c.dts.m4  |   2 +
 p9-fsi.dtsi.m4 |   6 ++
 src/main.c     | 179 ++++++++++++++++++++++++++++++++++++-------------
 7 files changed, 267 insertions(+), 64 deletions(-)

-- 
2.17.0



More information about the Pdbg mailing list