Page MenuHomeFreeBSD

ddb: just move cursor when the lexer backs up
ClosedPublic

Authored by rlibby on Feb 17 2021, 6:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 10 2024, 7:39 AM
Unknown Object (File)
Oct 2 2024, 2:20 PM
Unknown Object (File)
Sep 23 2024, 8:27 PM
Unknown Object (File)
Sep 23 2024, 8:22 PM
Unknown Object (File)
Sep 21 2024, 10:55 PM
Unknown Object (File)
Sep 18 2024, 7:19 AM
Unknown Object (File)
Sep 12 2024, 10:29 AM
Unknown Object (File)
Sep 12 2024, 10:29 AM
Subscribers

Details

Summary

Get rid of db_look_char because it's not compatible with db_get_line().
This fixes the following issue:

db> script lockinfo=show alllocks
db> run lockinfo
db:0:lockinfo> how alllocks
No such command; use "help" to list available commands

Reported by: markj

Test Plan
db> script lockinfo=show alllocks
db> script lockinfo

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37086
Build 33975: arc lint + arc unit

Event Timeline

Thank you!

sys/ddb/db_lex.c
114

Convert to an ANSI definition while here?

This revision is now accepted and ready to land.Feb 17 2021, 4:16 PM

markj feedback: ANSI-fy while here

This revision now requires review to proceed.Feb 17 2021, 4:28 PM
This revision is now accepted and ready to land.Feb 17 2021, 4:37 PM