Re: Printing the messages through printk while using Xwindows.

From: Russell King (rmk@arm.linux.org.uk)
Date: Fri Jul 28 2000 - 14:34:16 EST


Tigran Aivazian writes:
> And that controlling terminal is accessible in the way I described (as I
> am sure you know). I think you were slightly misunderstanding the question
> the original poster asked. When you debug your module in a shell running
> inside xterm you want debug messages in the terminal and not in some other
> window or in the root, right?

Agreed.

However, the success of it depends what he's debugging. If its a module
which runs solely with the current processes context, then yes, it'd work.
Anything more complex, and it won't.

Since he said he's debugging a driver, its reasonable to assume that some
of it doesn't run in the current processes context, and therefore
using this method to display debug messages is likely to be fragile.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:29 EST