mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
commit
4424bcc395
@ -37,7 +37,7 @@ generates machine code without any labels and/or metadata
|
|||||||
|
|
||||||
*Note: a warning may appear when linking, disregard it*
|
*Note: a warning may appear when linking, disregard it*
|
||||||
|
|
||||||
Now examine both "binary" files, `function.o` and `function.bin` using `xdd`. You
|
Now examine both "binary" files, `function.o` and `function.bin` using `xxd`. You
|
||||||
will see that the `.bin` file is machine code, while the `.o` file has a lot
|
will see that the `.bin` file is machine code, while the `.o` file has a lot
|
||||||
of debugging information, labels, etc.
|
of debugging information, labels, etc.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ on Homebrew's repos)
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd /tmp/src
|
cd /tmp/src
|
||||||
curl -O http://ftp.rediris.es/mirror/GNU/gnu/gdb/gdb-7.8.tar.gz
|
curl -O http://ftp.rediris.es/mirror/GNU/gdb/gdb-7.8.tar.gz
|
||||||
tar xf gdb-7.8.tar.gz
|
tar xf gdb-7.8.tar.gz
|
||||||
mkdir gdb-build
|
mkdir gdb-build
|
||||||
cd gdb-build
|
cd gdb-build
|
||||||
|
Loading…
Reference in New Issue
Block a user