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)
Wed, May 29, 2:29 AM
Unknown Object (File)
Tue, May 28, 7:15 PM
Unknown Object (File)
Wed, May 22, 12:25 PM
Unknown Object (File)
Sun, May 19, 4:07 AM
Unknown Object (File)
Sun, May 19, 2:53 AM
Unknown Object (File)
Sun, May 19, 2:53 AM
Unknown Object (File)
Apr 25 2024, 6:46 PM
Unknown Object (File)
Apr 22 2024, 12:43 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thank you!

sys/ddb/db_lex.c
113

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