Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96011
b: refs/heads/master
c: 688b744
h: refs/heads/master
i:
  96009: 4a32423
  96007: d46ff86
v: v3
  • Loading branch information
Harvey Harrison authored and Jason Wessel committed May 5, 2008
1 parent 47f3fc0 commit b9cc367
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7cfcd985d36031459cc64e3843ea36a4d801097d
refs/heads/master: 688b744d8bc84dc5cc646e97509113dc5e8818ed
4 changes: 3 additions & 1 deletion trunk/include/linux/kgdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,12 @@ struct kgdb_io {

extern struct kgdb_arch arch_kgdb_ops;

extern unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs);

extern int kgdb_register_io_module(struct kgdb_io *local_kgdb_io_ops);
extern void kgdb_unregister_io_module(struct kgdb_io *local_kgdb_io_ops);

extern int kgdb_hex2long(char **ptr, long *long_val);
extern int kgdb_hex2long(char **ptr, unsigned long *long_val);
extern int kgdb_mem2hex(char *mem, char *buf, int count);
extern int kgdb_hex2mem(char *buf, char *mem, int count);

Expand Down
8 changes: 4 additions & 4 deletions trunk/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct kgdb_state {
int err_code;
int cpu;
int pass_exception;
long threadid;
unsigned long threadid;
long kgdb_usethreadid;
struct pt_regs *linux_regs;
};
Expand Down Expand Up @@ -146,7 +146,7 @@ atomic_t kgdb_cpu_doing_single_step = ATOMIC_INIT(-1);
* the other CPUs might interfere with your debugging context, so
* use this with care:
*/
int kgdb_do_roundup = 1;
static int kgdb_do_roundup = 1;

static int __init opt_nokgdbroundup(char *str)
{
Expand Down Expand Up @@ -438,7 +438,7 @@ int kgdb_hex2mem(char *buf, char *mem, int count)
* While we find nice hex chars, build a long_val.
* Return number of chars processed.
*/
int kgdb_hex2long(char **ptr, long *long_val)
int kgdb_hex2long(char **ptr, unsigned long *long_val)
{
int hex_val;
int num = 0;
Expand Down Expand Up @@ -709,7 +709,7 @@ int kgdb_isremovedbreak(unsigned long addr)
return 0;
}

int remove_all_break(void)
static int remove_all_break(void)
{
unsigned long addr;
int error;
Expand Down

0 comments on commit b9cc367

Please sign in to comment.