[Pdbg] [PATCH 00/18] Minor cleanups and improvements to pdbg

Alistair Popple alistair at popple.id.au
Mon May 21 11:33:55 AEST 2018


Thanks Amitay. I've merged these now.

- Alistair

On Wednesday, 16 May 2018 4:17:18 PM AEST Amitay Isaacs wrote:
> The main changes include:
>   - adding a logging api in libpdbg
>   - improving usage output
>   - automatically and conditionally building device-tree headers
> 
> Amitay Isaacs (18):
>   configure: Add configure test for m4 command
>   configure: Add configure test for dtc command
>   Makefile: No need to include Makefile.libfdt
>   libpdbg: Make libpdbg.h self-conained
>   libpdbg: Add logging api
>   libpdbg: Replace PR_PERL with PR_INFO
>   libpdbg: Start using pdbg logging api
>   main: Add -D option to specify debug level
>   main: Print command descriptions in usage
>   main: Shorten usage description for htm subcommand
>   libpdbg: Add new targets at the end of the linked list
>   main: Avoid dumping usage when useful information is printed
>   main: Improve debug output about backends/targets
>   Makefile: Separate the list of device tree sources
>   Makefile: Add rule to generate device tree header file
>   main: Use auto-generated device tree headers
>   gitignore: Ignore device tree header files
>   main: Conditionally build device trees based on arch
> 
>  .gitignore            |  1 +
>  Makefile.am           | 45 +++++++++++++++++++++++--------
>  configure.ac          | 16 +++++++++++
>  generate_dt_header.sh | 24 +++++++++++++++++
>  libpdbg/adu.c         |  1 +
>  libpdbg/bmcfsi.c      |  3 ++-
>  libpdbg/cfam.c        |  4 +--
>  libpdbg/chip.c        |  1 +
>  libpdbg/debug.c       | 59 ++++++++++++++++++++++++++++++++++++++++
>  libpdbg/debug.h       | 32 ++++++++++++++++++++++
>  libpdbg/device.c      |  3 +--
>  libpdbg/htm.c         | 22 +++++++--------
>  libpdbg/i2c.c         |  1 +
>  libpdbg/libpdbg.h     | 16 +++++++++++
>  libpdbg/operations.h  |  3 ++-
>  libpdbg/p8chip.c      |  1 +
>  libpdbg/p9chip.c      |  1 +
>  libpdbg/target.c      |  6 ++---
>  libpdbg/target.h      |  7 -----
>  src/main.c            | 63 ++++++++++++++++++++++++-------------------
>  src/options_arm.c     | 20 +++-----------
>  src/options_def.c     |  4 +--
>  src/options_ppc.c     |  4 +--
>  23 files changed, 247 insertions(+), 90 deletions(-)
>  create mode 100755 generate_dt_header.sh
>  create mode 100644 libpdbg/debug.c
>  create mode 100644 libpdbg/debug.h
> 
> 




More information about the Pdbg mailing list