You are not logged in.
Pages: 1
Hey,
I hope this is in the right place. Anyhow, I'm trying to help find out more about a bug in pacman I posted on bug-track. But I'm not sure how to get GDB to do what I want it to do (and yes I've man'd and looked about..:P) Anyhow. What im trying to do is to run pacman in GDB and wait for it to segfault (it will) and do a backtrace. Trouble is I cant seem to get GDB to RUN it.
Any ideas?
Thanks!!
Last edited by DrMikeDuke (2009-08-11 11:23:51)
Workstation: Core i7 2600k | Asus PBZ68-V/GEN3 | 8GB DDR3-2000 | Gainward GLH GTX570 | Velociraptor 300 | AntecSS 850W | Essence ST | Corsair 800D | Win7x64 Pro/Arch LinuxX64
Server: 2x Six-Core AMD Opteron Processor 8439 SE, 64GB DDR2 ECC, Tyan S2932-SI, Areca ARC-1230 Raid, PCP&C 1Kw PSU, LSi FusionMPT Ultra320 SCSI/Tandberg LTO4 Autoloader
Laptop: Alienware M14xR3
Offline
If it's an operation like -Suy that needs to be run as root, make sure that you log in as root first. Then:
gdb pacman
At the prompt:
run -Suy
Offline
If it's an operation like -Suy that needs to be run as root, make sure that you log in as root first. Then:
gdb pacman
At the prompt:
run -Suy
thanks a lot mate. worked like a charm. very easy when you know how hard when you dont
Workstation: Core i7 2600k | Asus PBZ68-V/GEN3 | 8GB DDR3-2000 | Gainward GLH GTX570 | Velociraptor 300 | AntecSS 850W | Essence ST | Corsair 800D | Win7x64 Pro/Arch LinuxX64
Server: 2x Six-Core AMD Opteron Processor 8439 SE, 64GB DDR2 ECC, Tyan S2932-SI, Areca ARC-1230 Raid, PCP&C 1Kw PSU, LSi FusionMPT Ultra320 SCSI/Tandberg LTO4 Autoloader
Laptop: Alienware M14xR3
Offline
Pages: 1