This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCHv2 0/2] gdb/tui: Assembler window scrolling fixes
- From: Shahab Vahedi <Shahab dot Vahedi at synopsys dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: Pedro Alves <palves at redhat dot com>, Tom Tromey <tom at tromey dot com>
- Date: Fri, 24 Jan 2020 10:26:06 +0000
- Subject: Re: [PATCHv2 0/2] gdb/tui: Assembler window scrolling fixes
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F30GCSTMOmFGQF6EXTJqwtMGzinTGO5OADQmtYDalEQ=; b=hhLRgvVnHozZ9agpHg7+FDr6WW+kfyHVZRA7zlvpynpTyhXnEBCK4ek8V8QF97qQzjWlQQWg+aGnATL4EuXsu+uJ+9TZqm4LQypUaGlgskky2SvhUmpZsJBd9u5USmOxlVQfSzb3TujBfYa899/eoY3UrTxa76eLWhw5yfvbhy/AX5XhbjMYEYB7IAyP2zKpddVQv8S/YrbRmPkwt0HIe9IpJJvr7256BLHx2ytGruyQDGzvLky/HsbxcKZVCkHGIhu+g74iXCUygfwBCGkXQjLphuH/SrFu8yoi0UDpMa6cyEfFd43HlNG43LteXZvS793uTqoLj9lW2OBamD44rg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a8f6rSodvzFC88YJxGw0x5kblpyerz/rKw8OMdpeCsE1x43jmsBCDsxfhiZw5B1GWjl/Rp2v80d1fyPRwGjHZJ85MXOATJwSM7GbA+nT/F5zvWeaj1iTFpmHhKRz9qMt73WwzoOSiQCZGMDN5bgpqWKmo/xyvuR00Zc22akmU2wUcS5oL0B9qF8b8uqpzxj7M2HmTFjzgsVMy9mAPr9Pk2txMaRP1sWOfiYfB4T2UxJc9tRHXtNLX/ikAdByA/1tKiYReEkD80EdWrwHHM+dfcGfJEuW+yA3VLGQgB99EM0pgOUQd5a+y6A9PT23uIJUArKjqRBZjzfduGGlgBl7pA==
- References: <cover.1578948166.git.andrew.burgess@embecosm.com>,<cover.1579135219.git.andrew.burgess@embecosm.com>
These patches are in now:
gdb/tui: Prevent exceptions from trying to cross readline
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=2f267673f0fdee9287e6d404ecd4f2d29da0d2f2
gdb/tui: asm window handles invalid memory and scrolls better
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=733d0a679536628eb1be4b4b8aa6384de24ff1f1
However, for the record, I must add that I have found one failing
case. That happens when you have a small program that fits in one
window, then you do a page down and reach the end of it. Now, the
page up does not work anymore.
A sample usecase is attached for your amusement. In case you do
not like attachments, just save the base64 code below ...
H4sIAAAAAAAAA+2WbW/bNhDH/db8FAclgGOgsiU/FgI2oEtSb0Aeijh9MSxFQUm0rJUWDZJqZBT9
7jtK8kPWtDXSwu0w/l5YJvk/HsnTiScy5nKqtMuFUMxlWezqPHWpWrgqkoLzNEu6jW/DQ8bDoXn6
46FXPft+2V/T8Psjvzcc+P6o38DRnjdowPAb/e5FrjSVAA01p3MafknHpDrEgg6L2Cf+N+cvzi7P
n+zDBHg0GHw2/sNxbx1/b2Ti38P3BePvfcd9fpb/efxnqVQa9BzDrKBsBITGdGn6GDiRyGZp4oBi
kU5FBmlW9i/oOzZLOSNEsqUUcR6hPSjNliogvwKL5gKc4w+n1xevL6+mH4vjDxd/XJ1PPzoE4LlX
9AYoMnOQkyQO2/AXLCVTCpY0YW4s7jMQWcTgE95s9Jm4LxdSWuRLiAVT2KnhXsh3QLPVQkiGehKz
ME8Sszq0hFQrxmdB7R13Jd8z+dDHkdkjZgVoJhdpRvlaXM4Ej4gp+p3jNBsDEqeKKsUWocmecp0h
DsjVxjEKyI+OfMVe+U8X8WjQefLb/7X873v9Ov/7Y3/QM/nf93yb/4eg2Ukzzfhbtco0LTCFMBNn
aUGaHc0KjY+Ei5A335pT0qR6BKRZCNlktHgG+HPwFgA2gcWmGRY/SSL9R9kr/9ef+yf6+Er++wO/
t63/hmOT/2NvaPP/ENyeT2/NTRb8AuVXnpAjqC59Mjn7Deqh7pLqeVeLLt5lXbxIu3jpJ5IujFoL
wRWZvLq+ua3Efq8/IJOXFy8m07LtsgJaimnYXosrd8bpe0zi8uPTqiScrkSuAV+9FplMK/va/M75
kv2dU4u2M9w5hFDOA3PrExLmKY8DOD4xu213FGken5yetsGNtn3gJn1wxaZDGNHFWducwKavPI8d
ESuwBEIXAZQujAmeWhvHq/23HyqPQOaZWVJdeJw4+N+B+5RzCJmpTnBDMyZTIduk0mxm3loFOLs5
7dJN7W36uLvdKuffZc3RblnzWBlTjuz6X/tbRwuUjFp7h9dIqMQq8/Hl1ipMxgSFki2EZtuttsqi
arMYEf4d54sluDG4l5WXh1vvvPr9+urPACLOaEZI+QhMeG4u2zvh3LX50ZlosVgsFovFYrFYLBaL
xWKxWCwWi8XyffgH4PT6ZQAoAAA=
... and then: base64 -d <saved_code_from_email> > lingering-bug.tgz
Last but not least, I cannot care less about this now, but I wanted it
documented.
Cheers,
Shahab