This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/16439] New: rbreak . gives "unmatched quote" on Firefox


https://sourceware.org/bugzilla/show_bug.cgi?id=16439

            Bug ID: 16439
           Summary: rbreak . gives "unmatched quote" on Firefox
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: techmeology.co.uk at gmail dot com
              Host: Linux Atlantis 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20
                    19:39:00 CET 2013 x86_64 GNU/Linux

Using rbreak . on a debug build of Firefox results in an "unmached quote"
error. This error does not occur on other (admittedly simpler) examples I've
tried. Unlike other similar bugs I've found when searching, this does not
appear to be an error parsing the command itself, but rather a consequence of
the symbols in the executable GDB is run on.

test.gdb:
set pagination off 
rbreak .


Command run: gdb -x ~/gdb/test.gdb --args
asan-firefox-build/mozilla-release/objdir-ff-asan/dist/bin/firefox

Last few lines of gdb output:
Breakpoint 286 at 0x41f38e: file
/mnt/sdb1/home/sandbox/asan-firefox-build/mozilla-release/mfbt/decimal/Decimal.cpp,
line 450.
WebCore::Decimal WebCore::Decimal::operator/(WebCore::Decimal const&) const;
Breakpoint 287 at 0x41f716: file
/mnt/sdb1/home/sandbox/asan-firefox-build/mozilla-release/mfbt/decimal/Decimal.cpp,
line 320.
WebCore::Decimal &WebCore::Decimal::operator/=(WebCore::Decimal const&);
/home/sandbox/gdb/test.gdb:2: Error in sourced command file:
unmatched quote
(gdb) 


Steps to reproduce:
* Compile an ASAN build of Firefox using LLVM
* Run it under gdb as above

You should see the unmached quote error.
I would expect breakpoints to be created without error.

GDB version: GNU gdb (GDB) 7.6.2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]