aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-17Initial patches for IA-64 EFI (64-bit PE) support.Jim Wilson4-7/+290
* pe.h (PEP64AOUTHDR): New header for PE+. (PEP64AOUTSZ): New macro. (IMAGE_SUBSYSTEM_UNKNOWN): New macro. (IMAGE_SUBSYSTEM_NATIVE): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined already. * ia64.h: New file.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* gdb.base/help.exp: Update output for add-symbol-file command.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-8/+10
* gdb.texinfo (Files): Update description of add-symbol-file command.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-87/+31
* symfile.h (struct section_addr_info ): Remove fields for special treatment of .text, .data and .bss sections. * solib.c (symbol_add_stub): The special field text_addr is not available anymore. Search for the .text field the hard way. * symfile.c (build_section_addr_info_from_section_table): Don't fill in {text, data, bss}_addr any more. (default_symfile_offsets): Don't use {text, data, bss}_addr fields to fill in section_offsets for objfile. (syms_from_objfile): Don't deal with {text, data, bss}_addr as a special case anymore. (add_symbol_file_command): Ditto.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-45/+21
symfile.c: (symbol_file_command): Remove support for rombug, to simplify code.
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-154/+133
* symfile.c (add_symbol_file_command): Rewrite the arguments processing part. Simplify syntax of command. Remove support for rombug. (_initialize_symfile): Update help message for add-symbol-file command.
2000-04-17Fixed incorrect date on the previous entry.Eli Zaretskii1-1/+1
2000-04-17 * gdb.texinfo (Porting GDB): Don't use @value in the node name, itEli Zaretskii2-1/+6
prevents the build (and is generally a Bad Idea).
2000-04-17 * gdb.texinfo (Protocol): Prevent makeinfo from complaining aboutEli Zaretskii2-8/+15
a comma inside @var. (Command Files): Index markup changes from Dmitry Sivachenko <dima@Chg.RU>.
2000-04-17Fix typo.Alan Modra2-1/+5
2000-04-17Only dump IEEE_FLOAT when defined.Andrew Cagney3-1/+8
2000-04-1764 bit bfd fix.Alan Modra2-4/+14
2000-04-17* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.cAndrew Cagney9-157/+49
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h (BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE), gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR, FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Delete default definition. Handled by gdbarch. * gdbarch.sh: Make multi-arch defaults, defaults for non- multi-arch targets. (REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT, REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION): Provide default/legacy implementation. (REGISTER_NAMES, CALL_DUMMY): Allow legacy definition. * gdbarch.h, gdbarch.c: Re-generate.
2000-04-16*** empty log message ***Jim Blandy1-0/+5
2000-04-16* findvar.c (store_typed_address, extract_typed_address): FixJim Blandy1-2/+2
function names in error messages.
2000-04-16 * Makefile.in (LN_S): Define.Eli Zaretskii3-4/+17
(gdb-cfg.texi, gdb.dvi, links2roff, inc-hist.texinfo): Don't invoke "ln -s" unless it is known to work. * configure.in (AC_PROG_LN_S): Add.
2000-04-16 * config/djgpp/config.sed: Fix the lines which edit clean: andEli Zaretskii2-1/+7
uninstall-info: targets.
2000-04-14* scripttempl/elfppc.sc: Remove.Geoffrey Keating10-492/+141
* emulparams/elf32ppc.sh: Use elf.sc. * emulparams/elf32lppc.sh: Use elf.sc. * emulparams/elf32ppclinux.sh: Use elf.sc. * emulparams/elf32ppcsim.sh: New file. * emulparams/elf32lppcsim.sh: New file. * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. * Makefile.in: Regenerate. * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2000-04-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
2000-04-14Bring IEEE_FLOAT under gdbarch's control.Jim Blandy21-88/+124
* gdbarch.sh (IEEE_FLOAT): New entry. * gdbarch.c, gdbarch.h: Regenerated. * valprint.c (IEEE_FLOAT): Provide a default #definition for this. (print_floating): Use IEEE_FLOAT as if it were an expression; use the code specific to IEEE-format numbers whenever the value of IEEE_FLOAT is non-zero. * config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, config/arc/tm-arc.h, config/arm/tm-arm.h, config/fr30/tm-fr30.h, config/h8300/tm-h8300.h, config/i386/tm-i386.h, config/i960/tm-i960.h, config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, config/sparc/tm-sparc.h, config/delta/tm-delta.h, config/frv/tm-frv.h (IEEE_FLOAT): For all ports that #define IEEE_FLOAT, make sure they give it the value (1).
2000-04-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+17
* common.h (ELFOSABI_NETBSD): Defined. (ELFOSABI_HURD): Likewise. (ELFOSABI_SOLARIS): Likewise. (ELFOSABI_MONTEREY): Likewise. (ELFOSABI_IRIX): Likewise. (ELFOSABI_FREEBSD): Likewise. (ELFOSABI_TRUE64): Likewise.
2000-04-14*** empty log message ***Jim Blandy2-0/+70
2000-04-14* gdbint.texinfo (Pointers Are Not Always Addresses): New manualJim Blandy1-0/+174
section. (Target Conditionals): Document ADDRESS_TO_POINTER, POINTER_TO_ADDRESS.
2000-04-14* gdbarch.sh (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Two newJim Blandy18-69/+256
functions which architectures can redefine, defaulting to generic_pointer_to_address and generic_address_to_pointer. * findvar.c (extract_typed_address, store_typed_address, generic_pointer_to_address, generic_address_to_pointer): New functions. (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER): Provide default definitions. (extract_address, store_address): Doc fixes. * values.c (value_as_pointer): Doc fix. (value_from_pointer): New function. * defs.h (extract_typed_address, store_typed_address): New declarations. * inferior.h (generic_address_to_pointer, generic_pointer_to_address): New declarations. * value.h (value_from_pointer): New declaration. * ax-gdb.c (const_var_ref): Use value_from_pointer, not value_from_longest. * blockframe.c (generic_push_dummy_frame): Use read_pc and read_sp, not read_register. * c-valprint.c (c_val_print): Use extract_typed_address instead of extract_address to extract vtable entries and references. * cp-valprint.c (cp_print_value_fields): Use value_from_pointer instead of value_from_longest to extract the vtable's address. * eval.c (evaluate_subexp_standard): Use value_from_pointer instead of value_from_longest to compute `this', and for doing pointer-to-member dereferencing. * findvar.c (read_register): Use extract_unsigned_integer, not extract_address. (read_var_value): Use store_typed_address instead of store_address for building label values. (locate_var_value): Use value_from_pointer instead of value_from_longest. * hppa-tdep.c (find_stub_with_shl_get): Use value_from_pointer, instead of value_from_longest, to build arguments to __d_shl_get. * printcmd.c (set_next_address): Use value_from_pointer, not value_from_longest. (x_command): Use value_from_pointer, not value_from_longest. * tracepoint.c (set_traceframe_context): Use value_from_pointer, not value_from_longest. * valarith.c (value_add, value_sub): Use value_from_pointer, not value_from_longest. * valops.c (find_function_in_inferior, value_coerce_array, value_coerce_function, value_addr, hand_function_call): Same. * value.h (COERCE_REF): Use unpack_pointer, not unpack_long. * values.c (unpack_long): Use extract_typed_address to produce addresses from pointers and references, not extract_address. (value_from_longest): Use store_typed_address instead of store_address to produce pointer and reference values.
2000-04-142000-04-13 Mark Kettenis <kettenis@gnu.org>Mark Kettenis6-332/+436
* acconfig.h (HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, HAVE_LWPID_T, HAVE_PSADDR_T): Add them here instead of in config.in. * acconfig.h (PRFPREGSET_T_BROKEN): New define. * configure.in: Add check for broken prfpregset_t type. * lin-thread.c (gdb_prfpregset): New typedef, depends on definition of PRFPREGSET_T_BROKEN. (ps_lgetfpregs, ps_lsetfpregs, p_td_thr_getfpregs, p_td_thr_setfpregs, thread_db_fetch_registers, thread_db_store_registers): Use gdb_prfpregset_t instead of prfpregset_t. * config.in: Regenerated. * configure: Regenerated.
2000-04-14More portability patches. Include sysdep.h everywhere.Alan Modra47-256/+317
2000-04-14Portability fixes.Alan Modra6-12/+19
2000-04-14Zero start address of orphan ~(SEC_LOAD | SEC_ALLOC) sections.Alan Modra4-48/+51
2000-04-13Correct previous misapplied patch.Geoffrey Keating1-10/+9
2000-04-13* scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.Geoffrey Keating2-13/+39
Add new BSS_PLT variable for when .plt need not be contained in the file. Move _etext so that it is also after .fini, and provide both etext and _etext with a leading underscore. Mark the start and end of .sbss.
2000-04-13* mips-tdep.c (do_fp_register_row): copy the number of bytesDJ Delorie2-2/+7
allocated, not the size of the pointer.
2000-04-13 * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.Peter Schauer4-4/+102
* config/i386/tm-i386sol2.h (HAVE_I387_REGS): Define. * i386v4-nat.c (supply_fpregset, fill_fpregset): Add code to handle floating point registers if NUM_FREGS is not zero.
2000-04-13 * sol-thread.c (init_sol_core_ops): Initialize to_thread_aliveNicholas Duffek2-0/+11
and document to_find_new_threads bug.
2000-04-13 * infrun.c (proceed, normal_stop): Change the error message aboutEli Zaretskii2-4/+14
failure to insert breakpoints/watchpoints so that it makes sense even if ptrace is not used or no other processes can be active.
2000-04-13Only re-generate copying.c when maintainer mode.Andrew Cagney5-321/+390
2000-04-13IA-64 watchpoint support.Kevin Buettner3-0/+215
2000-04-13* Makefile.in (gdb-taz): New target. GDB specific archive.Andrew Cagney2-18/+57
(do-md5sum): New target. (MD5PROG): Define. (PACKAGE): Default to TOOL. (VER): Default to a shell script. (taz): Rewrite target. Move real work to do-proto-toplev. Include md5 checksum generation. (do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link. (do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link. (gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, insight.tar.bz2): Use gdb-taz to create archive.
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra11-35/+57
Fix a couple of 64 bit nits.
2000-04-12Apply patch to fix compuation of frag offsets for symbolsNick Clifton2-12/+38
2000-04-12Apply Andrew Cagney's patch to fix use of 'struct fix'.Nick Clifton3-3/+16
2000-04-12 * go32-nat.c (go32_insert_hw_breakpoint): When there are no moreEli Zaretskii2-2/+9
hardware breakpoint resources, return EBUSY. (go32_handle_nonaligned_watchpoint): If the argument WHAT is not one of the enumerated values, return EINVAL.
2000-04-12 * README: Mention special build instructions for DJGPP.Eli Zaretskii3-0/+56
* NEWS: Update with FP features on x87 platforms, and DJGPP-related changes.
2000-04-12 * top.c (gdb_completer_file_name_break_characters): New variable.Eli Zaretskii2-0/+19
(line_completion_function): When completing on file names, use gdb_completer_file_name_break_characters as word break characters for the readline library.
2000-04-12Typos fixed (from Dmitry Sivachenko <dima@Chg.RU>).Eli Zaretskii1-7/+2
2000-04-12Add workaround for gcc-2.95.2 failure.Alan Modra2-1/+10
2000-04-12(test4): Test for presence of foo__1B, not absenceAlan Modra2-9/+29
2000-04-12(test4): Delete incorrect foo__1B test. Reformat file.Alan Modra2-37/+36
2000-04-12Keep output orphan sections in the same order as input.Alan Modra4-97/+167
2000-04-12Changelog entry for gdbint.texinfo fixDaniel Berlin1-0/+5
2000-04-12GDB->@value{GDBN}Daniel Berlin1-210/+210