This is the mail archive of the gdb-patches@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]

[patch] Fix BZ#24331 -- set print elem doesn't limit repeated elements correctly


Greetings,

Attached patch fixes https://sourceware.org/bugzilla/show_bug.cgi?id=24331.
I did not add a new test: since existing test already recorded
incorrect behavior, I adjusted it instead.

Thanks,

2019-07-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

        [PR gdb/24331]
        * gdb/valprint.c (generic_printstr): Respect print_max.
        * gdb/testsuite/gdb.python/py-format-string.exp (test_max_elements):
        Adjust.


-- 
Paul Pluzhnikov

Attachment: gdb-bz24331-20190703.txt
Description: Text document


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