[Pdbg] [PATCH 0/6] Overhaul target selection

Amitay Isaacs amitay at ozlabs.org
Fri May 25 14:52:34 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.

Also, fix dtc warnings missed by not cleaning p9-fsi.dtsi.  Thanks Joel.

Amitay Isaacs (6):
  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

 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 ++++++++++++++++++++++++++++++++++++-------------
 6 files changed, 266 insertions(+), 64 deletions(-)


More information about the Pdbg mailing list