summaryrefslogtreecommitdiff
path: root/deb.c
Commit message (Collapse)AuthorAgeFilesLines
* si_names access one past the end.Jarkko Hietaniemi2014-05-291-1/+3
| | | | Fix for Coverity perl5 CID 45359.
* Omnibus removal of register declarationsKarl Williamson2012-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes most register declarations in C code (and accompanying documentation) in the Perl core. Retained are those in the ext directory, Configure, and those that are associated with assembly language. See: http://stackoverflow.com/questions/314994/whats-a-good-example-of-register-variable-usage-in-c which says, in part: There is no good example of register usage when using modern compilers (read: last 10+ years) because it almost never does any good and can do some bad. When you use register, you are telling the compiler "I know how to optimize my code better than you do" which is almost never the case. One of three things can happen when you use register: The compiler ignores it, this is most likely. In this case the only harm is that you cannot take the address of the variable in the code. The compiler honors your request and as a result the code runs slower. The compiler honors your request and the code runs faster, this is the least likely scenario. Even if one compiler produces better code when you use register, there is no reason to believe another will do the same. If you have some critical code that the compiler is not optimizing well enough your best bet is probably to use assembler for that part anyway but of course do the appropriate profiling to verify the generated code is really a problem first.
* update the editor hints for spaces, not tabsRicardo Signes2012-05-291-2/+2
| | | | | This updates the editor hints in our files for Emacs and vim to request that tabs be inserted as spaces.
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2008-11-021-2/+4
| | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698
* Update copyright years.Nicholas Clark2008-10-251-2/+2
| | | p4raw-id: //depot/perl@34585
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2008-02-121-0/+7
| | | | | | | | | | | | ability to create landmines that will explode under someone in the future when they upgrade their compiler to one with better optimisation. We've already done this at least twice. (Yes, some of the assertions are after code that would already have SEGVd because it already deferences a pointer, but they are put in to make it easier to automate checking that each and every case is covered.) Add a tool, checkARGS_ASSERT.pl, to check that every case is covered. p4raw-id: //depot/perl@33291
* Move retop first in structs block_sub, block_format and block_eval.Nicholas Clark2008-01-201-2/+1
| | | | | This simplifies some code in Perl_deb_stack_all(). p4raw-id: //depot/perl@33016
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-2/+2
| | | p4raw-id: //depot/perl@32237
* misc blead stuffJarkko Hietaniemi2007-08-301-3/+2
| | | | | Message-ID: <46D617B5.3000002@iki.fi> p4raw-id: //depot/perl@31765
* Display the process id as part of the trace output if running with -DvNicholas Clark2007-01-241-4/+9
| | | | | | (Might be nice to display the thread ID too under ithreads, but I can't see a clean way to get that) p4raw-id: //depot/perl@29960
* g++ stage 1 reachedJarkko Hietaniemi2006-08-081-3/+1
| | | | | Message-ID: <44D7AA6B.4040802@iki.fi> p4raw-id: //depot/perl@28674
* g++ large patchJarkko Hietaniemi2006-08-071-1/+3
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-2/+2
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* unused context warningsAndy Lester2006-02-241-0/+5
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-4/+2
| | | p4raw-id: //depot/perl@27238
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-1/+3
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Update copyright years (including some years where we made changes butNicholas Clark2006-01-081-1/+1
| | | | | did not update) p4raw-id: //depot/perl@26732
* sprinkle dVARJarkko Hietaniemi2006-01-061-0/+5
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-2/+3
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Cleaning up some warnings generated by "gcc -W"Steve Peters2005-11-191-0/+11
| | | p4raw-id: //depot/perl@26175
* Consting and localizing: Part LXVIIIAndy Lester2005-11-071-7/+6
| | | | | Message-ID: <20051104211256.GA12651@petdance.com> p4raw-id: //depot/perl@26028
* Post-YAPC consting, now with an attachment!Andy Lester2005-07-041-1/+1
| | | | | Message-ID: <20050703233156.GA20967@petdance.com> p4raw-id: //depot/perl@25067
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-1/+9
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+1
| | | p4raw-id: //depot/perl@24106
* Third consting batchAndy Lester2005-03-241-8/+3
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More consting goodnessAndy Lester2005-03-211-1/+1
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* Add comment to top of reentr.c and fix typos in other filesDave Mitchell2004-08-011-2/+2
| | | p4raw-id: //depot/perl@23180
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+5
| | | p4raw-id: //depot/perl@23176
* remove the return stack PL_retstack, and store return ops in the CXDave Mitchell2004-07-231-9/+8
| | | | | structure directly instead p4raw-id: //depot/perl@23156
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Reverse copyright update (#18801) for files not changed in 2003.Hugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18807
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-7/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* #17842 was only half the storyDave Mitchell2002-09-041-1/+1
| | | | | | Subject: [PATCH deb.c] Re: HiRes failure is success? Message-ID: <20020904161115.E27603@fdgroup.com> p4raw-id: //depot/perl@17843
* printf argument mismatch in Perl_deb_stack_all() from change #17718Hugo van der Sanden2002-09-041-1/+1
| | | | | p4raw-link: @17718 on //depot/perl: d672126634c5e568812ed35d4c8ea53a9a55ee4c p4raw-id: //depot/perl@17842
* add verbose stack display option, -DvsDave Mitchell2002-08-121-24/+201
| | | | | Message-id: <20020805005533.B26111@fdgroup.com> p4raw-id: //depot/perl@17718
* Debugging OPsIlya Zakharevich2002-03-031-2/+5
| | | | | | Message-Id: <20020302054958.A5511@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14956
* CopFILE / MacPerl_MPWFileNameChris Nandor2002-02-081-1/+1
| | | | | Message-ID: <pudge-10FC3D.16314108022002@onion.valueclick.com> p4raw-id: //depot/perl@14608
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-4/+4
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-3/+0
| | | p4raw-id: //depot/perl@7984
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-1/+0
| | | p4raw-id: //depot/perl@5540
* set SvUTF8 on vectors only if there are chars > 127; update copyrightGurusamy Sarathy2000-02-061-1/+1
| | | | | years (from Gisle Aas) p4raw-id: //depot/perl@5009
* cloning the stack (part 1)Gurusamy Sarathy1999-11-151-1/+1
| | | p4raw-id: //depot/perl@4588
* macros for COP.cop_filegv accessGurusamy Sarathy1999-11-011-6/+5
| | | p4raw-id: //depot/perl@4505
* Integrate with Sarathy; manual resolve on regcomp.c conflictsJarkko Hietaniemi1999-10-271-12/+0
|\ | | | | | | | | (Ilya's changes won). p4raw-id: //depot/cfgperl@4468
| * remove unused interpreter globalsGurusamy Sarathy1999-10-241-12/+0
| | | | | | p4raw-id: //depot/perl@4448
* | More printf-fixes (see also #4426).Jarkko Hietaniemi1999-10-231-11/+15
|/ | | p4raw-id: //depot/cfgperl@4429