Skip to contentSkip to conversation

uml: resolve symbols in back-traces

PATCH Blaisorblade 3 participants 9 messages Oct 28, 2004 – Oct 29, 2004 1 message not in the archive User-mode Linux (UML)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · On Thursday 28 October 2004 00:27, [email protected] wrote:

From: Chris Wedgwood <[email protected]>

Resolve symbols in back-traces.

---

The idea is right - I already had it in my tree, with some little changes (for instance including the symbol address and so on). So I'll send it reviewed a bit.

I had not yet sent it because there was more critical stuff and because sometimes on panic it does not work yet - this seems to be a missing flush from the UML console drivers :-(, a bit long to solve because currently the locking is broken (a semaphore is used in process context, nothing in interrupt context).

And removing the final Emacs comment is not welcome (I don't care, but Jeff does. If that should be removed, that's a separate problem).

Bye

Signature · 13 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#2 lore raw
Quoted 3 lines · Blaisorblade

And removing the final Emacs comment is not welcome (I don't care, but Jeff does. If that should be removed, that's a separate problem).

the emacs comments are gratuitous and completely pointless, they serve no useful purpose. fwiw in my .emacs i have:

    (defun cw-linux-c-mode ()
      "C mode with adjusted defaults for use with the Linux kernel."
      (interactive)
      (c-mode)
      (c-set-style "linux"))
    (setq auto-mode-alist
	  (append '(("wk/linux.*/.*\\.[ch]$" . cw-linux-c-mode))
		  '(("/usr/src/linux.*/.*\\.[ch]$" . cw-linux-c-mode))
		  auto-mode-alist))

which actually could be cleaned up a bit (it's been hacked over the years and never cleaned up suitably) but the idea is pretty simple

--cw

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#3 lore raw
Quoted 2 lines · [email protected] said:

the emacs comments are gratuitous and completely pointless, they serve no useful purpose. fwiw in my .emacs i have:

Yeah, that's why I acked that particular change.

They're not completely pointless, they just cater to an individual's development environment, and that sort of stuff should be in the environment, and not the code.

Jeff

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#4 lore raw
Quoted 3 lines · Jeff Dike

They're not completely pointless, they just cater to an individual's development environment, and that sort of stuff should be in the environment, and not the code.

unnecessary in the code then, the exception to this perhaps being the compile-command stuff that was (still is?) in some of the network drivers as that really is per-file state

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#8 lore raw
In reply to Chris Wedgwood
Quoted 15 lines · Chris Wedgwood
Quoted 3 lines · Blaisorblade

And removing the final Emacs comment is not welcome (I don't care, but Jeff does. If that should be removed, that's a separate problem).

the emacs comments are gratuitous and completely pointless, they serve no useful purpose. fwiw in my .emacs i have:

(defun cw-linux-c-mode ()
"C mode with adjusted defaults for use with the Linux kernel." (interactive)
(c-mode)
(c-set-style "linux"))
(setq auto-mode-alist
(append '(("wk/linux.*/.*\\.[ch]$" . cw-linux-c-mode))

Quoted 5 lines
    '(("/usr/src/linux.*/.*\\.[ch]$" . cw-linux-c-mode))
    auto-mode-alist))

which actually could be cleaned up a bit (it's been hacked over the years and never cleaned up suitably) but the idea is pretty simple

I mostly agree on this, and thought it myself (I *never* use Emacs, only Vim, but no flames here).

However, let's be kind with Jeff, since he's the UML maintainer. You can be right, but there's also courtesy.

If Jeff says "OK", then someone can submit a separate patch removing all the final comments.

Until then, please don't.

And never mix such unrelated changes in a patch.

Signature · 14 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#9 lore raw
Quoted 2 lines · Blaisorblade

If Jeff says "OK", then someone can submit a separate patch removing all the final comments.

he did

Quoted 1 line

And never mix such unrelated changes in a patch.

idealistically i agree, but doing trivial / obvious cleanups inside other patches is fine if you ask me

it's not like we are mixing semantically different changes

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#7 lore raw
In reply to Jeff Dike
Quoted 11 lines · Jeff Dike
Quoted 2 lines · [email protected] said:

the emacs comments are gratuitous and completely pointless, they serve no useful purpose. fwiw in my .emacs i have:

Yeah, that's why I acked that particular change.

They're not completely pointless, they just cater to an individual's development environment, and that sort of stuff should be in the environment, and not the code.

Jeff

Ok. In fact I already agreed, and I was a bit unconfortable with that. However I'm working on other stuff, so I never worried about that, while seeing you adding such comments lately. I'm also concerned about not stepping on other people toes.

Signature · 13 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#5 lore raw
In reply to Chris Wedgwood
Quoted 8 lines · Chris Wedgwood
Quoted 3 lines · Jeff Dike

They're not completely pointless, they just cater to an individual's development environment, and that sort of stuff should be in the environment, and not the code.

unnecessary in the code then, the exception to this perhaps being the compile-command stuff that was (still is?) in some of the network drivers as that really is per-file state

??? I don't understand you well. If there are compile-commands for emacs, they're broken too - using make namefile.o ARCH=um is the kernel universal solution.

Signature · 13 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#6 lore raw
Quoted 3 lines · Blaisorblade

??? I don't understand you well. If there are compile-commands for emacs, they're broken too - using make namefile.o ARCH=um is the kernel universal solution.

consider a load-able module for uml ... the compile command might be to build and load the module into a running UML instance... for some people that's a pretty nice working module where you dont have to leave your editor to boot/run test things

-------------------------------------------------------
This Newsletter Sponsored by: Macrovision
For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel