Skip to content

Commit

Permalink
Adjusted some whitespace and vertical alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
soh-cah-toa committed Jun 7, 2011
1 parent 15e440e commit 3c8ead4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion frontend/hbdb/main.c
Expand Up @@ -58,7 +58,7 @@ Entry point of C<hbdb>.
int
main(int argc, const char *argv[])
{
char *file;
const char *file;
int status;
struct longopt_opt_info opt = LONGOPT_OPT_INFO_INIT;

Expand Down Expand Up @@ -96,9 +96,12 @@ main(int argc, const char *argv[])
fail(interp);
}

/* FIXME Make this assignment "const-correct" */
/* Get filename */
file = argv[argc - 1];

welcome();

/* Load bytecode */
if (file) {
load_bytecode(interp, file, &pbc);
Expand Down Expand Up @@ -261,6 +264,7 @@ static void
welcome(void)
{
puts("HBDB: The Honey Bee Debugger");
puts("Copyright (C) 2001-2010, Parrot Foundation.\n");
puts("Enter \"h\" or \"help\" for help or see docs/hbdb.pod for further information");
}

Expand Down
14 changes: 7 additions & 7 deletions include/parrot/hbdb.h
Expand Up @@ -27,13 +27,13 @@
typedef struct hbdb_breakpoint hbdb_breakpoint;

typedef struct hbdb_breakpoint {
unsigned long id;
opcode_t *pc;
unsigned long line;
long skip;
/*hbdb_condition_t *condition;*/
hbdb_breakpoint *prev;
hbdb_breakpoint *next;
unsigned long id;
opcode_t *pc;
unsigned long line;
long skip;
/*hbdb_condition_t *condition;*/
hbdb_breakpoint *prev;
hbdb_breakpoint *next;
} hbdb_breakpoint_t;

/* Type: hbdb_t
Expand Down

0 comments on commit 3c8ead4

Please sign in to comment.