aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-12daily updateAlan Modra1-1/+1
2002-04-112002-04-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz5-11/+29
* gdbserver/linux-low.c (usr_store_inferior_registers): Support registers which are allowed to fail to store. * gdbserver/linux-low.h (linux_target_ops): Likewise. * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. (ppc_cannot_store_register): FPSCR may not be storable. * regformats/reg-ppc.dat: Support FPSCR.
2002-04-11Add support for the fpscr register for Power / PowerPC targets.Kevin Buettner5-8/+54
2002-04-112002-04-11 Michael Snyder <msnyder@redhat.com>Michael Snyder7-108/+125
* configure.in: Autoconfiscate _SYSCALL32 define for solaris. * configure: Regenerate. * config.in: Regenerate. * acconfig.h: Add define for _SYSCALL32. * core-sol2.c: Remove #define _SYSCALL32. * solib-legacy.c: Remove #define _SYSCALL32.
2002-04-112002-02-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
2002-04-112002-02-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
2002-04-11Add 'n' in order to prevent "-n" from being taken as an abbreviation forNick Clifton3-1/+14
"--no-pipeline-knowledge".
2002-04-11Use 'file delete' instead of 'exec rm -f'.Nick Clifton2-1/+6
2002-04-11reorder cmpsd, movsdAlan Modra2-3/+4
2002-04-11Fix thinko in last commit.Richard Sandiford1-1/+1
2002-04-11 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.Richard Sandiford3-13/+23
* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an argument for the precision. (gen_to_words): Update accordingly.
2002-04-11 * i386.h: Add intel mode cmpsd and movsd.Alan Modra2-0/+10
2002-04-112002-04-10 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-0/+9
* gdb.base/ending-run.exp: Fix pattern for Mips targets stepping out of main.
2002-04-11daily updateAlan Modra1-1/+1
2002-04-11*** empty log message ***gdbadmin1-1/+1
2002-04-10* stack.c (select_frame): Cleanup internal error message, do notAndrew Cagney2-2/+8
use %p.
2002-04-10* stack.c (select_frame): Check that selected_frame and theAndrew Cagney4-6/+63
specified level are as expected. * blockframe.c (get_prev_frame): Set the `level' from next_frame. Update copyright. * frame.h (struct frame_info): Add field `level'. Update copyright. Work-in-progress PR gdb/464.
2002-04-10* maint.c (maint_print_section_info): Rename print_section_info.Andrew Cagney5-5/+19
(print_bfd_section_info, print_objfile_section_info): Update. * inferior.h (struct gdbarch): Add opaque declaration. * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. * gdbarch.h: Regenerate.
2002-04-10* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.DJ Delorie2-2/+6
2002-04-10 * as.c (parse_args <OPTION_VERSION>): Use VERSION isAlan Modra3-0/+18
BFD_VERSION_STRING unavailable. * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
2002-04-10 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.Michal Ludvig3-165/+16
(PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. (kernel_u_size): Added. * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
2002-04-10Delete created files upon successful completeion of the test.Nick Clifton2-8/+12
2002-04-10Regernated recently created expected output files using MSVC.Nick Clifton11-10/+25
Set MEMFLAG_PURE by default - bug exposed by regenerated files.
2002-04-102002-04-09 Michael Chastain <mec@shout.net>Michael Chastain2-7/+5
* gdbint.texinfo (Obsolete Conditionals): Remove references to PYRAMID_* macros.
2002-04-102002-04-09 Michael Chastain <mec@shout.net>Michael Chastain3-56/+104
* gdb.c++/local.cc (main): Move call to marker1() inside nested scope so that the nested scope tests will make sense. * gdb.c++/local.exp: Write patterns that actually work with gcc (the HP patterns "were never known to work with gcc"). Keep the old aCC patterns too.
2002-04-10* configure.in: Add *-*-freebsd* configurations.DJ Delorie2-0/+13
2002-04-10 * hashtab.c (higher_prime_number): Use 7 as minimum.Richard Henderson2-32/+52
(find_empty_slot_for_expand): Don't compute hash2 unless needed. (htab_find_slot_with_hash): Likewise.
2002-04-102002-04-04 Jim Ingham <jingham@apple.com>Jim Ingham2-6/+52
* valarith.c (find_size_for_pointer_math): New function, either returns the size for a pointer's target, returns 1 for void *, or errors for incomplete types. (value_add, value_sub): use find_size_for_pointer_math.
2002-04-10daily updateAlan Modra1-1/+1
2002-04-10*** empty log message ***gdbadmin1-1/+1
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-7/+85
* linux-low.c (linux_look_up_symbols): New hook. (linux_target_ops): Add linux_look_up_symbols. * remote-utils.c (decode_address): New function. (look_up_one_symbol): New function. * server.c (handle_query): Call target look_up_symbols hook. * server.h (look_up_one_symbol): Add prototype. * target.h (struct target_ops): Add look_up_symbols hook.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-11/+20
* gdbserver/server.h: Include <string.h> if HAVE_STRING_H. * ChangeLog: Correct paths in last ChangeLog entry.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz12-86/+218
* linux-low.h: Remove obsolete prototypes. (struct linux_target_ops): New. (extern the_low_target): New. * linux-low.c (num_regs, regmap): Remove declarations. (register_addr): Use the_low_target explicitly. (fetch_register): Likewise. (usr_fetch_inferior_registers): Likewise. (usr_store_inferior_registers): Likewise. * linux-arm-low.c (num_regs): Remove. (arm_num_regs): Define. (arm_regmap): Renamed from regmap, made static. (arm_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (arm_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-i386-low.c (num_regs): Remove. (i386_num_regs): Define. (i386_regmap): Renamed from regmap, made static. (i386_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (i386_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-ia64-low.c (num_regs): Remove. (ia64_num_regs): Define. (ia64_regmap): Renamed from regmap, made static. (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (ia64_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-m68k-low.c (num_regs): Remove. (m68k_num_regs): Define. (m68k_regmap): Renamed from regmap, made static. (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (m68k_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-mips-low.c (num_regs): Remove. (mips_num_regs): Define. (mips_regmap): Renamed from regmap, made static. (mips_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (mips_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-ppc-low.c (num_regs): Remove. (ppc_num_regs): Define. (ppc_regmap): Renamed from regmap, made static. (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (ppc_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-s390-low.c (num_regs): Remove. (s390_num_regs): Define. (s390_regmap): Renamed from regmap, made static. (s390_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (s390_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-sh-low.c (num_regs): Remove. (sh_num_regs): Define. (sh_regmap): Renamed from regmap, made static. (sh_cannot_fetch_register): Renamed from cannot_fetch_register, made static. (sh_cannot_store_register): Renamed from cannot_store_register, made static. (the_low_target): New. * linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. (the_low_target): New.
2002-04-092002-04-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-76/+72
* breakpoint.c (clear_command): Rewrite middle section to combine two loops with identical control conditions. Add a cleanup to eliminate a memory leak.
2002-04-09* frame.c (read_relative_register_raw_bytes_for_frame): Do notAndrew Cagney4-101/+29
override FP_REGNUM with frame->fp. Update copyright. * parse.c (num_std_regs, std_regs): Delete. (target_map_name_to_register): Do not search std_regs. Update function description. * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete declarations. Update copyright. Fix PR gdb/251.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-2/+18
* gdbserver/Makefile.in: Add stamp-h target. * gdbserver/configure.in: Create stamp-h. * gdbserver/configure: Regenerated.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz9-40/+407
* gdbserver/inferiors.c: New file. * gdbserver/target.c: New file. * gdbserver/target.h: New file. * gdbserver/Makefile.in: Add target.o and inferiors.o. Update dependencies. * gdbserver/linux-low.c (inferior_pid): New static variable, moved from server.c. (linux_create_inferior): Renamed from create_inferior. Call add_inferior. Return 0 on success instead of a PID. (linux_attach): Renamed from myattach. (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). (linux_thread_alive): Renamed from mythread_alive. (linux_wait): Renamed from mywait. Call clear_inferiors () if the child dies. (linux_resume): Renamed from myresume. Add missing ``return 0''. (regsets_store_inferior_registers): Correct error message. Add missing ``return 0''. (linux_fetch_registers): Renamed from fetch_inferior_registers. (linux_store_registers): Renamed from store_inferior_registers. (linux_read_memory): Renamed from read_inferior_memory. (linux_write_memory): Renamed from write_inferior_memory. (linux_target_ops): New structure. (initialize_low): Call set_target_ops (). * gdbserver/remote-utils.c (unhexify): New function. (hexify): New function. (input_interrupt): Send signals to ``signal_pid''. * gdbserver/server.c (inferior_pid): Remove. (start_inferior): Update create_inferior call. (attach_inferior): Call add_inferior. (handle_query): New function. (main): Call handle_query for `q' packets. * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz13-23/+88
* gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury dependencies. * gdbserver/configure.in: Check for <string.h> * gdbserver/configure: Regenerate. * gdbserver/config.in: Regenerate. * gdbserver/gdbreplay.c: Include needed system headers. (remote_open): Remove strchr prototype. * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. * gdbserver/regcache.c (supply_register): Change buf argument to const void *. (supply_register_by_name): Likewise. (collect_register): Change buf argument to void *. (collect_register_by_name): Likewise. * gdbserver/regcache.h: Add missing prototypes. * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. * gdbserver/server.c (handle_query): New function. (attached): New static variable, moved out of main. (main): Quiet longjmp clobber warnings. * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. * gdbserver/utils.c (error): Remove NORETURN. (fatal): Likewise.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+11
* symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer after the last symbol in a block.
2002-04-092002-04-09 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+5
* gdb.base/attach.exp: Correct target board test.
2002-04-09Add WS_CAPTION dialog style if CAPTION is specified.Nick Clifton5-0/+20
Add testcase.
2002-04-09Don't print empty dialog caption.Nick Clifton5-0/+19
Add testcase.
2002-04-09Fix overlooked sublang shift bug.Nick Clifton5-7/+27
Add testcase.
2002-04-09Set default LANGUAGE to english/us.Nick Clifton9-6/+33
2002-04-09 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting ifJoern Rennecke2-2/+10
symbol_used_in_reloc_p is true.
2002-04-09Compute checksum for PE images.Nick Clifton2-0/+112
2002-04-09Use signature to identify DIALOGEX.Nick Clifton4-14/+32
Add testcase.
2002-04-09Don't add default dialog style when explicit style specified.Nick Clifton5-4/+29
Print style even if it is 0. Add testcase.
2002-04-09"\a" escape (used for right justified key definitions in menus) is encodes asNick Clifton5-1/+21
binary 8.
2002-04-09Fix parsing hex constants in strings. Add test for the fix.Nick Clifton5-6/+24