Package: gdb Version: 7.1-1+b1 Severity: normal (gdb) help edit Edit specified file or function. With no argument, edits file containing most recent line listed. Editing targets can be specified in these ways: FILE:LINENUM, to edit at that line in that file, FUNCTION, to edit at the beginning of that function, FILE:FUNCTION, to distinguish among like-named static functions. *ADDRESS, to edit at the line containing that address. Uses EDITOR environment variable contents as editor (or ex as default).
Doesn't seem that it does, though: (gdb) edit misprite.c:423 bash: /bin/ex: No such file or directory In any case, could gdb default to sensible-editor instead? - Josh Triplett -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gdb depends on: ii gdbserver 7.1-1+b1 The GNU Debugger (remote server) ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib ii libexpat1 2.0.1-7 XML parsing C library - runtime li ii libncurses5 5.7+20100313-2 shared libraries for terminal hand ii libpython2.6 2.6.5+20100616-1 Shared Python runtime library (ver ii libreadline6 6.1-3 GNU readline and history libraries ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime gdb recommends no packages. Versions of packages gdb suggests: pn gdb-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org