Project

General

Profile

Actions

Bug #13751

open

mdb command buffer should be larger

Added by Rich Lowe about 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
mdb - modular debugger
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

In trying to debug ctfmerge of genunix, I can't actually ::run it, because I can't fit all the object files on the command line mdb gives me. It'd be great if that buffer was markedly longer for things like link-editor invocations and this that may have many, many, file arguments.


Related issues

Related to illumos gate - Feature #13750: mdb ::run could support globbingNew

Actions
Actions #1

Updated by Rich Lowe about 2 years ago

Actions #2

Updated by shua ll almost 2 years ago

I could pick this up. What would fit better for mdb: a set max line length using env var or flag, or a buffer that auto-resizes to 2*n? I'd go for the latter but the code as currently written suggests the first. Specifically looking at mdb/mdb_cmdbuf.c uses a confusing mixture of struct field cmd_linelen and defined constant CMDBUF_LINELEN .

Actions

Also available in: Atom PDF