aboutsummaryrefslogtreecommitdiff
path: root/gdb/gmalloc.c
AgeCommit message (Collapse)AuthorFilesLines
1992-02-22* Check in Fred Fish's changes in these modules. FredJohn Gilmore1-3/+3
will make ChangeLog entries for all of them.
1991-12-08Use macros to hide some of the ugly casting required in the previouslyFred Fish1-5/+14
applied fix for pointers with the high bit set.
1991-12-07* gmalloc.c: Fix bug that causes malloc & free toJohn Gilmore1-4/+4
fail on systems where pointers have the high bit set (0x800efcf0 for example). The problem is that the difference between two pointers is a signed integer, so the computation (char *) 0x800efcf0 - (char *) 0 yields a negative value. The sign of the result of the modulus operator is machine dependent for negative operands, thus it is possible for it to end up negative. From Fred Fish.
1991-11-13Ported to SCO's 3.2v2 system.Sean Eric Fagan1-8/+6
1991-11-04 * infrun.c: Fixed typo in comment.Per Bothner1-1/+1
* utils.c: All the v*fprintf emulation is now in libiberty, so we can get rid of some junk. * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * gmalloc.c: Fix prototype of memcpy. * elfread.c: Comment out register_addr, since it conflicts with the one in coredep.c. * buildsym.h: Remove extern declarations of two functions that are really static in buildsym.c. * tm-mips.h: Add symbolic names for more registers. * mips-xdep.c (store_inferior_registers): Use new register names. * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now only used for core files, not ptrace. Therefore, the KERNEL_U_ADDR hack is no longer needed. The mapping to ptrace number is now in in mips-xdep.c. * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the mapping from the old REGISTER_U_ADDR), and use it in {fetch,store}_inferior_registers. * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): Save/restore FP regs correctly (?). * dbxread.c: Remove duplicate define_symbol and type_synonym_name (these had been previously moved to buildsym.c). Hence, define_symbol becomes extern instead of static. * buildsym.c (read_struct_type): Comment out bogus handling of C++ operator methods. Minor hacking of reading of class contexts. Make define_symbol non-static, so dbxread.c can call it.
1991-06-04Change GDB over to GNU General Public License version 2.John Gilmore1-97/+97
1991-04-26 gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.Jim Kingdon1-0/+5
* gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.
1991-04-24 * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.Jim Kingdon1-0/+33
1991-03-28Johns releaseK. Richard Pixley1-0/+1116