FreeBSD Bugzilla – Attachment 145702 Details for
Bug 192608
[MAINTAINER] devel/gdb thread support fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch to fix Thread support in gdb
gdb.diff (text/plain), 674 bytes, created by
luca.pizzamiglio
on 2014-08-12 09:11:58 UTC
(
hide
)
Description:
The patch to fix Thread support in gdb
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2014-08-12 09:11:58 UTC
Size:
674 bytes
patch
obsolete
>Index: files/fbsd-threads.c >=================================================================== >--- files/fbsd-threads.c (revision 364688) >+++ files/fbsd-threads.c (working copy) >@@ -1502,14 +1502,14 @@ > ps_pglobal_lookup (struct ps_prochandle *ph, const char *obj, > const char *name, psaddr_t *sym_addr) > { >- struct minimal_symbol *ms; >+ struct bound_minimal_symbol ms; > CORE_ADDR addr; > >- ms = lookup_minimal_symbol (name, NULL, NULL).minsym; >- if (ms == NULL) >+ ms = lookup_minimal_symbol (name, NULL, NULL); >+ if (!ms.minsym) > return PS_NOSYM; > >- *sym_addr = ms->mginfo.value.address; >+ *sym_addr = BMSYMBOL_VALUE_ADDRESS (ms); > return PS_OK; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
luca.pizzamiglio:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 192608
: 145702