Skip to content

Commit

Permalink
Merge pull request #39 from pspdev/clarify-gdb-debugging
Browse files Browse the repository at this point in the history
Crarify GDB debugging in README
  • Loading branch information
sharkwouter authored Jan 11, 2024
2 parents d8c8192 + f925d23 commit 7d6d28c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Let's get started:

### Preparation

Prepare a separate terminal for `usbhostfs_pc`, `pspsh` and `psp-gdb`. Open all of them in the directory in which your compiled `.prx` and `.elf` files are located.
Prepare a separate terminal for `usbhostfs_pc`, `pspsh` and `psp-gdb`. Open all of them in the directory in which your compiled `.prx` and the `elf` (PSP binary) files are located.

### 1. usbhostfs_pc

Expand All @@ -132,12 +132,12 @@ It means the debuggee is succesfully loaded. You can type `reset` if there's som

### 3. psp-gdb

Run `psp-gdb file -q` on your terminal dedicated for `psp-gdb` and you will see something like this:
In a new terminal run `psp-gdb file -q` and you will see something like this:

> You need to replace `file` with an elf file you need to debug. They have the same name as your loaded `.prx` file in the pspsh.
> You need to replace `file` with the elf file of the program you're trying to debug. It has the same name as the file loaded in pspsh, but without the `.prx` ending.
```sh
Reading symbols from <filename>...
Reading symbols from <file>...
(gdb)
```
> `<filename>` is the name of your current debuggee.
Expand Down

0 comments on commit 7d6d28c

Please sign in to comment.