Software :: Cancel A Breakpoint In Gdb?
Jun 1, 2010Now I'm using gdb to debug my program, I Know i can use "break #num" to set a breakpoint, but how can i cancel a brekpoint.
View 3 RepliesNow I'm using gdb to debug my program, I Know i can use "break #num" to set a breakpoint, but how can i cancel a brekpoint.
View 3 RepliesI have two breakpoint b1 and b2, and I deinfed scripts s1 and s2 to exec at break time. how to make s1 autorun when b1 was hit?
View 1 Replies View RelatedWhen I debug a program with GDB and hit a break point I get:
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=2b25d8329d1aa713a2cc61b5cb701f6f89c78022"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=f05646449077dfbf15d5f78251a3b25e0f955dd9"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
When I install the suggested packages the debuginfo does not match the object files. I get:
warning: the debug information found in "/usr/lib/debug//lib64/libc-2.11.2.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib64/libc-2.11.2.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
The last package is not found. Is this missing from the repositories?
I am having a situation, if some have to fire some command after firing shutdown or init 0.
is there any possibilities to cancel ?shutdown process if yes then how?
one more question: how a computer know that i have to shutdown if a user fire shutdown or init 0(just want to know the actual shutdown process what files the shutdown process calls and how it prevents a user to login (over the network)while shutting down.)
my Fedora 12 does fsck on boot time to time and sometimes it's really annoying having to wait for the check to complete. In Linux Mint pressing <Esc> cancelled the check; however in Fedora this does not work (nor does Ctrl+C nor anything other I've tried). What is the key to cancel the check in Fedora?
View 11 Replies View RelatedWhen I compile a LaTeX document in the terminal like so:
latex document.tex
How do I then abort the process? Ctrl-C doesn't work.
Right now I am trying to fix the problems on my server with daemons not starting.
So I have to try different solutions and reboot.
The problem is that after 28 reboots, fsck kicks in and decides to check 2 TB of data.
Is there a way to cancel this???
It takes forever, and by the time it will be done, I will have forgotten what I was testing.
The issue of daemons not starting becomes even more frustrating when fsck decides that I must take a half an hour break.
So again, how do I cancel the fsck on Ubuntu Server?
Linux/Ubuntu noob here so please be gentle So I own an Ubuntu server (7.10 - "gutsy") which was previously used for my small business. All setup and maintenance of this server was done by an admin who has since moved on and I can't get in touch with.As part of the setup, this admin has somehow setup the server such that whenever I plug in an external HDD (USB) it automatically runs a backup script which copies over a whole bunch of stuff to this drive.I want to cancel/delete this script as this is no longer necessary. Can anyone give me any pointers as to how I could track down where this script is and how to remove it?
View 2 Replies View RelatedI made a mistake on my home server. I installed the eXist xml db, and wrote a bash script so that it would start up when the machine boots up. But now, the server just hangs before the system asks for a user logon, so I can't ssh into the machine, and when I have the monitor and keyboard hooked up to it, it's not letting me logon or cancel the script. Anyway to kill the current running process and get to the logon, so I can delete that bash script?
View 1 Replies View RelatedI used my boot disk in rescue mode to solve this, but I would really like to know how to do this the easy way.
Question: when I am booting up and getting all those "OK" green remarks, how do I cancel a daemon that freezes instead of giving me an ok or failed? I have tried <Ctrl><C> with no joy. I have tried dropping to interactive mode ("I") and bypassing the bad daemon, but interactive mode freezes when I go to start GDM, so no joy there either.
I'm running openSUSE 11.3 with an Intel GM965 on-board video card. After upgrading xorg-x11-server to 7.5_1.9.0-62.2.x86_64 from Index of /repositories/X11:/XOrg/openSUSE_11.3/x86_64 after a suggestion to fix a different problem, I noticed that the screensaver seems to work fine as mentioned above. However, I've noticed now that when the screen starts to dim before applying the actual screensaver I apparently can't cancel the screensaver initiation until after the screen finishes dimming (that is, goes completely black) and the screensaver actually starts. No amount of mouse gestures, clicks or key strokes will cancel the screensaver once the screen starts to dim until the screensaver itself starts running.
View 6 Replies View RelatedI am using Ubuntu 9.10 and am bothered by the sometimes pretty long update progress. sometimes i wish to abort the update-manager, apt-get or synaptics because i need to go, but i think it might break anything. could you advice me how to do it safely, even if some cleaning up is required afterwards?I was just wondering because certainly there is a way to preserve the pre-update condition, e.g. when installing a new kernel. but my guess is, that the installation is postponed to restart then.
View 1 Replies View Relatedmy comp hangs when disk check reaches 91% and pressing C to cancel does nothing. from irc-#ubuntu i was given this "sudo tune2fs -c 0" to cancel all future disk checking but it did not work. my drive is 2 months old.
View 9 Replies View RelatedI am attempting to put a SystemRecoveryCD ISO onto a USB drive by using a shell script that is bundled with the ISO file (usb_inst.sh). When I run this script, I am presenting with a dialog box with a blue background (see attachment) with two options: <OK> and <Cancel>. I am able to switch between the options by using the arrow keys and Tab, but if I try to select an option by pressing Enter, O, or C, a new terminal line appears (as in the attachment), preventing me from selecting anything in the dialog. I feel like I'm not doing something extremely obvious;
View 3 Replies View RelatedHow can I stop and cancel email which are sending? Is there any command? I'm using postfix.
View 2 Replies View Relatedperhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands
View 4 Replies View RelatedIn Fedora 13 64 bit, Ctrl+C does not terminate the running programing in terminal window but in Unbuntu this shortcut key works. If I hit Ctrl+Z, this makes the running program run in background which is something I definitely dont want. what is the shortcut for terminating a program in terminal window? What is the shortcut key for canceling the command I have typed but not run yet no matter where the cursor is in the command ? Ctrl+U works but only if cursor is at the last character of the command.
View 8 Replies View RelatedSometimes I accidentally winkey + middleclick with compiz, which makes the desktop zoom into a small box. So far, every time it happens, I usually just log out, then log back in and it fixed it. Is there a more proper way to return the desktop back to it's normal unmagnified state?
View 2 Replies View RelatedIn order to change the MAC address I do: ifconfig eth0 down hw ether ff:ff:ff:ff:ff:f0 When the ff:ff:ff:ff:ff:f0 is the new MAC address. Now how do I cancel that change and return it to the real MAC address of my NIC?
View 1 Replies View RelatedRecently did a fresh installation of Maverick 10.10.and have hopefully everything including the updates, etc.But...I have the following problems, Not been able to get the "auto-login" to work ...(systems/administration/login screen), and I've unable to switch off the "sleep mode", of which I tried to change in..systems/preferences/power management).
View 1 Replies View RelatedWhen I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?
View 9 Replies View RelatedHaving a little issue with creating a login message banner in RHEL6 that uses two buttons. One for Accept which logs the user in. The second for Cancel which immediately logs the user out. I've modified the /etc/gdm/PostLogin/Default file to have the script, posted below, and it worked perfectly fine in RHEL5. But in 6, when you click Cancel, the user is still able to log in. It even states in the system logs that the user cancelled the login.As you can see, I have the script using the 9th field of the user's env to get the PID, and using the kill command to end the process, which should be logging the user out right away if they click the Cancel button. This works in 5 without issue (though I used -f5 in RHEL5, had to move it to -f9 for RHEL6).
View 4 Replies View Related$ execute_some_long_command <command is executing> <Accidently press middle button that inserts bunch of garbage (including, for example, `rm -Rf ~/*`) into console>
How to let execute_some_long_command finish, but not execute inserted things?
Sometimes I want to keep something in PDF files, so I print to the PDF "printer". However, if I inadvertetnly forget to check the PDF creation and rather take the real printer (which is usually only powered up, when I really want to print something), printing goes to the real printers queue and nothing happens ... until, possibly some sessions later, I want to print something (on paper rather than PDF) and power up the printer.
Then all inadvertent garbage comes first and chances are big, that the printer gets junk during power up or reconnecting the cable to the computer and then the whole thing is wasting even more paper, since escape-sequences sent to the printer get chopped and misunderstood by the printer.
In order to stop this alltogether, I am looking for a mehtod, to automatically flush the whole printing queue every time when I log out of my ubuntu session.
I know, there is a command lpq to tell which print jobs are pending, I also know the command cancel -Umyname -a, but this requests for my password. I want to kill all those incomplete or pending print jobs automatically.
And how do I hook such a command script into the logoff or shutdown sequence?
I am installing SUSE 11.2, and went with the default options, now it reached the point of "Windows Domain Membership". At job I do not remember the right names, so I tried some but I get an error message which says "cannot use the group "WORKGROUP" for Linux authentication", etc.So I would like to avoid windows authentication, but at this point I do not see this option. I can only try domain names or abort the installation. What could I do here in order to finish the installation without windows memebership?
View 2 Replies View RelatedI have lost my ability in KDE Menus to do a shutdown or restart. My only option is to logoff or cancel. This started occurring about 2 weeks ago, possibly 2 KDE workspace updates ago. I have been assuming it would get fixed with an update but so far it has not.
I am running Fedora 10 x86_64, kernel = 2.6.27.7-134.fc10.x86_64, and the KDE version is:
kde-filesystem.noarch 4-20.fc10 installed
kde-settings.noarch 4.1-4.20081031svn.fc10 installed
kde-settings-kdm.noarch 4.1-4.20081031svn.fc10 installed
code....
I have 3 different systems all running the same OS and KDE versions and it is happening on all 3 systems. All systems have the "Offer Shutdown Options" selected in Session Manager. I have even turned this option off, rebooted, and then back on to try to jumpstart it but that did not work.
Additionally, I have tried deleting the contents of the /tmp directory while in single-user mode and also the .kde under my home directory. This made no difference.
Another symptom I am noticing is that any desktop widgets that I create all get moved to the upper left-hand corner of the display whenever I reboot and log back in. Any extra shortcut widgets that I add to the panel are also gone the next time I log in.
Again, these same symptoms are occurring on 3 different machines.
These symptom do not occur after a fresh install of FC 10. It is breaking during one of the yum updates but I have not narrowed it down yet as to which update is causing this to happen.
I am trying to get bash script using zentity to exit if the user presses the cancel or close buttons.The exit codes are working fine; they read 1 or 0 depending on the status but it always assumes 0. This is the portion of the script: PHP Code:
function settings(){
result=$(zenity --height=30 --width=300 --list --checklist --title='Selection'--column=Boxes --column=Selections --column="Options"
[code]...
I was just copying files over to Ubuntu from my USB/Memory Stick Pro Duo, and apparently, I don't have enough space left to copy over files to the desktop/where ever. I had about 1 GB of hard drive left at that time,(on Windows) so I switched over back to Windows and deleted about 9GB worth of stuff. Back on Ubuntu, guessing that didn't work cause I still get the error. But I deleted some space from the Home Folder by viewing hidden files.(only about 35MB) I have a 110 GB C: Drive.
And here is the outcome of "df -h"
Code:
Filesystem Size Used Avail Use% Mounted on
/host/ubuntu/disks/root.disk
3.6G 3.5G 600K 100% /
tmpfs 990M 0 990M 0% /lib/init/rw
varrun 990M 220K 989M 1% /var/run
varlock 990M 0 990M 0% /var/lock
udev 990M 176K 989M 1% /dev
[Code]...
This morning a box that listed my wireless router came up. I usually click cancel and every thing is okay. Early this morning I clicked Delet. and now I have no wireless. In fact when I click on the wireless icon none of the neighbors routers show up.
View 1 Replies View Related