Skip to content

Commit

Permalink
Merge pull request #8 from pulp-platform/misc-config
Browse files Browse the repository at this point in the history
Remove pre-autotools hacks
  • Loading branch information
bluewww authored Mar 10, 2024
2 parents 36d9d38 + af30d04 commit bd48bf6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl SPDX-License-Identifier: Apache-2.0
dnl Author: Robert Balas <[email protected]>
AC_INIT([trdb], [0.1], [[email protected]])
AC_INIT([trdb], [0.2], [[email protected]])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
AC_PROG_CC
AC_PROG_RANLIB
Expand Down
2 changes: 1 addition & 1 deletion include/disassembly.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <inttypes.h>
#include <stdbool.h>

#define PACKAGE "foo" /* quick hack for bfd if not using autotools */
#include "config.h"
#include "bfd.h"
#include "demangle.h"
#include "dis-asm.h"
Expand Down
2 changes: 1 addition & 1 deletion include/trace_debugger.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
extern "C" {
#endif

#define PACKAGE "foo" /* quick hack for bfd if not using autotools */
#include "config.h"
#include <stdbool.h>
#include <inttypes.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/disassembly.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* libbfd. Reuses and changes alot of code from GNU objdump.
*/

#define PACKAGE "foo" /* quick hack for bfd if not using autotools */
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
Expand All @@ -38,6 +37,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "config.h"
#include "filenames.h"
#include "disassembly.h"
#include "disassembly_private.h"
Expand Down
10 changes: 5 additions & 5 deletions src/trdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@

/*
* Author: Robert Balas ([email protected])
* Description: trdb -- trace debugger tools for the PULP platform, compress
* Description: trdb -- Trace Debugger Tools for RISC-V E-Trace, compress
* and decompress instruction traces
*/

#define PACKAGE "foo" /* quick hack for bfd if not using autotools */
#include <stdio.h>
#include <stdlib.h>
#include <argp.h>
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <sys/queue.h>
#include "config.h"
#include "bfd.h"
#include "utils.h"
#include "trace_debugger.h"
Expand All @@ -39,10 +39,10 @@

#define TRDB_NUM_ARGS 1

const char *argp_program_version = "trdb 0.1";
const char *argp_program_bug_address = "<[email protected]>";
const char *argp_program_version = PACKAGE_STRING;
const char *argp_program_bug_address = PACKAGE_BUGREPORT;

static char doc[] = "trdb -- trace debugger tools for the PULP platform";
static char doc[] = "trdb -- Trace Debugger Tools for RISC-V E-Trace";
static char args_doc[] = "TRACE-OR-PACKETS";

#define TRDB_OPT_DEMANGLE 1
Expand Down

0 comments on commit bd48bf6

Please sign in to comment.