Closed
Bug 243095
Opened 22 years ago
Closed 22 years ago
a problem when setting a single component in XPCOM_BREAK_ON_LOAD
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 243429
People
(Reporter: eagle.lu, Assigned: dougt)
Details
Attachments
(1 file, 1 obsolete file)
|
584 bytes,
patch
|
dbradley
:
review+
shaver
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040507
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a) Gecko/20040507
If you want to break in some component (shared library) say libxpcom.so
if you using the following gdb command to set the environment XPCOM_BREAK_ON_LOAD:
set env XPCOM_BREAK_ON_LOAD xpcom
and then "run" the program.
gdb will not break after loading the libxpcom.so as you expect.
which you should use: set env XPCOM_BREAK_ON_LOAD "xpcom:" instead
which is very unconevient for developer.
according to the document "http://www.mozilla.org/unix/debugging-faq.html"
we don't need to add a colon at the end if there is only one component we are
interesting.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment on attachment 148038 [details] [diff] [review]
patch v0
Can you give r?
Attachment #148038 -
Flags: review?(dougt)
Attachment #148038 -
Attachment is obsolete: true
The root cause is the implementation of nsCString::Find() has been changed.
Comment on attachment 148039 [details] [diff] [review]
patch v1
Can you give r now?
Attachment #148039 -
Flags: review?(dougt)
Comment on attachment 148039 [details] [diff] [review]
patch v1
Can you give r?
Thanks
Attachment #148039 -
Flags: review?(dougt) → review?(BradleyJunk)
Comment 6•22 years ago
|
||
Comment on attachment 148039 [details] [diff] [review]
patch v1
r=dbradley
Looks fine to me. Did Find use to treat -1 as the beginning?
Attachment #148039 -
Flags: review?(BradleyJunk) → review+
Comment on attachment 148039 [details] [diff] [review]
patch v1
Can you give sr?
Thanks
Attachment #148039 -
Flags: superreview?(shaver)
Comment 9•22 years ago
|
||
Comment on attachment 148039 [details] [diff] [review]
patch v1
sr=shaver
Attachment #148039 -
Flags: superreview?(shaver) → superreview+
Comment 10•22 years ago
|
||
hmm. did bug 243429 fix this? especially in the light of comment 3
| Reporter | ||
Comment 11•22 years ago
|
||
Yes. I have verified that the patch of bug 243429 does solve the problem. So the
patch of this bug is not needed.
Comment 12•22 years ago
|
||
ok, in that case, marking as duplicate of bug 243429
*** This bug has been marked as a duplicate of 243429 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
Attachment #148038 -
Flags: review?(dougt)
You need to log in
before you can comment on or make changes to this bug.
Description
•