or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
How to Debug Using GDB - 張明彥
由於場地問題,第二天我們移動到另一棟大樓啦!議程教室變動請見網站上的議程表。
歡迎來到 https://hackmd.io/@coscup/2019 共筆
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。
為什麼要學 GDB
知道 runtime 的 code flow
觀察資料結構
印出 vector A
好處
常見使用情境
顯示 source code,退出
ctrl + x + a
需要編譯時下
-g
帶上 symbol 才能用印出 dump 當前所有 call stack
Tools
https://hackmd.io/@coscup/Byk9gXxES
投影片
今天的投影片 How to debug using GDB
Q&A
Hi,我是講者大大
如果有還有疑惑,或是那邊覺得我說不清楚的,可以mail到:
aidrifter@gmail.com
相關資料我在hackmd上面有筆記可以參考: AIdrifter CS 浮生筆錄
tags:
COSCUP2019
帶您讀源碼
IE2102
Youtube:
https://www.youtube.com/watch?v=41UR0bWS5h8