History

Fix stab debug problem with common section

herman ten brugge committed 3 years ago

Commit 07969201 parent dd691431 file · +2 −1Browse files

Unified · Split

tccdbg.c+2−1
@@ -1958,7 +1958,8 @@ ST_FUNC void tcc_debug_extern_sym(TCCState *s1, Sym *sym, int sh_num, int sym_bi · 1957 unmodified lines
1958 }1958 }
1959 else1959 else
1960 {1960 {
1961 Section *s = s1->sections[sh_num];1961 Section *s = sh_num == SHN_COMMON ? common_section
1962 : s1->sections[sh_num];
1962 CString str;1963 CString str;
1963 1964
1964 cstr_new (&str);1965 cstr_new (&str);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t